Instructions to use saracandu/stldec_random_16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use saracandu/stldec_random_16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="saracandu/stldec_random_16", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("saracandu/stldec_random_16", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use saracandu/stldec_random_16 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "saracandu/stldec_random_16" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "saracandu/stldec_random_16", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/saracandu/stldec_random_16
- SGLang
How to use saracandu/stldec_random_16 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 "saracandu/stldec_random_16" \ --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": "saracandu/stldec_random_16", "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 "saracandu/stldec_random_16" \ --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": "saracandu/stldec_random_16", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use saracandu/stldec_random_16 with Docker Model Runner:
docker model run hf.co/saracandu/stldec_random_16
Commit History
-
Update checkpoint step_98000
Verified signature0959880 -
Update checkpoint step_96000
Verified signature789585e -
Update checkpoint step_94000
Verified signature1d98f5f -
Update checkpoint step_92000
Verified signature08a22ed -
Update checkpoint step_90000
Verified signature7b0713a -
Update checkpoint step_88000
Verified signaturee2ca8c3 -
Update checkpoint step_86000
Verified signature5562b77 -
Update checkpoint step_84000
Verified signatureb46f2c8 -
Update checkpoint step_82000
Verified signature43c1646 -
Update checkpoint step_80000
Verified signature8c2b8ae -
Update checkpoint step_78000
Verified signature4e3175c -
Update checkpoint step_76000
Verified signaturee1d8894 -
Update checkpoint step_74000
Verified signature827fdc1 -
Update checkpoint step_72000
Verified signature1142013 -
Update checkpoint step_70000
Verified signature29ad0c7 -
Update checkpoint step_68000
Verified signatureff85ba8 -
Update checkpoint step_66000
Verified signatured3186a8 -
Update checkpoint step_64000
Verified signaturee9f7e32 -
Update checkpoint step_62000
Verified signatureec8d9d5 -
Update checkpoint step_60000
Verified signature1786017 -
Update checkpoint step_58000
Verified signature27a701d -
Update checkpoint step_56000
Verified signaturecefcf19 -
Update checkpoint step_54000
Verified signatured2a3f5f -
Update checkpoint step_52000
Verified signature9002716 -
Update checkpoint step_50000
Verified signature0cfed91 -
Update checkpoint step_48000
Verified signaturee630fe0 -
Update checkpoint step_46000
Verified signature83ed1c7 -
Update checkpoint step_44000
Verified signature881d0b3 -
Update checkpoint step_42000
Verified signaturedf0fa5a -
Update checkpoint step_40000
Verified signature0d9e8d5 -
Update checkpoint step_38000
Verified signature570c68c -
Update checkpoint step_36000
Verified signature15609b8 -
Update checkpoint step_34000
Verified signature972820d -
Update checkpoint step_32000
Verified signature36a8aa9 -
Update checkpoint step_30000
Verified signaturea8c47da -
Update checkpoint step_28000
Verified signatureba4e5d8 -
Update checkpoint step_26000
Verified signature501143e -
Update checkpoint step_24000
Verified signaturedef28dd -
Update checkpoint step_22000
Verified signatureb0ad039 -
Update checkpoint step_20000
Verified signatureeb82493 -
Update checkpoint step_18000
Verified signature7dc1f50 -
Update checkpoint step_16000
Verified signature935e7fb -
Update checkpoint step_14000
Verified signature39c6acc -
Update checkpoint step_12000
Verified signature7f7538e -
Update checkpoint step_10000
Verified signature5ed307e -
Update checkpoint step_8000
Verified signatureb56b2b2 -
Update checkpoint step_6000
Verified signature2511ffe -
Update checkpoint step_4000
Verified signaturea61cb48 -
Update checkpoint step_2000
Verified signature68bf8e8