Text Generation
Transformers
TensorBoard
Safetensors
gpt2
Generated from Trainer
text-generation-inference
Instructions to use cphienanda/nqaasksciencemodeling with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cphienanda/nqaasksciencemodeling with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cphienanda/nqaasksciencemodeling")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("cphienanda/nqaasksciencemodeling") model = AutoModelForCausalLM.from_pretrained("cphienanda/nqaasksciencemodeling") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use cphienanda/nqaasksciencemodeling with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cphienanda/nqaasksciencemodeling" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cphienanda/nqaasksciencemodeling", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/cphienanda/nqaasksciencemodeling
- SGLang
How to use cphienanda/nqaasksciencemodeling with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "cphienanda/nqaasksciencemodeling" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cphienanda/nqaasksciencemodeling", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "cphienanda/nqaasksciencemodeling" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cphienanda/nqaasksciencemodeling", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use cphienanda/nqaasksciencemodeling with Docker Model Runner:
docker model run hf.co/cphienanda/nqaasksciencemodeling
Training in progress, step 500
Browse files
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 328693404
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3862748e53702a3c68d2e389c57979b8cca144fc10b3abbf651ae4758d23b058
|
| 3 |
size 328693404
|
runs/Dec05_00-09-04_xtaco/events.out.tfevents.1733386151.xtaco.10680.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f81799a52b8eb3700aae172d15b14de296548827429c154064958b32f873a200
|
| 3 |
+
size 11074
|
runs/Dec05_00-09-04_xtaco/events.out.tfevents.1733386936.xtaco.10680.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9b355bd39197e153046b4b862fe0ee5b93cd0a4d813dc09c3445b38dcbbecd0
|
| 3 |
+
size 359
|
runs/Dec05_16-43-27_xtaco/events.out.tfevents.1733445836.xtaco.8356.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:931c11b536cc28079b7c1a462d43a26bcfe0f69c910d08ac212e8a2f89d532cc
|
| 3 |
+
size 5356
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4847
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07ad1afd081a2d1b0c3592a38e466d6d76856dd6d77038b546e9cfd2df72ace6
|
| 3 |
size 4847
|