Instructions to use tensorblock/orca_mini_3b-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/orca_mini_3b-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/orca_mini_3b-GGUF")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/orca_mini_3b-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/orca_mini_3b-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/orca_mini_3b-GGUF", filename="orca_mini_3b-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/orca_mini_3b-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/orca_mini_3b-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/orca_mini_3b-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/orca_mini_3b-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/orca_mini_3b-GGUF:Q2_K
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf tensorblock/orca_mini_3b-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/orca_mini_3b-GGUF:Q2_K
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf tensorblock/orca_mini_3b-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/orca_mini_3b-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/orca_mini_3b-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/orca_mini_3b-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/orca_mini_3b-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/orca_mini_3b-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/tensorblock/orca_mini_3b-GGUF:Q2_K
- SGLang
How to use tensorblock/orca_mini_3b-GGUF 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 "tensorblock/orca_mini_3b-GGUF" \ --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": "tensorblock/orca_mini_3b-GGUF", "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 "tensorblock/orca_mini_3b-GGUF" \ --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": "tensorblock/orca_mini_3b-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use tensorblock/orca_mini_3b-GGUF with Ollama:
ollama run hf.co/tensorblock/orca_mini_3b-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/orca_mini_3b-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/orca_mini_3b-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/orca_mini_3b-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/orca_mini_3b-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/orca_mini_3b-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/orca_mini_3b-GGUF:Q2_K
- Lemonade
How to use tensorblock/orca_mini_3b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/orca_mini_3b-GGUF:Q2_K
Run and chat with the model
lemonade run user.orca_mini_3b-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- orca_mini_3b-Q3_K_L.gguf +0 -3
- orca_mini_3b-Q3_K_S.gguf +0 -3
- orca_mini_3b-Q4_0.gguf +0 -3
- orca_mini_3b-Q4_K_M.gguf +0 -3
- orca_mini_3b-Q4_K_S.gguf +0 -3
- orca_mini_3b-Q5_0.gguf +0 -3
- orca_mini_3b-Q5_K_M.gguf +0 -3
- orca_mini_3b-Q5_K_S.gguf +0 -3
- orca_mini_3b-Q6_K.gguf +0 -3
- orca_mini_3b-Q8_0.gguf +0 -3
orca_mini_3b-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2993099a0f8f1d23403a2effe6d50885744981d9cc5488be551d141725e52612
|
| 3 |
-
size 2214571328
|
|
|
|
|
|
|
|
|
|
|
|
orca_mini_3b-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:afb35842efcdfd7377757a68ba4573d763f56e6454355fda8bb40a60e4ae7054
|
| 3 |
-
size 1979947328
|
|
|
|
|
|
|
|
|
|
|
|
orca_mini_3b-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b4ab261409abb1e340910723c6b4b1496cb7633e19811a5876411a3c25e5db95
|
| 3 |
-
size 1979947328
|
|
|
|
|
|
|
|
|
|
|
|
orca_mini_3b-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d9a39f203a2310c3bb77a9a7075c84f2ec4d4ccb7ce7b831c3c62cb2ae2cfd33
|
| 3 |
-
size 2580139328
|
|
|
|
|
|
|
|
|
|
|
|
orca_mini_3b-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c46e5f1a573b2e5eb7f0c659acbd20d1f3d773de026f3e12fc26bd6eae0830e2
|
| 3 |
-
size 2403179328
|
|
|
|
|
|
|
|
|
|
|
|
orca_mini_3b-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:74e8ebc32591015a112f9f4996f5370468c6021455481ef4924194057cb3c8c1
|
| 3 |
-
size 2395435328
|
|
|
|
|
|
|
|
|
|
|
|
orca_mini_3b-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:734cd6a7813d0d4d0428aaa843cd4454200b37ca2345e929fbc96cf4c254a520
|
| 3 |
-
size 2757099328
|
|
|
|
|
|
|
|
|
|
|
|
orca_mini_3b-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:74bb205e1076f54fb2a1810d742b94016b477fa6b7b50009cbdbcdc5e1747d0a
|
| 3 |
-
size 2603179328
|
|
|
|
|
|
|
|
|
|
|
|
orca_mini_3b-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:aea225a5aa915962a8d29b8faba6543db0c4e8ab564d5679aa347602bdfd8414
|
| 3 |
-
size 3641899328
|
|
|
|
|
|
|
|
|
|
|
|
orca_mini_3b-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fc682a8c013ee33ec08dc0e0c2abdc9aec4cf63ee94988cc59ff08b5a5895fae
|
| 3 |
-
size 3641899328
|
|
|
|
|
|
|
|
|
|
|
|