Instructions to use CLMBR/rel-cl-transformer-0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CLMBR/rel-cl-transformer-0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CLMBR/rel-cl-transformer-0")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CLMBR/rel-cl-transformer-0") model = AutoModelForCausalLM.from_pretrained("CLMBR/rel-cl-transformer-0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CLMBR/rel-cl-transformer-0 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-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/rel-cl-transformer-0", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/CLMBR/rel-cl-transformer-0
- SGLang
How to use CLMBR/rel-cl-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/rel-cl-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/rel-cl-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/rel-cl-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/rel-cl-transformer-0", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use CLMBR/rel-cl-transformer-0 with Docker Model Runner:
docker model run hf.co/CLMBR/rel-cl-transformer-0
Commit History
-
Model save
Verified signature9d6bbe4 -
Training in progress, epoch 0, checkpoint
Verified signature7c6db76 -
Training in progress, epoch 0
Verified signature5b7642e -
Training in progress, epoch 0, checkpoint
Verified signature7473a50 -
Training in progress, epoch 0
Verified signatureb587834 -
Training in progress, epoch 0, checkpoint
Verified signatureca70d09 -
Training in progress, epoch 0
Verified signatured845e1b
-
Training in progress, epoch 1, checkpoint
Verified signature58970a3 -
Training in progress, epoch 1
Verified signature09bd6e3 -
Training in progress, epoch 0, checkpoint
Verified signatured04ba16 -
Training in progress, epoch 0
Verified signature5f02013 -
Training in progress, epoch 1, checkpoint
Verified signaturebf132e8 -
Training in progress, epoch 1
Verified signaturec49f50d -
Training in progress, epoch 0, checkpoint
Verified signaturecd114d5 -
Training in progress, epoch 0
Verified signature6140a03 -
Training in progress, epoch 1, checkpoint
Verified signature2620c1a -
Training in progress, epoch 1
Verified signature87754f5 -
Training in progress, epoch 0, checkpoint
Verified signaturef5d7361 -
Training in progress, epoch 0
Verified signatureaa770d4 -
Training in progress, epoch 1, checkpoint
Verified signature06d6d8c -
Training in progress, epoch 1
Verified signature2dfa0f0 -
Training in progress, epoch 0, checkpoint
Verified signaturee3f3b1d -
Training in progress, epoch 0
Verified signature0995601 -
Training in progress, epoch 1, checkpoint
Verified signaturee076010 -
Training in progress, epoch 1
Verified signatureac57f0d -
Training in progress, epoch 0, checkpoint
Verified signature48d46c7 -
Training in progress, epoch 0
Verified signature35ee193
-
Training in progress, epoch 1, checkpoint
Verified signature6fac149 -
Training in progress, epoch 1
Verified signaturee3bb64c -
Training in progress, epoch 0, checkpoint
Verified signatured992673 -
Training in progress, epoch 0
Verified signaturee0666fe -
Training in progress, epoch 1, checkpoint
Verified signature060eb60 -
Training in progress, epoch 1
Verified signature8f2bf94 -
Training in progress, epoch 0, checkpoint
Verified signaturec3d39f8 -
Training in progress, epoch 0
Verified signaturec5bf109
-
Training in progress, epoch 0, checkpoint
Verified signature08e4145 -
Training in progress, epoch 0
Verified signature937d503 -
Training in progress, epoch 0, checkpoint
Verified signature5a9030e -
Training in progress, epoch 0
Verified signature3b9408a -
Training in progress, epoch 0, checkpoint
Verified signaturebd09e93 -
Training in progress, epoch 0
Verified signaturee066331
-
Training in progress, epoch 0, checkpoint
Verified signature886cd30 -
Training in progress, epoch 0
Verified signature141bb3a
-
Training in progress, epoch 1, checkpoint
Verified signature69fd6a9 -
Training in progress, epoch 1
Verified signaturefc9c7d9 -
Training in progress, epoch 0, checkpoint
Verified signature3822864 -
Training in progress, epoch 0
Verified signaturea8d3f52 -
Training in progress, epoch 0, checkpoint
Verified signature41bbfbf -
Training in progress, epoch 0
Verified signaturecf10aae -
Training in progress, epoch 1, checkpoint
Verified signaturee55c65f