Instructions to use saracandu/stldec_random_16_large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use saracandu/stldec_random_16_large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="saracandu/stldec_random_16_large", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("saracandu/stldec_random_16_large", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use saracandu/stldec_random_16_large 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_large" # 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_large", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/saracandu/stldec_random_16_large
- SGLang
How to use saracandu/stldec_random_16_large 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_large" \ --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_large", "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_large" \ --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_large", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use saracandu/stldec_random_16_large with Docker Model Runner:
docker model run hf.co/saracandu/stldec_random_16_large
Commit History
-
Update checkpoint step_50000
Verified signature4dbf368 -
Update checkpoint step_49500
Verified signature45e9698 -
Update checkpoint step_49000
Verified signaturee2b72ce -
Update checkpoint step_48500
Verified signature4ba1b91 -
Update checkpoint step_48000
Verified signaturee60617c -
Update checkpoint step_47500
Verified signature26ed882 -
Update checkpoint step_47000
Verified signature4ff1141 -
Update checkpoint step_46500
Verified signaturea698f4a -
Update checkpoint step_46000
Verified signature1201748 -
Update checkpoint step_45500
Verified signature7ff91a4 -
Update checkpoint step_45000
Verified signature61afbae -
Update checkpoint step_44500
Verified signature9b07bef -
Update checkpoint step_44000
Verified signature01ee000 -
Update checkpoint step_43500
Verified signature1c9eec0 -
Update checkpoint step_43000
Verified signature405343c -
Update checkpoint step_42500
Verified signature37e4270 -
Update checkpoint step_42000
Verified signature94da737 -
Update checkpoint step_41500
Verified signaturea6a2808 -
Update checkpoint step_41000
Verified signaturebff2c81 -
Update checkpoint step_40500
Verified signature08e45b0 -
Update checkpoint step_40000
Verified signatured870739 -
Update checkpoint step_39500
Verified signature4e47216 -
Update checkpoint step_39000
Verified signature363a84c -
Update checkpoint step_38500
Verified signatured651600 -
Update checkpoint step_38000
Verified signaturee2da2b1 -
Update checkpoint step_37500
Verified signatureaf1e099 -
Update checkpoint step_37000
Verified signature1e3b007 -
Update checkpoint step_36500
Verified signature5c12ffc -
Update checkpoint step_36000
Verified signature31f7cb7 -
Update checkpoint step_35500
Verified signaturee3e0eba -
Update checkpoint step_35000
Verified signaturea01d94d -
Update checkpoint step_34500
Verified signature5317ae3 -
Update checkpoint step_34000
Verified signature050b507 -
Update checkpoint step_33500
Verified signature69f32dd -
Update checkpoint step_33000
Verified signaturee545c76 -
Update checkpoint step_32500
Verified signatureba21a6f -
Update checkpoint step_32000
Verified signature210108f -
Update checkpoint step_31500
Verified signature41a755c -
Update checkpoint step_31000
Verified signaturec117276 -
Update checkpoint step_30500
Verified signaturec4d05b6 -
Update checkpoint step_30000
Verified signature2a2bf31 -
Update checkpoint step_29500
Verified signaturefa33372 -
Update checkpoint step_29000
Verified signaturefdecef7 -
Update checkpoint step_28500
Verified signature23291c7 -
Update checkpoint step_28000
Verified signatureeedb2e4 -
Update checkpoint step_27500
Verified signature3560592 -
Update checkpoint step_27000
Verified signature8822bcb -
Update checkpoint step_26500
Verified signaturedce721d -
Update checkpoint step_26000
Verified signature458f5b0 -
Update checkpoint step_25500
Verified signaturec58db0f