Instructions to use TheBloke/OpenOrcaxOpenChat-Preview2-13B-GGML with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TheBloke/OpenOrcaxOpenChat-Preview2-13B-GGML with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="TheBloke/OpenOrcaxOpenChat-Preview2-13B-GGML")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TheBloke/OpenOrcaxOpenChat-Preview2-13B-GGML", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TheBloke/OpenOrcaxOpenChat-Preview2-13B-GGML with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TheBloke/OpenOrcaxOpenChat-Preview2-13B-GGML" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TheBloke/OpenOrcaxOpenChat-Preview2-13B-GGML", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TheBloke/OpenOrcaxOpenChat-Preview2-13B-GGML
- SGLang
How to use TheBloke/OpenOrcaxOpenChat-Preview2-13B-GGML 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 "TheBloke/OpenOrcaxOpenChat-Preview2-13B-GGML" \ --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": "TheBloke/OpenOrcaxOpenChat-Preview2-13B-GGML", "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 "TheBloke/OpenOrcaxOpenChat-Preview2-13B-GGML" \ --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": "TheBloke/OpenOrcaxOpenChat-Preview2-13B-GGML", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use TheBloke/OpenOrcaxOpenChat-Preview2-13B-GGML with Docker Model Runner:
docker model run hf.co/TheBloke/OpenOrcaxOpenChat-Preview2-13B-GGML
Commit History
-
Update base_model formatting
3c7b786
-
Add Llama 2 license files
79e167b
-
Initial GGML model commit
b84e95c -
Initial GGML model commit
50da52a -
Initial GGML model commit
c29bfae -
Initial GGML model commit
3b28953 -
Initial GGML model commit
3fd30d8 -
Initial GGML model commit
ec85c05 -
Initial GGML model commit
b8402c3 -
Add Llama 2 license files
bf36f0e -
Initial GGML model commit
7b35bc9 -
Initial GGML model commit
6018ae9 -
Initial GGML model commit
de09f22 -
Initial GGML model commit
a0649e3 -
Initial GGML model commit
11d772a -
Initial GGML model commit
c831c08 -
Initial GGML model commit
0d2638b -
Initial GGML model commit
2d85d46 -
Initial GGML model commit
a0e167d -
Initial GGML model commit
d7d1d36 -
Initial GGML model commit
c09fe3e -
Initial GGML model commit
7a33f40 -
Initial GGML model commit
0fd7824 -
Initial GGML model commit
7feba25 -
Initial GGML model commit
f2a5288 -
Initial GGML model commit
6688cb7 -
Initial GGML model commit
43456c3 -
Initial GGML model commit
887546e -
initial commit
34dabdb