Instructions to use tensorblock/granite-3.0-1b-a400m-instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/granite-3.0-1b-a400m-instruct-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/granite-3.0-1b-a400m-instruct-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/granite-3.0-1b-a400m-instruct-GGUF", device_map="auto") - llama-cpp-python
How to use tensorblock/granite-3.0-1b-a400m-instruct-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/granite-3.0-1b-a400m-instruct-GGUF", filename="granite-3.0-1b-a400m-instruct-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/granite-3.0-1b-a400m-instruct-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/granite-3.0-1b-a400m-instruct-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/granite-3.0-1b-a400m-instruct-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/granite-3.0-1b-a400m-instruct-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/granite-3.0-1b-a400m-instruct-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/granite-3.0-1b-a400m-instruct-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/granite-3.0-1b-a400m-instruct-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/granite-3.0-1b-a400m-instruct-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/granite-3.0-1b-a400m-instruct-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/granite-3.0-1b-a400m-instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/granite-3.0-1b-a400m-instruct-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/granite-3.0-1b-a400m-instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF:Q2_K
- SGLang
How to use tensorblock/granite-3.0-1b-a400m-instruct-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/granite-3.0-1b-a400m-instruct-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/granite-3.0-1b-a400m-instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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/granite-3.0-1b-a400m-instruct-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/granite-3.0-1b-a400m-instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use tensorblock/granite-3.0-1b-a400m-instruct-GGUF with Ollama:
ollama run hf.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/granite-3.0-1b-a400m-instruct-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/granite-3.0-1b-a400m-instruct-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/granite-3.0-1b-a400m-instruct-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/granite-3.0-1b-a400m-instruct-GGUF to start chatting
- Pi
How to use tensorblock/granite-3.0-1b-a400m-instruct-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tensorblock/granite-3.0-1b-a400m-instruct-GGUF:Q2_K
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tensorblock/granite-3.0-1b-a400m-instruct-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tensorblock/granite-3.0-1b-a400m-instruct-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tensorblock/granite-3.0-1b-a400m-instruct-GGUF:Q2_K
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default tensorblock/granite-3.0-1b-a400m-instruct-GGUF:Q2_K
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use tensorblock/granite-3.0-1b-a400m-instruct-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tensorblock/granite-3.0-1b-a400m-instruct-GGUF:Q2_K
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "tensorblock/granite-3.0-1b-a400m-instruct-GGUF:Q2_K" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use tensorblock/granite-3.0-1b-a400m-instruct-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF:Q2_K
- Lemonade
How to use tensorblock/granite-3.0-1b-a400m-instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/granite-3.0-1b-a400m-instruct-GGUF:Q2_K
Run and chat with the model
lemonade run user.granite-3.0-1b-a400m-instruct-GGUF-Q2_K
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +203 -0
- granite-3.0-1b-a400m-instruct-Q2_K.gguf +3 -0
- granite-3.0-1b-a400m-instruct-Q3_K_L.gguf +3 -0
- granite-3.0-1b-a400m-instruct-Q3_K_M.gguf +3 -0
- granite-3.0-1b-a400m-instruct-Q3_K_S.gguf +3 -0
- granite-3.0-1b-a400m-instruct-Q4_0.gguf +3 -0
- granite-3.0-1b-a400m-instruct-Q4_K_M.gguf +3 -0
- granite-3.0-1b-a400m-instruct-Q4_K_S.gguf +3 -0
- granite-3.0-1b-a400m-instruct-Q5_0.gguf +3 -0
- granite-3.0-1b-a400m-instruct-Q5_K_M.gguf +3 -0
- granite-3.0-1b-a400m-instruct-Q5_K_S.gguf +3 -0
- granite-3.0-1b-a400m-instruct-Q6_K.gguf +3 -0
- granite-3.0-1b-a400m-instruct-Q8_0.gguf +3 -0
|
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
granite-3.0-1b-a400m-instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
granite-3.0-1b-a400m-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
granite-3.0-1b-a400m-instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
granite-3.0-1b-a400m-instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
granite-3.0-1b-a400m-instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
granite-3.0-1b-a400m-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
granite-3.0-1b-a400m-instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
granite-3.0-1b-a400m-instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
granite-3.0-1b-a400m-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
granite-3.0-1b-a400m-instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
granite-3.0-1b-a400m-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
granite-3.0-1b-a400m-instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
|
@@ -0,0 +1,203 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: text-generation
|
| 3 |
+
inference: false
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
library_name: transformers
|
| 6 |
+
tags:
|
| 7 |
+
- language
|
| 8 |
+
- granite-3.0
|
| 9 |
+
- TensorBlock
|
| 10 |
+
- GGUF
|
| 11 |
+
base_model: ibm-granite/granite-3.0-1b-a400m-instruct
|
| 12 |
+
model-index:
|
| 13 |
+
- name: granite-3.0-2b-instruct
|
| 14 |
+
results:
|
| 15 |
+
- task:
|
| 16 |
+
type: text-generation
|
| 17 |
+
dataset:
|
| 18 |
+
name: IFEval
|
| 19 |
+
type: instruction-following
|
| 20 |
+
metrics:
|
| 21 |
+
- type: pass@1
|
| 22 |
+
value: 32.39
|
| 23 |
+
name: pass@1
|
| 24 |
+
- type: pass@1
|
| 25 |
+
value: 6.17
|
| 26 |
+
name: pass@1
|
| 27 |
+
- task:
|
| 28 |
+
type: text-generation
|
| 29 |
+
dataset:
|
| 30 |
+
name: AGI-Eval
|
| 31 |
+
type: human-exams
|
| 32 |
+
metrics:
|
| 33 |
+
- type: pass@1
|
| 34 |
+
value: 20.35
|
| 35 |
+
name: pass@1
|
| 36 |
+
- type: pass@1
|
| 37 |
+
value: 32
|
| 38 |
+
name: pass@1
|
| 39 |
+
- type: pass@1
|
| 40 |
+
value: 12.21
|
| 41 |
+
name: pass@1
|
| 42 |
+
- task:
|
| 43 |
+
type: text-generation
|
| 44 |
+
dataset:
|
| 45 |
+
name: OBQA
|
| 46 |
+
type: commonsense
|
| 47 |
+
metrics:
|
| 48 |
+
- type: pass@1
|
| 49 |
+
value: 38.4
|
| 50 |
+
name: pass@1
|
| 51 |
+
- type: pass@1
|
| 52 |
+
value: 47.55
|
| 53 |
+
name: pass@1
|
| 54 |
+
- type: pass@1
|
| 55 |
+
value: 65.59
|
| 56 |
+
name: pass@1
|
| 57 |
+
- type: pass@1
|
| 58 |
+
value: 61.17
|
| 59 |
+
name: pass@1
|
| 60 |
+
- type: pass@1
|
| 61 |
+
value: 49.11
|
| 62 |
+
name: pass@1
|
| 63 |
+
- task:
|
| 64 |
+
type: text-generation
|
| 65 |
+
dataset:
|
| 66 |
+
name: BoolQ
|
| 67 |
+
type: reading-comprehension
|
| 68 |
+
metrics:
|
| 69 |
+
- type: pass@1
|
| 70 |
+
value: 70.12
|
| 71 |
+
name: pass@1
|
| 72 |
+
- type: pass@1
|
| 73 |
+
value: 1.27
|
| 74 |
+
name: pass@1
|
| 75 |
+
- task:
|
| 76 |
+
type: text-generation
|
| 77 |
+
dataset:
|
| 78 |
+
name: ARC-C
|
| 79 |
+
type: reasoning
|
| 80 |
+
metrics:
|
| 81 |
+
- type: pass@1
|
| 82 |
+
value: 41.21
|
| 83 |
+
name: pass@1
|
| 84 |
+
- type: pass@1
|
| 85 |
+
value: 23.07
|
| 86 |
+
name: pass@1
|
| 87 |
+
- type: pass@1
|
| 88 |
+
value: 31.77
|
| 89 |
+
name: pass@1
|
| 90 |
+
- task:
|
| 91 |
+
type: text-generation
|
| 92 |
+
dataset:
|
| 93 |
+
name: HumanEvalSynthesis
|
| 94 |
+
type: code
|
| 95 |
+
metrics:
|
| 96 |
+
- type: pass@1
|
| 97 |
+
value: 30.18
|
| 98 |
+
name: pass@1
|
| 99 |
+
- type: pass@1
|
| 100 |
+
value: 26.22
|
| 101 |
+
name: pass@1
|
| 102 |
+
- type: pass@1
|
| 103 |
+
value: 21.95
|
| 104 |
+
name: pass@1
|
| 105 |
+
- type: pass@1
|
| 106 |
+
value: 15.4
|
| 107 |
+
name: pass@1
|
| 108 |
+
- task:
|
| 109 |
+
type: text-generation
|
| 110 |
+
dataset:
|
| 111 |
+
name: GSM8K
|
| 112 |
+
type: math
|
| 113 |
+
metrics:
|
| 114 |
+
- type: pass@1
|
| 115 |
+
value: 26.31
|
| 116 |
+
name: pass@1
|
| 117 |
+
- type: pass@1
|
| 118 |
+
value: 10.88
|
| 119 |
+
name: pass@1
|
| 120 |
+
- task:
|
| 121 |
+
type: text-generation
|
| 122 |
+
dataset:
|
| 123 |
+
name: PAWS-X (7 langs)
|
| 124 |
+
type: multilingual
|
| 125 |
+
metrics:
|
| 126 |
+
- type: pass@1
|
| 127 |
+
value: 45.84
|
| 128 |
+
name: pass@1
|
| 129 |
+
- type: pass@1
|
| 130 |
+
value: 11.8
|
| 131 |
+
name: pass@1
|
| 132 |
+
---
|
| 133 |
+
|
| 134 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 135 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 136 |
+
</div>
|
| 137 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 138 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 139 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 140 |
+
Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a>
|
| 141 |
+
</p>
|
| 142 |
+
</div>
|
| 143 |
+
</div>
|
| 144 |
+
|
| 145 |
+
## ibm-granite/granite-3.0-1b-a400m-instruct - GGUF
|
| 146 |
+
|
| 147 |
+
This repo contains GGUF format model files for [ibm-granite/granite-3.0-1b-a400m-instruct](https://huggingface.co/ibm-granite/granite-3.0-1b-a400m-instruct).
|
| 148 |
+
|
| 149 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4011](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
| 150 |
+
|
| 151 |
+
<div style="text-align: left; margin: 20px 0;">
|
| 152 |
+
<a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
|
| 153 |
+
Run them on the TensorBlock client using your local machine ↗
|
| 154 |
+
</a>
|
| 155 |
+
</div>
|
| 156 |
+
|
| 157 |
+
## Prompt template
|
| 158 |
+
|
| 159 |
+
```
|
| 160 |
+
<|start_of_role|>system<|end_of_role|>{system_prompt}<|end_of_text|>
|
| 161 |
+
<|start_of_role|>user<|end_of_role|>{prompt}<|end_of_text|>
|
| 162 |
+
<|start_of_role|>assistant<|end_of_role|>
|
| 163 |
+
```
|
| 164 |
+
|
| 165 |
+
## Model file specification
|
| 166 |
+
|
| 167 |
+
| Filename | Quant type | File Size | Description |
|
| 168 |
+
| -------- | ---------- | --------- | ----------- |
|
| 169 |
+
| [granite-3.0-1b-a400m-instruct-Q2_K.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF/blob/main/granite-3.0-1b-a400m-instruct-Q2_K.gguf) | Q2_K | 0.512 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 170 |
+
| [granite-3.0-1b-a400m-instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF/blob/main/granite-3.0-1b-a400m-instruct-Q3_K_S.gguf) | Q3_K_S | 0.598 GB | very small, high quality loss |
|
| 171 |
+
| [granite-3.0-1b-a400m-instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF/blob/main/granite-3.0-1b-a400m-instruct-Q3_K_M.gguf) | Q3_K_M | 0.659 GB | very small, high quality loss |
|
| 172 |
+
| [granite-3.0-1b-a400m-instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF/blob/main/granite-3.0-1b-a400m-instruct-Q3_K_L.gguf) | Q3_K_L | 0.711 GB | small, substantial quality loss |
|
| 173 |
+
| [granite-3.0-1b-a400m-instruct-Q4_0.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF/blob/main/granite-3.0-1b-a400m-instruct-Q4_0.gguf) | Q4_0 | 0.768 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 174 |
+
| [granite-3.0-1b-a400m-instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF/blob/main/granite-3.0-1b-a400m-instruct-Q4_K_S.gguf) | Q4_K_S | 0.775 GB | small, greater quality loss |
|
| 175 |
+
| [granite-3.0-1b-a400m-instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF/blob/main/granite-3.0-1b-a400m-instruct-Q4_K_M.gguf) | Q4_K_M | 0.822 GB | medium, balanced quality - recommended |
|
| 176 |
+
| [granite-3.0-1b-a400m-instruct-Q5_0.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF/blob/main/granite-3.0-1b-a400m-instruct-Q5_0.gguf) | Q5_0 | 0.929 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 177 |
+
| [granite-3.0-1b-a400m-instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF/blob/main/granite-3.0-1b-a400m-instruct-Q5_K_S.gguf) | Q5_K_S | 0.929 GB | large, low quality loss - recommended |
|
| 178 |
+
| [granite-3.0-1b-a400m-instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF/blob/main/granite-3.0-1b-a400m-instruct-Q5_K_M.gguf) | Q5_K_M | 0.956 GB | large, very low quality loss - recommended |
|
| 179 |
+
| [granite-3.0-1b-a400m-instruct-Q6_K.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF/blob/main/granite-3.0-1b-a400m-instruct-Q6_K.gguf) | Q6_K | 1.099 GB | very large, extremely low quality loss |
|
| 180 |
+
| [granite-3.0-1b-a400m-instruct-Q8_0.gguf](https://huggingface.co/tensorblock/granite-3.0-1b-a400m-instruct-GGUF/blob/main/granite-3.0-1b-a400m-instruct-Q8_0.gguf) | Q8_0 | 1.422 GB | very large, extremely low quality loss - not recommended |
|
| 181 |
+
|
| 182 |
+
|
| 183 |
+
## Downloading instruction
|
| 184 |
+
|
| 185 |
+
### Command line
|
| 186 |
+
|
| 187 |
+
Firstly, install Huggingface Client
|
| 188 |
+
|
| 189 |
+
```shell
|
| 190 |
+
pip install -U "huggingface_hub[cli]"
|
| 191 |
+
```
|
| 192 |
+
|
| 193 |
+
Then, downoad the individual model file the a local directory
|
| 194 |
+
|
| 195 |
+
```shell
|
| 196 |
+
huggingface-cli download tensorblock/granite-3.0-1b-a400m-instruct-GGUF --include "granite-3.0-1b-a400m-instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 197 |
+
```
|
| 198 |
+
|
| 199 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 200 |
+
|
| 201 |
+
```shell
|
| 202 |
+
huggingface-cli download tensorblock/granite-3.0-1b-a400m-instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 203 |
+
```
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab42f5f418808ee640a7a8db09c8756b8b3c1942cf27881dc0019f9b040760fe
|
| 3 |
+
size 512236576
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9523a85c6020a621ba09242ba20bce6ea5266233198ef1c031d392e212c1bde
|
| 3 |
+
size 711400480
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ecb21263c3b4121aaedb4da26b3b1e8c00e6f8b271142644c882c8bd4fb51dad
|
| 3 |
+
size 658578464
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46740870d24328fdbb56a778d2a49e913633971760c9ddced1dac3b281d9f661
|
| 3 |
+
size 597859360
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f296e7e0bbd42b20deae8e3ce82f3b67dbe2375615c03d7a074788c37f7f8586
|
| 3 |
+
size 768318496
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6887e84bef32fa11bac90e5f060ee35d4e28d061f2c1196aef5237e770b27ce
|
| 3 |
+
size 821845024
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:57662e3fa06d16994d1b7171d9493d0bf44180d66f74f740c6c6bd928bf2b954
|
| 3 |
+
size 774872096
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f06ff4ccbce42bc617975f9f6972facb6a5923eef57057d6710f948c45b5aa9
|
| 3 |
+
size 928750624
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4eee5f59a3aee7003e04d331765251067d75b42ff01fe545326cb304afcc7c13
|
| 3 |
+
size 956324896
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dceb619c0c2e185e76bba7aabce6eb7d5b798621cf8f77b5f0938e15f854de19
|
| 3 |
+
size 928750624
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a955e00ca8ebc1e2c1a899dbf88b7862c1dd7642c7e8bdb599295eacf99c724f
|
| 3 |
+
size 1099209760
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43bb507b0745871c760978541b3809f27739e044d513c0af0349b9d86cdfb41b
|
| 3 |
+
size 1422237440
|