Instructions to use saracandu/stldec_random_128 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use saracandu/stldec_random_128 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="saracandu/stldec_random_128", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("saracandu/stldec_random_128", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use saracandu/stldec_random_128 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "saracandu/stldec_random_128" # 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_128", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/saracandu/stldec_random_128
- SGLang
How to use saracandu/stldec_random_128 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_128" \ --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_128", "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_128" \ --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_128", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use saracandu/stldec_random_128 with Docker Model Runner:
docker model run hf.co/saracandu/stldec_random_128
Commit History
-
Update checkpoint step_98000
Verified signaturefb5373d -
Update checkpoint step_96000
Verified signature8d055e9 -
Update checkpoint step_94000
Verified signatured8e80ec -
Update checkpoint step_92000
Verified signatureb08cde1 -
Update checkpoint step_90000
Verified signature772e5b0 -
Update checkpoint step_88000
Verified signature67e0c19 -
Update checkpoint step_86000
Verified signaturee795037 -
Update checkpoint step_84000
Verified signature5032f2a -
Update checkpoint step_82000
Verified signature645e748 -
Update checkpoint step_80000
Verified signatureaed2a99 -
Update checkpoint step_78000
Verified signature38f799c -
Update checkpoint step_76000
Verified signature1c0095e -
Update checkpoint step_74000
Verified signature60303fc -
Update checkpoint step_72000
Verified signaturef366bdd -
Update checkpoint step_70000
Verified signature258943b -
Update checkpoint step_68000
Verified signaturec23e47b -
Update checkpoint step_66000
Verified signature4456944 -
Update checkpoint step_64000
Verified signaturefe5c018 -
Update checkpoint step_62000
Verified signatureff1db8a -
Update checkpoint step_60000
Verified signature615bad4 -
Update checkpoint step_58000
Verified signature584a264 -
Update checkpoint step_56000
Verified signature418fa3c -
Update checkpoint step_54000
Verified signaturec326b58 -
Update checkpoint step_52000
Verified signature9b9b987 -
Update checkpoint step_50000
Verified signaturedf809cd -
Update checkpoint step_48000
Verified signature9faa1e2 -
Update checkpoint step_46000
Verified signaturec0a6d20 -
Update checkpoint step_44000
Verified signaturef734eb8 -
Update checkpoint step_42000
Verified signatureee6d68f -
Update checkpoint step_40000
Verified signaturece036f8 -
Update checkpoint step_38000
Verified signature75d844d -
Update checkpoint step_36000
Verified signature11f1639 -
Update checkpoint step_34000
Verified signaturedae231d -
Update checkpoint step_32000
Verified signaturecd32740 -
Update checkpoint step_30000
Verified signaturef5463e2 -
Update checkpoint step_28000
Verified signaturec3225af -
Update checkpoint step_26000
Verified signatureb9475e9 -
Update checkpoint step_24000
Verified signaturedd0daf9 -
Update checkpoint step_22000
Verified signature72777d2 -
Update checkpoint step_20000
Verified signature5cd7b47 -
Update checkpoint step_18000
Verified signature29e1985 -
Update checkpoint step_16000
Verified signature71bd333 -
Update checkpoint step_14000
Verified signature88985ca -
Update checkpoint step_12000
Verified signature8974734 -
Update checkpoint step_10000
Verified signature1172b72 -
Update checkpoint step_8000
Verified signature2a42de0 -
Update checkpoint step_6000
Verified signature6b30f09 -
Update checkpoint step_4000
Verified signature47c549b -
Update checkpoint step_2000
Verified signature2a42f17