Instructions to use CLMBR/rel-cl-transformer-4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CLMBR/rel-cl-transformer-4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CLMBR/rel-cl-transformer-4")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CLMBR/rel-cl-transformer-4") model = AutoModelForCausalLM.from_pretrained("CLMBR/rel-cl-transformer-4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CLMBR/rel-cl-transformer-4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CLMBR/rel-cl-transformer-4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CLMBR/rel-cl-transformer-4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/CLMBR/rel-cl-transformer-4
- SGLang
How to use CLMBR/rel-cl-transformer-4 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/rel-cl-transformer-4" \ --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/rel-cl-transformer-4", "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/rel-cl-transformer-4" \ --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/rel-cl-transformer-4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use CLMBR/rel-cl-transformer-4 with Docker Model Runner:
docker model run hf.co/CLMBR/rel-cl-transformer-4
Commit History
-
Model save
Verified signaturec9ef411 -
Training in progress, epoch 1, checkpoint
Verified signature6896cda -
Training in progress, epoch 1
Verified signature4d8981a -
Training in progress, epoch 0, checkpoint
Verified signature914191e -
Training in progress, epoch 0
Verified signaturee4bc8ef -
Training in progress, epoch 1, checkpoint
Verified signature16bed49 -
Training in progress, epoch 1
Verified signature1df1e14 -
Training in progress, epoch 0, checkpoint
Verified signature78bd90c -
Training in progress, epoch 0
Verified signatured43b09e -
Training in progress, epoch 1, checkpoint
Verified signature00a6650 -
Training in progress, epoch 1
Verified signature1f85a82 -
Training in progress, epoch 0, checkpoint
Verified signature497b0b4 -
Training in progress, epoch 0
Verified signature65fe399 -
Training in progress, epoch 0, checkpoint
Verified signature0a800ce -
Training in progress, epoch 0
Verified signaturea2a0930
-
Training in progress, epoch 1, checkpoint
Verified signature40f19c2 -
Training in progress, epoch 1
Verified signature22c6b79 -
Training in progress, epoch 0, checkpoint
Verified signature152f797 -
Training in progress, epoch 0
Verified signatureec8bc98 -
Training in progress, epoch 1, checkpoint
Verified signaturee4ad262 -
Training in progress, epoch 1
Verified signatureef314b8 -
Training in progress, epoch 0, checkpoint
Verified signature841719e -
Training in progress, epoch 0
Verified signature5d191ab -
Training in progress, epoch 1, checkpoint
Verified signature93cd431 -
Training in progress, epoch 1
Verified signature06f7f24 -
Training in progress, epoch 0, checkpoint
Verified signatured6243c6 -
Training in progress, epoch 0
Verified signature1bfc5d1 -
Training in progress, epoch 1, checkpoint
Verified signatureeb45485 -
Training in progress, epoch 1
Verified signature2ad5cc9 -
Training in progress, epoch 0, checkpoint
Verified signaturee13348f -
Training in progress, epoch 0
Verified signature83b4e68
-
Training in progress, epoch 1, checkpoint
Verified signatureef1f4d2 -
Training in progress, epoch 1
Verified signatureb175fba -
Training in progress, epoch 0, checkpoint
Verified signaturebb5b83c -
Training in progress, epoch 0
Verified signature472ce0d
-
Training in progress, epoch 0, checkpoint
Verified signature89a79cb -
Training in progress, epoch 0
Verified signature20bb6f2
-
Training in progress, epoch 1, checkpoint
Verified signature0dd06bb -
Training in progress, epoch 1
Verified signature63d705c -
Training in progress, epoch 0, checkpoint
Verified signature39cf769 -
Training in progress, epoch 0
Verified signature935d100 -
Training in progress, epoch 1, checkpoint
Verified signature13d2f0e -
Training in progress, epoch 1
Verified signature258a786 -
Training in progress, epoch 0, checkpoint
Verified signaturef806515 -
Training in progress, epoch 0
Verified signature351c4e4 -
Training in progress, epoch 1, checkpoint
Verified signaturee915309 -
Training in progress, epoch 1
Verified signature719cfca -
Training in progress, epoch 0, checkpoint
Verified signature8238c24 -
Training in progress, epoch 0
Verified signature1807af7 -
Training in progress, epoch 1, checkpoint
Verified signature47f338f