Instructions to use CLMBR/old-pp-mod-subj-transformer-3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CLMBR/old-pp-mod-subj-transformer-3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CLMBR/old-pp-mod-subj-transformer-3")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CLMBR/old-pp-mod-subj-transformer-3") model = AutoModelForCausalLM.from_pretrained("CLMBR/old-pp-mod-subj-transformer-3") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CLMBR/old-pp-mod-subj-transformer-3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CLMBR/old-pp-mod-subj-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/old-pp-mod-subj-transformer-3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/CLMBR/old-pp-mod-subj-transformer-3
- SGLang
How to use CLMBR/old-pp-mod-subj-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/old-pp-mod-subj-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/old-pp-mod-subj-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/old-pp-mod-subj-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/old-pp-mod-subj-transformer-3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use CLMBR/old-pp-mod-subj-transformer-3 with Docker Model Runner:
docker model run hf.co/CLMBR/old-pp-mod-subj-transformer-3
- checkpoint-1068468
- checkpoint-1144788
- checkpoint-1221108
- checkpoint-1297428
- checkpoint-1373748
- checkpoint-1450068
- checkpoint-152638
- checkpoint-1526388
- checkpoint-1602708
- checkpoint-1679028
- checkpoint-1755348
- checkpoint-1831668
- checkpoint-1907988
- checkpoint-1984308
- checkpoint-2060628
- checkpoint-2136948
- checkpoint-2213268
- checkpoint-228957
- checkpoint-2289588
- checkpoint-2365908
- checkpoint-2442228
- checkpoint-2518548
- checkpoint-2594868
- checkpoint-2671188
- checkpoint-2747508
- checkpoint-2823828
- checkpoint-2900148
- checkpoint-2976468
- checkpoint-3052726
- checkpoint-305276
- checkpoint-381595
- checkpoint-457914
- checkpoint-534233
- checkpoint-610552
- checkpoint-686871
- checkpoint-76319
- checkpoint-763190
- checkpoint-839509
- checkpoint-915828
- checkpoint-992148
- 1.52 kB
- 3.33 kB
- 654 Bytes
- 132 Bytes
- 269 MB xet
- 75 Bytes
- 1.2 MB
- 295 Bytes
- 4.22 kB xet