Instructions to use NANI-Nithin/G9v3-3B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use NANI-Nithin/G9v3-3B-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 NANI-Nithin/G9v3-3B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf NANI-Nithin/G9v3-3B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf NANI-Nithin/G9v3-3B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf NANI-Nithin/G9v3-3B-GGUF:Q4_K_M
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 NANI-Nithin/G9v3-3B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf NANI-Nithin/G9v3-3B-GGUF:Q4_K_M
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 NANI-Nithin/G9v3-3B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf NANI-Nithin/G9v3-3B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/NANI-Nithin/G9v3-3B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use NANI-Nithin/G9v3-3B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NANI-Nithin/G9v3-3B-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": "NANI-Nithin/G9v3-3B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/NANI-Nithin/G9v3-3B-GGUF:Q4_K_M
- Ollama
How to use NANI-Nithin/G9v3-3B-GGUF with Ollama:
ollama run hf.co/NANI-Nithin/G9v3-3B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use NANI-Nithin/G9v3-3B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NANI-Nithin/G9v3-3B-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "NANI-Nithin/G9v3-3B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use NANI-Nithin/G9v3-3B-GGUF with Docker Model Runner:
docker model run hf.co/NANI-Nithin/G9v3-3B-GGUF:Q4_K_M
- Lemonade
How to use NANI-Nithin/G9v3-3B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NANI-Nithin/G9v3-3B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.G9v3-3B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use NANI-Nithin/G9v3-3B-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 NANI-Nithin/G9v3-3B-GGUF:Q4_K_M
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 NANI-Nithin/G9v3-3B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use NANI-Nithin/G9v3-3B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NANI-Nithin/G9v3-3B-GGUF:Q4_K_M
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 "NANI-Nithin/G9v3-3B-GGUF:Q4_K_M" \ --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"
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model:
|
| 4 |
+
- ai9stars/G9v3-3B
|
| 5 |
+
library_name: llama.cpp
|
| 6 |
+
tags:
|
| 7 |
+
- gguf
|
| 8 |
+
- llama-cpp
|
| 9 |
+
- text-generation
|
| 10 |
+
- conversational
|
| 11 |
+
- quantized
|
| 12 |
+
- 3b
|
| 13 |
+
- ai9stars
|
| 14 |
+
language:
|
| 15 |
+
- en
|
| 16 |
+
pipeline_tag: text-generation
|
| 17 |
+
quantized_by: NANI-Nithin
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# G9v3-3B-GGUF
|
| 21 |
+
|
| 22 |
+
GGUF quantized releases of **[ai9stars/G9v3-3B](https://huggingface.co/ai9stars/G9v3-3B)** for llama.cpp and compatible runtimes.
|
| 23 |
+
|
| 24 |
+
## Model Information
|
| 25 |
+
|
| 26 |
+
- **Base Model:** ai9stars/G9v3-3B
|
| 27 |
+
- **Parameter Size:** 3B
|
| 28 |
+
- **Format:** GGUF
|
| 29 |
+
- **Quantized By:** NANI-Nithin
|
| 30 |
+
- **Quantization Tool:** llama.cpp
|
| 31 |
+
|
| 32 |
+
## Available Files
|
| 33 |
+
|
| 34 |
+
### 2-bit
|
| 35 |
+
|
| 36 |
+
- Q2_K
|
| 37 |
+
- IQ2_M
|
| 38 |
+
- Q2_K_L
|
| 39 |
+
|
| 40 |
+
### 3-bit
|
| 41 |
+
|
| 42 |
+
- IQ3_XXS
|
| 43 |
+
- IQ3_XS
|
| 44 |
+
- Q3_K_S
|
| 45 |
+
- IQ3_M
|
| 46 |
+
- Q3_K_M
|
| 47 |
+
- Q3_K_L
|
| 48 |
+
- Q3_K_XL
|
| 49 |
+
|
| 50 |
+
### 4-bit
|
| 51 |
+
|
| 52 |
+
- IQ4_XS
|
| 53 |
+
- IQ4_NL
|
| 54 |
+
- Q4_0
|
| 55 |
+
- Q4_1
|
| 56 |
+
- Q4_K_S
|
| 57 |
+
- Q4_K_M
|
| 58 |
+
|
| 59 |
+
### 5-bit
|
| 60 |
+
|
| 61 |
+
- Q5_K_S
|
| 62 |
+
- Q5_K_M
|
| 63 |
+
|
| 64 |
+
### 6-bit
|
| 65 |
+
|
| 66 |
+
- Q6_K
|
| 67 |
+
- Q6_K_L
|
| 68 |
+
|
| 69 |
+
### 8-bit
|
| 70 |
+
|
| 71 |
+
- Q8_0
|
| 72 |
+
|
| 73 |
+
### Full Precision
|
| 74 |
+
|
| 75 |
+
- F16/BF16 GGUF
|
| 76 |
+
|
| 77 |
+
## Recommended Quantizations
|
| 78 |
+
|
| 79 |
+
### Best Overall
|
| 80 |
+
|
| 81 |
+
**Q4_K_M**
|
| 82 |
+
|
| 83 |
+
Recommended for most users. Excellent balance of quality, memory usage, and speed.
|
| 84 |
+
|
| 85 |
+
### Higher Quality
|
| 86 |
+
|
| 87 |
+
**Q5_K_M** or **Q6_K**
|
| 88 |
+
|
| 89 |
+
For users seeking maximum quality while still benefiting from quantization.
|
| 90 |
+
|
| 91 |
+
### Best IQ Quant
|
| 92 |
+
|
| 93 |
+
**IQ4_NL**
|
| 94 |
+
|
| 95 |
+
Excellent quality-per-GB and one of the strongest modern importance-aware quantizations.
|
| 96 |
+
|
| 97 |
+
### Low Memory Systems
|
| 98 |
+
|
| 99 |
+
**IQ3_M** or **Q3_K_M**
|
| 100 |
+
|
| 101 |
+
Good balance of usability and reduced memory requirements.
|
| 102 |
+
|
| 103 |
+
## IQ Quantizations
|
| 104 |
+
|
| 105 |
+
The following importance-aware quantizations are included:
|
| 106 |
+
|
| 107 |
+
- IQ2_M
|
| 108 |
+
- IQ3_XXS
|
| 109 |
+
- IQ3_XS
|
| 110 |
+
- IQ3_M
|
| 111 |
+
- IQ4_XS
|
| 112 |
+
- IQ4_NL
|
| 113 |
+
|
| 114 |
+
These quantizations were generated using an importance matrix (imatrix) calibration pass and typically provide improved quality retention compared to traditional quantization methods at similar file sizes.
|
| 115 |
+
|
| 116 |
+
## Usage
|
| 117 |
+
|
| 118 |
+
### llama.cpp
|
| 119 |
+
|
| 120 |
+
```bash
|
| 121 |
+
./llama-cli \
|
| 122 |
+
-m G9v3-3B-Q4_K_M.gguf \
|
| 123 |
+
-p "Hello!"
|
| 124 |
+
```
|
| 125 |
+
|
| 126 |
+
### Ollama
|
| 127 |
+
|
| 128 |
+
Create a Modelfile:
|
| 129 |
+
|
| 130 |
+
```text
|
| 131 |
+
FROM ./G9v3-3B-Q4_K_M.gguf
|
| 132 |
+
```
|
| 133 |
+
|
| 134 |
+
Then:
|
| 135 |
+
|
| 136 |
+
```bash
|
| 137 |
+
ollama create g9v3-3b -f Modelfile
|
| 138 |
+
ollama run g9v3-3b
|
| 139 |
+
```
|
| 140 |
+
|
| 141 |
+
### LM Studio
|
| 142 |
+
|
| 143 |
+
Download the desired GGUF file and import it directly into LM Studio.
|
| 144 |
+
|
| 145 |
+
## Credits
|
| 146 |
+
|
| 147 |
+
- Original Model: **ai9stars/G9v3-3B**
|
| 148 |
+
- GGUF Conversion & Quantization: **NANI-Nithin**
|
| 149 |
+
- Quantization Framework: **llama.cpp**
|
| 150 |
+
|
| 151 |
+
## Disclaimer
|
| 152 |
+
|
| 153 |
+
This repository contains converted GGUF files only.
|
| 154 |
+
|
| 155 |
+
Please refer to the original model repository for licensing terms, training methodology, benchmark results, intended use, limitations, and safety information.
|
| 156 |
+
|
| 157 |
+
Original model:
|
| 158 |
+
|
| 159 |
+
https://huggingface.co/ai9stars/G9v3-3B
|