Instructions to use fpadovani/cds_w_13 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fpadovani/cds_w_13 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="fpadovani/cds_w_13")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("fpadovani/cds_w_13") model = AutoModelForCausalLM.from_pretrained("fpadovani/cds_w_13") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use fpadovani/cds_w_13 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "fpadovani/cds_w_13" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "fpadovani/cds_w_13", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/fpadovani/cds_w_13
- SGLang
How to use fpadovani/cds_w_13 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 "fpadovani/cds_w_13" \ --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": "fpadovani/cds_w_13", "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 "fpadovani/cds_w_13" \ --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": "fpadovani/cds_w_13", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use fpadovani/cds_w_13 with Docker Model Runner:
docker model run hf.co/fpadovani/cds_w_13
Ctrl+K
- check-1
- check-11
- check-127
- check-1427
- check-18
- check-2
- check-206
- check-2316
- check-3
- check-30
- check-334
- check-3759
- check-4
- check-48
- check-542
- check-6100
- check-7
- check-78
- check-879
- check-9900
- checkpoint-1488
- checkpoint-1984
- checkpoint-2480
- checkpoint-2976
- checkpoint-3472
- checkpoint-3968
- checkpoint-4464
- checkpoint-496
- checkpoint-4960
- checkpoint-5456
- checkpoint-5952
- checkpoint-6448
- checkpoint-6944
- checkpoint-7440
- checkpoint-7936
- checkpoint-8432
- checkpoint-8928
- checkpoint-9424
- checkpoint-9920
- 1.52 kB
- 15 Bytes
- 2.33 kB
- 775 Bytes
- 142 Bytes
- 436 MB xet
- 145 Bytes
- 2.06 MB
- 1.35 kB
- 5.91 kB xet
- 2.83 MB