Instructions to use CLMBR/superlative-quantifier-transformer-4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CLMBR/superlative-quantifier-transformer-4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CLMBR/superlative-quantifier-transformer-4")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CLMBR/superlative-quantifier-transformer-4") model = AutoModelForCausalLM.from_pretrained("CLMBR/superlative-quantifier-transformer-4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CLMBR/superlative-quantifier-transformer-4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CLMBR/superlative-quantifier-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/superlative-quantifier-transformer-4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/CLMBR/superlative-quantifier-transformer-4
- SGLang
How to use CLMBR/superlative-quantifier-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/superlative-quantifier-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/superlative-quantifier-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/superlative-quantifier-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/superlative-quantifier-transformer-4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use CLMBR/superlative-quantifier-transformer-4 with Docker Model Runner:
docker model run hf.co/CLMBR/superlative-quantifier-transformer-4
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.5df7bbd
-
Model save
Verified signaturec00a99e -
Training in progress, epoch 1, checkpoint
Verified signature792d7ad -
Training in progress, epoch 1
Verified signatureaa047ed -
Training in progress, epoch 0, checkpoint
Verified signature0f0040e -
Training in progress, epoch 0
Verified signature42adb50 -
Training in progress, epoch 1, checkpoint
Verified signature4a923b3 -
Training in progress, epoch 1
Verified signature83e8d69
-
Training in progress, epoch 0, checkpoint
Verified signatureb439aac -
Training in progress, epoch 0
Verified signatureb53b478 -
Training in progress, epoch 1, checkpoint
Verified signature7d67fa6 -
Training in progress, epoch 1
Verified signature3d27e56 -
Training in progress, epoch 0, checkpoint
Verified signatureccb25a5 -
Training in progress, epoch 0
Verified signature219d0dc -
Training in progress, epoch 0, checkpoint
Verified signature127a960 -
Training in progress, epoch 0
Verified signature8e17d75 -
Training in progress, epoch 1, checkpoint
Verified signature18619c6 -
Training in progress, epoch 1
Verified signature6b3f9ea -
Training in progress, epoch 0, checkpoint
Verified signature8c3e9c1 -
Training in progress, epoch 0
Verified signature576b05a -
Training in progress, epoch 1, checkpoint
Verified signatured8ab4e3 -
Training in progress, epoch 1
Verified signaturef0a797d -
Training in progress, epoch 0, checkpoint
Verified signature316fb44 -
Training in progress, epoch 0
Verified signature02cfd3d
-
Training in progress, epoch 1, checkpoint
Verified signature33282be -
Training in progress, epoch 1
Verified signature19726b4 -
Training in progress, epoch 0, checkpoint
Verified signaturecc9ab47 -
Training in progress, epoch 0
Verified signature7d2fa94 -
Training in progress, epoch 1, checkpoint
Verified signature8099365 -
Training in progress, epoch 1
Verified signatured06c74d -
Training in progress, epoch 0, checkpoint
Verified signature07ae4df -
Training in progress, epoch 0
Verified signaturec95c78c
-
Training in progress, epoch 1, checkpoint
Verified signature1790968 -
Training in progress, epoch 1
Verified signature4803f73 -
Training in progress, epoch 0, checkpoint
Verified signature88c5ee7 -
Training in progress, epoch 0
Verified signature7a57860 -
Training in progress, epoch 1, checkpoint
Verified signature2a65af3 -
Training in progress, epoch 1
Verified signature7469f44 -
Training in progress, epoch 0, checkpoint
Verified signature70d0197 -
Training in progress, epoch 0
Verified signaturec004568
-
Training in progress, epoch 0, checkpoint
Verified signature7ac7429 -
Training in progress, epoch 0
Verified signatureb3c8d4c -
Training in progress, epoch 0, checkpoint
Verified signature8eb9fa7 -
Training in progress, epoch 0
Verified signature6e1627a -
Training in progress, epoch 1, checkpoint
Verified signature7f6a2de -
Training in progress, epoch 1
Verified signature60c725b -
Training in progress, epoch 0, checkpoint
Verified signature65cf66e -
Training in progress, epoch 0
Verified signature3e1dc3c -
Training in progress, epoch 1, checkpoint
Verified signature6b5e185 -
Training in progress, epoch 1
Verified signaturebac5142