Instructions to use CyanMonkey/Test-Subject-3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CyanMonkey/Test-Subject-3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CyanMonkey/Test-Subject-3")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("CyanMonkey/Test-Subject-3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CyanMonkey/Test-Subject-3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CyanMonkey/Test-Subject-3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CyanMonkey/Test-Subject-3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/CyanMonkey/Test-Subject-3
- SGLang
How to use CyanMonkey/Test-Subject-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 "CyanMonkey/Test-Subject-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": "CyanMonkey/Test-Subject-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 "CyanMonkey/Test-Subject-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": "CyanMonkey/Test-Subject-3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use CyanMonkey/Test-Subject-3 with Docker Model Runner:
docker model run hf.co/CyanMonkey/Test-Subject-3
Commit History
Today
-
export step 6500 (22.55%)
Verified signature2118e24 -
export step 6000 (20.82%)
Verified signature3ac3066 -
export step 5500 (19.08%)
Verified signature436007f -
export step 5000 (17.35%)
Verified signature5e4b2ed -
export step 4500 (15.61%)
Verified signature44a8845 -
export step 4000 (13.88%)
Verified signature6c3c201 -
export step 3500 (12.14%)
Verified signaturec6ee7c3 -
export step 3000 (10.41%)
Verified signature50e5b51
Yesterday
-
export step 2500 (8.68%)
Verified signature67dbe09 -
export step 2000 (6.94%)
Verified signature0bddd87 -
export step 1500 (5.21%)
Verified signaturece36ad6 -
export step 1000 (3.47%)
Verified signaturecf287ce -
export step 5500 (19.08%)
Verified signature55eb8c4 -
export step 5000 (17.35%)
Verified signature0b7d66a -
Update config.json
Verified signaturee6b67c5 -
export step 4500 (15.61%)
Verified signature7783cb4 -
export step 4000 (13.88%)
Verified signatureda277f5 -
Update config.json
Verified signaturec6da28b -
export step 3500 (12.14%)
Verified signatured82378e -
export step 3000 (10.41%)
Verified signature49baa84 -
export step 2500 (8.68%)
Verified signaturea4b39a8 -
export step 2000 (6.94%)
Verified signature8a6d178 -
export step 1500 (5.21%)
Verified signature9492c48 -
export step 1000 (3.47%)
Verified signature1ac955a -
interrupt step 608 (2.11%)
Verified signature1c016ea