Instructions to use saracandu/stldec_random_64 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use saracandu/stldec_random_64 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="saracandu/stldec_random_64", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("saracandu/stldec_random_64", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use saracandu/stldec_random_64 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "saracandu/stldec_random_64" # 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_64", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/saracandu/stldec_random_64
- SGLang
How to use saracandu/stldec_random_64 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_64" \ --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_64", "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_64" \ --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_64", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use saracandu/stldec_random_64 with Docker Model Runner:
docker model run hf.co/saracandu/stldec_random_64
Commit History
-
Update checkpoint step_98000
Verified signaturee9f117d -
Update checkpoint step_96000
Verified signaturec2b0eae -
Update checkpoint step_94000
Verified signaturefeceab8 -
Update checkpoint step_92000
Verified signatured6ee5d5 -
Update checkpoint step_90000
Verified signature3027da8 -
Update checkpoint step_88000
Verified signature2f1f321 -
Update checkpoint step_86000
Verified signature7b24236 -
Update checkpoint step_84000
Verified signaturee03d4de -
Update checkpoint step_82000
Verified signaturef821278 -
Update checkpoint step_80000
Verified signature6ccf310 -
Update checkpoint step_78000
Verified signature49d938a -
Update checkpoint step_76000
Verified signature1184523 -
Update checkpoint step_74000
Verified signatureeccf003 -
Update checkpoint step_72000
Verified signature79c930b -
Update checkpoint step_70000
Verified signature1ca2cf8 -
Update checkpoint step_68000
Verified signature6bf6d4c -
Update checkpoint step_66000
Verified signature48113b9 -
Update checkpoint step_64000
Verified signature0a46ed0 -
Update checkpoint step_62000
Verified signature01a5a20 -
Update checkpoint step_60000
Verified signaturee11157a -
Update checkpoint step_58000
Verified signature9c3ae2b -
Update checkpoint step_56000
Verified signature492108d -
Update checkpoint step_54000
Verified signature1fe0d81 -
Update checkpoint step_52000
Verified signature89ec2f1 -
Update checkpoint step_50000
Verified signature634e893 -
Update checkpoint step_48000
Verified signature393308c -
Update checkpoint step_46000
Verified signature4d94938 -
Update checkpoint step_44000
Verified signature81be764 -
Update checkpoint step_42000
Verified signature5acdde6 -
Update checkpoint step_40000
Verified signature5b6f32a -
Update checkpoint step_38000
Verified signature8b11603 -
Update checkpoint step_36000
Verified signature0b13c11 -
Update checkpoint step_34000
Verified signaturea048ef8 -
Update checkpoint step_32000
Verified signatureff07d0b -
Update checkpoint step_30000
Verified signature599c04b -
Update checkpoint step_28000
Verified signature641a968 -
Update checkpoint step_26000
Verified signature914bc01 -
Update checkpoint step_24000
Verified signature967b50b -
Update checkpoint step_22000
Verified signature8671f31 -
Update checkpoint step_20000
Verified signatureb7d31dc -
Update checkpoint step_18000
Verified signature719911a -
Update checkpoint step_16000
Verified signature870c290 -
Update checkpoint step_14000
Verified signature86f6119 -
Update checkpoint step_12000
Verified signature4948fc1 -
Update checkpoint step_10000
Verified signaturec5aaa09 -
Update checkpoint step_8000
Verified signatureef8718d -
Update checkpoint step_6000
Verified signaturecbb7f92 -
Update checkpoint step_4000
Verified signature92937dc -
Update checkpoint step_2000
Verified signature29c619d -
Update modeling_stldec.py
Verified signature107cfff