Instructions to use CLMBR/binding-case-transformer-0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CLMBR/binding-case-transformer-0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CLMBR/binding-case-transformer-0")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CLMBR/binding-case-transformer-0") model = AutoModelForCausalLM.from_pretrained("CLMBR/binding-case-transformer-0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CLMBR/binding-case-transformer-0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CLMBR/binding-case-transformer-0" # 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-case-transformer-0", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/CLMBR/binding-case-transformer-0
- SGLang
How to use CLMBR/binding-case-transformer-0 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-case-transformer-0" \ --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-case-transformer-0", "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-case-transformer-0" \ --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-case-transformer-0", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use CLMBR/binding-case-transformer-0 with Docker Model Runner:
docker model run hf.co/CLMBR/binding-case-transformer-0
Training in progress, epoch 0
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:34fe83b0795ea2dc2235aa8e0b1b3761488efb01f580333c55de4320eca3d134size 268727709123version https://git-lfs.github.com/spec/v1oid sha256:493d1885ed95e412b258db281c50e7c437c8e9c3d984f666b73ae98ec1a22042size 268727709
123version https://git-lfs.github.com/spec/v1oid sha256:efcff88a8e9ea93bd4b000447a4cea303e59f6a681f736563a88b93513149cf9size 4283123version https://git-lfs.github.com/spec/v1oid sha256:7718361b42a161f827c89b0330dc57cf663d622247b09b924afb7f49af7342b6size 4283
pytorch_model.bin+1-1
training_args.bin+1-1