Instructions to use CLMBR/binding-c-command-transformer-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CLMBR/binding-c-command-transformer-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CLMBR/binding-c-command-transformer-1")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CLMBR/binding-c-command-transformer-1") model = AutoModelForCausalLM.from_pretrained("CLMBR/binding-c-command-transformer-1") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use CLMBR/binding-c-command-transformer-1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CLMBR/binding-c-command-transformer-1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CLMBR/binding-c-command-transformer-1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/CLMBR/binding-c-command-transformer-1
- SGLang
How to use CLMBR/binding-c-command-transformer-1 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 "CLMBR/binding-c-command-transformer-1" \ --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": "CLMBR/binding-c-command-transformer-1", "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 "CLMBR/binding-c-command-transformer-1" \ --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": "CLMBR/binding-c-command-transformer-1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use CLMBR/binding-c-command-transformer-1 with Docker Model Runner:
docker model run hf.co/CLMBR/binding-c-command-transformer-1
- checkpoint-1068480
- checkpoint-1144800
- checkpoint-1221120
- checkpoint-1297440
- checkpoint-1373760
- checkpoint-1450080
- checkpoint-152640
- checkpoint-1526400
- checkpoint-1602720
- checkpoint-1679040
- checkpoint-1755360
- checkpoint-1831680
- checkpoint-1908000
- checkpoint-1984320
- checkpoint-2060640
- checkpoint-2136960
- checkpoint-2213280
- checkpoint-228960
- checkpoint-2289600
- checkpoint-2365920
- checkpoint-2442240
- checkpoint-2518560
- checkpoint-2594880
- checkpoint-2671200
- checkpoint-2747520
- checkpoint-2823840
- checkpoint-2900160
- checkpoint-2976480
- checkpoint-3052726
- checkpoint-305280
- checkpoint-381600
- checkpoint-457920
- checkpoint-534240
- checkpoint-610560
- checkpoint-686880
- checkpoint-76320
- checkpoint-763200
- checkpoint-839520
- checkpoint-915840
- checkpoint-992160
- 1.52 kB
- 3.35 kB
- 654 Bytes
- 132 Bytes
- 269 MB xet
- 75 Bytes
- 1.2 MB
- 295 Bytes
- 4.28 kB xet