Instructions to use TheBloke/OpenOrca-Preview1-13B-GGML with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TheBloke/OpenOrca-Preview1-13B-GGML with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="TheBloke/OpenOrca-Preview1-13B-GGML")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TheBloke/OpenOrca-Preview1-13B-GGML", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TheBloke/OpenOrca-Preview1-13B-GGML with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TheBloke/OpenOrca-Preview1-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/OpenOrca-Preview1-13B-GGML", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TheBloke/OpenOrca-Preview1-13B-GGML
- SGLang
How to use TheBloke/OpenOrca-Preview1-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/OpenOrca-Preview1-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/OpenOrca-Preview1-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/OpenOrca-Preview1-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/OpenOrca-Preview1-13B-GGML", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use TheBloke/OpenOrca-Preview1-13B-GGML with Docker Model Runner:
docker model run hf.co/TheBloke/OpenOrca-Preview1-13B-GGML
Commit History
-
Update README.md
beb88a7 -
Update README.md
97fa771 -
Update README.md
4abfbda -
Initial GGML model commit
2853859 -
Initial GGML model commit
37f07a9 -
Initial GGML model commit
a06dc7a -
Initial GGML model commit
b99c42a -
Initial GGML model commit
da6895a -
Initial GGML model commit
2be0482 -
Initial GGML model commit
ee9ec09 -
Initial GGML model commit
b37238b -
Initial GGML model commit
d1d2c9c -
Initial GGML model commit
eed0226 -
Initial GGML model commit
46f87bc -
Initial GGML model commit
766d7ff -
Initial GGML model commit
5325370 -
Initial GGML model commit
b6f89de -
Initial GGML model commit
61d38a6 -
Initial GGML model commit
0eb3c0b -
initial commit
9d3ecb3