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