Text Generation
Transformers
TensorBoard
Safetensors
gpt_neox
Generated from Trainer
text-generation-inference
Instructions to use elinaparajuli/Etluther-Code-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use elinaparajuli/Etluther-Code-finetuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="elinaparajuli/Etluther-Code-finetuned")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("elinaparajuli/Etluther-Code-finetuned") model = AutoModelForCausalLM.from_pretrained("elinaparajuli/Etluther-Code-finetuned") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use elinaparajuli/Etluther-Code-finetuned with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "elinaparajuli/Etluther-Code-finetuned" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "elinaparajuli/Etluther-Code-finetuned", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/elinaparajuli/Etluther-Code-finetuned
- SGLang
How to use elinaparajuli/Etluther-Code-finetuned 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 "elinaparajuli/Etluther-Code-finetuned" \ --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": "elinaparajuli/Etluther-Code-finetuned", "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 "elinaparajuli/Etluther-Code-finetuned" \ --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": "elinaparajuli/Etluther-Code-finetuned", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use elinaparajuli/Etluther-Code-finetuned with Docker Model Runner:
docker model run hf.co/elinaparajuli/Etluther-Code-finetuned
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 281715176
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3db8484433cd2233a708cb94d57c233bdd09bbe68ef7a54e5f6bd0ee64a997ae
|
| 3 |
size 281715176
|
runs/Apr25_06-56-43_a2d3bda9ed27/events.out.tfevents.1714028204.a2d3bda9ed27.719.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61661225c930a3d57d11e6f664ce1d9aa43ed8a6708e33e09667e2235948b095
|
| 3 |
+
size 5002
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4984
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b69401c3eab6f0a45f6314e5a459b08194a71ba379e26f7eb2215e9f4e32f40
|
| 3 |
size 4984
|