Instructions to use OrionStarAI/Orion-14B-Chat-Plugin with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OrionStarAI/Orion-14B-Chat-Plugin with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="OrionStarAI/Orion-14B-Chat-Plugin", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("OrionStarAI/Orion-14B-Chat-Plugin", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use OrionStarAI/Orion-14B-Chat-Plugin with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OrionStarAI/Orion-14B-Chat-Plugin" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OrionStarAI/Orion-14B-Chat-Plugin", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/OrionStarAI/Orion-14B-Chat-Plugin
- SGLang
How to use OrionStarAI/Orion-14B-Chat-Plugin 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 "OrionStarAI/Orion-14B-Chat-Plugin" \ --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": "OrionStarAI/Orion-14B-Chat-Plugin", "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 "OrionStarAI/Orion-14B-Chat-Plugin" \ --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": "OrionStarAI/Orion-14B-Chat-Plugin", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use OrionStarAI/Orion-14B-Chat-Plugin with Docker Model Runner:
docker model run hf.co/OrionStarAI/Orion-14B-Chat-Plugin
Commit History
-
Update README_ko.md
Verified signatureAdd Discord link for Korean edition2e3cd7b -
Update README_ja.md
Verified signatureAdd Discord link for Japanese editionbf5f4e5 -
Update README_zh.md
Verified signatureAdd Discord link for Chinese edition6783e7e -
Update README.md
Verified signatureAdd Discord community link4c3dab3
-
Update Wechat group QR code.
Verified signaturefefc50a
-
Update tokenization_orion.py
Verified signature3dcd1ca
-
Update README_zh.md
Verified signatureff5ad7c -
Update README.md
Verified signature20ea805 -
Update README_ko.md
Verified signature46381d8 -
Update README_ja.md
Verified signature55a2280 -
Update README_zh.md
Verified signature6aa4d3b -
Update README.md
Verified signature2c85ed6 -
Upload 2 files
Verified signature59ddd7c
-
Update README_zh.md
Verified signature9555fc2 -
Update README_ko.md
Verified signature742b711 -
Update README_ja.md
Verified signature7de802b -
Update README.md
Verified signature703959b -
Update README.md
Verified signature951dfc4 -
Update README_zh.md
Verified signature2ae9a66 -
Update README_ko.md
Verified signature4813f43 -
Update README_ja.md
Verified signatureca1ac7a -
Update README.md
Verified signaturebf7de3c -
Upload 2 files
Verified signature4ccf566
-
Update README_zh.md
Verified signature66b4194 -
Update README_ko.md
Verified signaturee7faaef -
Update README_ja.md
Verified signature687dd29 -
Update README.md
Verified signature3117539 -
Update README_ko.md
Verified signatureccfd5e0 -
Update README.md
Verified signature5876302 -
Upload 3 files
Verified signatureb979b20
-
Update README.md
Verified signaturef74147e -
Delete README_cn.md
Verified signature486ea5a
-
Update README_cn.md
Verified signature1aa10d4 -
Update README.md
Verified signature5217b9f -
update readme
Du Chen9925e22 -
update readme
Du Chen788a90e
-
update readme
Du Chen88aabdc -
update readme
Du Chendaa9fd0 -
update readme
Du Chenf5377b5 -
update readme and special_tokens_map.json
Du Chena84426e
-
initial commit
Du Chen7acc177
-
initial commit
Verified signature116f04f