Instructions to use sirmuelemos/pllm_data_syntax with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sirmuelemos/pllm_data_syntax with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="sirmuelemos/pllm_data_syntax")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("sirmuelemos/pllm_data_syntax") model = AutoModelForCausalLM.from_pretrained("sirmuelemos/pllm_data_syntax", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use sirmuelemos/pllm_data_syntax with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "sirmuelemos/pllm_data_syntax" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sirmuelemos/pllm_data_syntax", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/sirmuelemos/pllm_data_syntax
- SGLang
How to use sirmuelemos/pllm_data_syntax 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 "sirmuelemos/pllm_data_syntax" \ --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": "sirmuelemos/pllm_data_syntax", "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 "sirmuelemos/pllm_data_syntax" \ --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": "sirmuelemos/pllm_data_syntax", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use sirmuelemos/pllm_data_syntax with Docker Model Runner:
docker model run hf.co/sirmuelemos/pllm_data_syntax
Commit ·
c470a99
1
Parent(s): 5b9e487
Upload folder using huggingface_hub
Browse files- checkpoint-1000/model.safetensors +3 -0
- checkpoint-1000/training_args.bin +1 -1
- checkpoint-1500/model.safetensors +3 -0
- checkpoint-1500/training_args.bin +1 -1
- checkpoint-500/model.safetensors +3 -0
- checkpoint-500/training_args.bin +1 -1
- pytorch_model.bin +2 -2
- runs/Aug02_21-57-05_93e6e900753a/events.out.tfevents.1691013435.93e6e900753a.324.0 +3 -0
- runs/Aug02_22-03-37_93e6e900753a/events.out.tfevents.1691013817.93e6e900753a.324.1 +3 -0
checkpoint-1000/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1048176f8fb56d0bbec48dd68cef50d4f0fbf51afede391aeeaa72baf776ea1e
|
| 3 |
+
size 497774208
|
checkpoint-1000/training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3963
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5868b5fc7dc4b606022be802f7c0e87e5fe6707efefa6e4b00c74e9f53e86e1
|
| 3 |
size 3963
|
checkpoint-1500/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a80778cd23868d26734f6b7cb0dab92724bfc2feaf5d487256b6cc50c3f6738a
|
| 3 |
+
size 497774208
|
checkpoint-1500/training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3963
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5868b5fc7dc4b606022be802f7c0e87e5fe6707efefa6e4b00c74e9f53e86e1
|
| 3 |
size 3963
|
checkpoint-500/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56fa7088bc00f24063c95c75a1f83436e63d5268200bc34d4573ebd36ed7b09a
|
| 3 |
+
size 497774208
|
checkpoint-500/training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3963
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5868b5fc7dc4b606022be802f7c0e87e5fe6707efefa6e4b00c74e9f53e86e1
|
| 3 |
size 3963
|
pytorch_model.bin
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:8d4c87b447dd5a0cb5a4c98970fc1de035dc5548a34cb57b924e98453d10f097
|
| 3 |
+
size 497805149
|
runs/Aug02_21-57-05_93e6e900753a/events.out.tfevents.1691013435.93e6e900753a.324.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4b4d2daaf94744ba2006d01e98ef69b820695f6da6273832260458f76967bf0
|
| 3 |
+
size 4459
|
runs/Aug02_22-03-37_93e6e900753a/events.out.tfevents.1691013817.93e6e900753a.324.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:342bd046c0e23542f993e6a171c4f2781e3405b4ddb1c7a632ce9b7093439bb5
|
| 3 |
+
size 5126
|