Instructions to use CLMBR/old-existential-there-quantifier-transformer-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CLMBR/old-existential-there-quantifier-transformer-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CLMBR/old-existential-there-quantifier-transformer-2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CLMBR/old-existential-there-quantifier-transformer-2") model = AutoModelForCausalLM.from_pretrained("CLMBR/old-existential-there-quantifier-transformer-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CLMBR/old-existential-there-quantifier-transformer-2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CLMBR/old-existential-there-quantifier-transformer-2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CLMBR/old-existential-there-quantifier-transformer-2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/CLMBR/old-existential-there-quantifier-transformer-2
- SGLang
How to use CLMBR/old-existential-there-quantifier-transformer-2 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/old-existential-there-quantifier-transformer-2" \ --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/old-existential-there-quantifier-transformer-2", "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/old-existential-there-quantifier-transformer-2" \ --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/old-existential-there-quantifier-transformer-2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use CLMBR/old-existential-there-quantifier-transformer-2 with Docker Model Runner:
docker model run hf.co/CLMBR/old-existential-there-quantifier-transformer-2
Training in progress, epoch 0
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:daa07c61c1166955e74db994ab23fb4ff1908725bbac87e417adf466477c4792size 268727709123version https://git-lfs.github.com/spec/v1oid sha256:5b3e4abedfdc8a575979d26dc931947a0973997483d7f4539f690b7653523e6dsize 268727709
123version https://git-lfs.github.com/spec/v1oid sha256:7754854675fe62dbdcc76e57bccbf7507ac63d9a33456bd9fe25d0d506b1ee05size 4347123version https://git-lfs.github.com/spec/v1oid sha256:853d9368b16d7e5448a3583233d9d79c2b188a4a921d892439aa06023acafcddsize 4347
pytorch_model.bin+1-1
training_args.bin+1-1