Instructions to use bartowski/Ling-3.0-tiny-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 bartowski/Ling-3.0-tiny-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 bartowski/Ling-3.0-tiny-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf bartowski/Ling-3.0-tiny-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 bartowski/Ling-3.0-tiny-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf bartowski/Ling-3.0-tiny-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 bartowski/Ling-3.0-tiny-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf bartowski/Ling-3.0-tiny-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 bartowski/Ling-3.0-tiny-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf bartowski/Ling-3.0-tiny-GGUF:Q4_K_M
Use Docker
docker model run hf.co/bartowski/Ling-3.0-tiny-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use bartowski/Ling-3.0-tiny-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "bartowski/Ling-3.0-tiny-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": "bartowski/Ling-3.0-tiny-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/bartowski/Ling-3.0-tiny-GGUF:Q4_K_M
- Ollama
How to use bartowski/Ling-3.0-tiny-GGUF with Ollama:
ollama run hf.co/bartowski/Ling-3.0-tiny-GGUF:Q4_K_M
- Unsloth Studio
How to use bartowski/Ling-3.0-tiny-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 bartowski/Ling-3.0-tiny-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 bartowski/Ling-3.0-tiny-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for bartowski/Ling-3.0-tiny-GGUF to start chatting
- Pi
How to use bartowski/Ling-3.0-tiny-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bartowski/Ling-3.0-tiny-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": "bartowski/Ling-3.0-tiny-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use bartowski/Ling-3.0-tiny-GGUF with Docker Model Runner:
docker model run hf.co/bartowski/Ling-3.0-tiny-GGUF:Q4_K_M
- Lemonade
How to use bartowski/Ling-3.0-tiny-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bartowski/Ling-3.0-tiny-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Ling-3.0-tiny-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use bartowski/Ling-3.0-tiny-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 bartowski/Ling-3.0-tiny-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 bartowski/Ling-3.0-tiny-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use bartowski/Ling-3.0-tiny-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bartowski/Ling-3.0-tiny-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 "bartowski/Ling-3.0-tiny-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"
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,308 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
quantized_by: bartowski
|
| 3 |
+
pipeline_tag: text-generation
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
## Llamacpp imatrix Quantizations of Ling-3.0-tiny by inclusionAI
|
| 7 |
+
|
| 8 |
+
Using <a href="https://github.com/ggml-org/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggml-org/llama.cpp/releases/tag/b10472">b10472</a> for quantization.
|
| 9 |
+
|
| 10 |
+
Original model: https://huggingface.co/inclusionAI/Ling-3.0-tiny
|
| 11 |
+
|
| 12 |
+
**Model details:**
|
| 13 |
+
- Parameter count: 8B
|
| 14 |
+
- Input support: text
|
| 15 |
+
- Speculative decoding: no
|
| 16 |
+
- imatrix: yes - [details](#imatrix)
|
| 17 |
+
- Perplexity/KLD measured: no
|
| 18 |
+
|
| 19 |
+
[How to run](#how-to-run)
|
| 20 |
+
|
| 21 |
+
## Prompt format
|
| 22 |
+
|
| 23 |
+
```
|
| 24 |
+
<role>SYSTEM</role>{system_prompt}
|
| 25 |
+
detailed thinking on<|role_end|><role>HUMAN</role>{prompt}<|role_end|><role>ASSISTANT</role>
|
| 26 |
+
<think>
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
**Don't know which to choose?** Grab [Q4_K_M](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q4_K_M.gguf) (4.92GB) - usually a good mix of size and performance. Download instructions available [here](#downloading-using-the-hugging-face-cli)
|
| 30 |
+
|
| 31 |
+
## Available files:
|
| 32 |
+
|
| 33 |
+
| Filename | Quant type | File Size | Split | Description |
|
| 34 |
+
| -------- | ---------- | --------- | ----- | ----------- |
|
| 35 |
+
| [Ling-3.0-tiny-bf16.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-bf16.gguf) | bf16 | 15.80GB | false | Full BF16 weights. |
|
| 36 |
+
| [Ling-3.0-tiny-Q8_0.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q8_0.gguf) | Q8_0 | 8.41GB | false | Extremely high quality, generally unneeded but max available quant. |
|
| 37 |
+
| [Ling-3.0-tiny-Q6_K_L.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q6_K_L.gguf) | Q6_K_L | 6.96GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
|
| 38 |
+
| [Ling-3.0-tiny-Q6_K.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q6_K.gguf) | Q6_K | 6.84GB | false | Very high quality, near perfect, *recommended*. |
|
| 39 |
+
| [Ling-3.0-tiny-Q5_K_L.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q5_K_L.gguf) | Q5_K_L | 5.87GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
|
| 40 |
+
| [Ling-3.0-tiny-Q5_K_M.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q5_K_M.gguf) | Q5_K_M | 5.72GB | false | High quality, *recommended*. |
|
| 41 |
+
| [Ling-3.0-tiny-Q5_K_S.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q5_K_S.gguf) | Q5_K_S | 5.55GB | false | High quality, *recommended*. |
|
| 42 |
+
| [Ling-3.0-tiny-Q4_K_L.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q4_K_L.gguf) | Q4_K_L | 5.10GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
|
| 43 |
+
| [Ling-3.0-tiny-Q4_1.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q4_1.gguf) | Q4_1 | 5.08GB | false | Legacy format, similar performance to Q4_K_S but with improved tokens/watt on Apple silicon. |
|
| 44 |
+
| [Ling-3.0-tiny-Q4_K_M.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q4_K_M.gguf) | Q4_K_M | 4.92GB | false | Good quality, default size for most use cases, *recommended*. |
|
| 45 |
+
| [Ling-3.0-tiny-Q4_K_S.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q4_K_S.gguf) | Q4_K_S | 4.75GB | false | Slightly lower quality with more space savings, *recommended*. |
|
| 46 |
+
| [Ling-3.0-tiny-Q4_0.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q4_0.gguf) | Q4_0 | 4.62GB | false | Legacy format, kept for compatibility with older tools. |
|
| 47 |
+
| [Ling-3.0-tiny-IQ4_NL.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ4_NL.gguf) | IQ4_NL | 4.62GB | false | Similar to IQ4_XS, but slightly larger. |
|
| 48 |
+
| [Ling-3.0-tiny-IQ4_XS.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ4_XS.gguf) | IQ4_XS | 4.39GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
|
| 49 |
+
| [Ling-3.0-tiny-Q3_K_XL.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q3_K_XL.gguf) | Q3_K_XL | 4.13GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
|
| 50 |
+
| [Ling-3.0-tiny-IQ3_M.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ3_M.gguf) | IQ3_M | 3.93GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
|
| 51 |
+
| [Ling-3.0-tiny-Q3_K_L.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q3_K_L.gguf) | Q3_K_L | 3.91GB | false | Lower quality but usable, good for low RAM availability. |
|
| 52 |
+
| [Ling-3.0-tiny-Q3_K_M.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q3_K_M.gguf) | Q3_K_M | 3.79GB | false | Low quality. |
|
| 53 |
+
| [Ling-3.0-tiny-IQ3_XS.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ3_XS.gguf) | IQ3_XS | 3.78GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
|
| 54 |
+
| [Ling-3.0-tiny-Q3_K_S.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q3_K_S.gguf) | Q3_K_S | 3.64GB | false | Low quality, not recommended. |
|
| 55 |
+
| [Ling-3.0-tiny-IQ3_XXS.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ3_XXS.gguf) | IQ3_XXS | 3.46GB | false | Lower quality, new method with decent performance, comparable to Q3 quants. |
|
| 56 |
+
| [Ling-3.0-tiny-Q2_K_L.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q2_K_L.gguf) | Q2_K_L | 3.24GB | false | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. |
|
| 57 |
+
| [Ling-3.0-tiny-Q2_K.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-Q2_K.gguf) | Q2_K | 3.00GB | false | Very low quality but surprisingly usable. |
|
| 58 |
+
| [Ling-3.0-tiny-IQ2_M.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-IQ2_M.gguf) | IQ2_M | 2.83GB | false | Relatively low quality, uses SOTA techniques to be surprisingly usable. |
|
| 59 |
+
|
| 60 |
+
Download a specific file:
|
| 61 |
+
|
| 62 |
+
```
|
| 63 |
+
hf download bartowski/Ling-3.0-tiny-GGUF --include "Ling-3.0-tiny-Q4_K_M.gguf" --local-dir ./
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
## Downloading using the Hugging Face CLI
|
| 67 |
+
|
| 68 |
+
<details>
|
| 69 |
+
<summary>Click to view download instructions</summary>
|
| 70 |
+
|
| 71 |
+
First, make sure you have the Hugging Face CLI installed:
|
| 72 |
+
|
| 73 |
+
```
|
| 74 |
+
pip install -U "huggingface_hub[cli]"
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
Download a specific file:
|
| 78 |
+
|
| 79 |
+
```
|
| 80 |
+
hf download bartowski/Ling-3.0-tiny-GGUF --include "Ling-3.0-tiny-Q4_K_M.gguf" --local-dir ./
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
</details>
|
| 84 |
+
|
| 85 |
+
## How to run
|
| 86 |
+
|
| 87 |
+
These quants run with [llama.cpp](https://github.com/ggml-org/llama.cpp) - installable in one line via [llama.app](https://llama.app/):
|
| 88 |
+
|
| 89 |
+
```
|
| 90 |
+
curl -LsSf https://llama.app/install.sh | sh
|
| 91 |
+
llama-server -hf bartowski/Ling-3.0-tiny-GGUF:Q4_K_M
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
llama-server includes a built-in chat web UI, served at http://localhost:8080 by default.
|
| 95 |
+
|
| 96 |
+
These quants were made with llama.cpp release b10472 - if this model's architecture is newly supported, you'll need that release or newer to run them.
|
| 97 |
+
|
| 98 |
+
They also work in: [LM Studio](https://lmstudio.ai/) 路 [koboldcpp](https://github.com/LostRuins/koboldcpp) 路 [ramalama](https://github.com/containers/ramalama) 路 [Jan AI](https://www.jan.ai/) 路 [Text Generation Web UI](https://github.com/oobabooga/text-generation-webui) 路 [LoLLMs](https://github.com/ParisNeo/lollms) 路 [Atomic Chat](https://atomic.chat/)
|
| 99 |
+
|
| 100 |
+
## imatrix
|
| 101 |
+
|
| 102 |
+
All quants made using imatrix option, with a calibration corpus rendered through this model's own chat template. The corpus pairs plain prose with tool-calling and reasoning conversations ([corpus source data](https://gist.github.com/bartowski1182/e26453c0404e24eb317543ec5360f87a)), encoded exactly as this model sees them at inference and processed with `--parse-special`, so chat-format special tokens contribute to the importance matrix. The corpus rendered for this model is included in this repo: [Ling-3.0-tiny-calibration-v6.txt](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-calibration-v6.txt). The imatrix is available here: [Ling-3.0-tiny-imatrix.gguf](https://huggingface.co/bartowski/Ling-3.0-tiny-GGUF/blob/main/Ling-3.0-tiny-imatrix.gguf).
|
| 103 |
+
|
| 104 |
+
<details>
|
| 105 |
+
<summary>Calibration render details</summary>
|
| 106 |
+
|
| 107 |
+
```json
|
| 108 |
+
{
|
| 109 |
+
"generator": "auto_quant_v2 calibration renderer",
|
| 110 |
+
"recipe": "calibration-v6",
|
| 111 |
+
"model": "Ling-3.0-tiny",
|
| 112 |
+
"encoder": "chat_template",
|
| 113 |
+
"chunk_size": 512,
|
| 114 |
+
"prose_chunks": 220,
|
| 115 |
+
"tool_chunks": 345,
|
| 116 |
+
"total_chunks": 565,
|
| 117 |
+
"tool_chunk_fraction": 0.611,
|
| 118 |
+
"n_conversations": 137,
|
| 119 |
+
"extension_convs_used": 0,
|
| 120 |
+
"conversation_token_lengths": [
|
| 121 |
+
523,
|
| 122 |
+
1594,
|
| 123 |
+
1193,
|
| 124 |
+
1476,
|
| 125 |
+
1046,
|
| 126 |
+
1300,
|
| 127 |
+
3127,
|
| 128 |
+
754,
|
| 129 |
+
1163,
|
| 130 |
+
1353,
|
| 131 |
+
1019,
|
| 132 |
+
2059,
|
| 133 |
+
836,
|
| 134 |
+
1200,
|
| 135 |
+
2755,
|
| 136 |
+
1189,
|
| 137 |
+
1099,
|
| 138 |
+
948,
|
| 139 |
+
694,
|
| 140 |
+
677,
|
| 141 |
+
1326,
|
| 142 |
+
990,
|
| 143 |
+
1308,
|
| 144 |
+
1167,
|
| 145 |
+
1839,
|
| 146 |
+
1463,
|
| 147 |
+
1601,
|
| 148 |
+
844,
|
| 149 |
+
1376,
|
| 150 |
+
1604,
|
| 151 |
+
1472,
|
| 152 |
+
1161,
|
| 153 |
+
1211,
|
| 154 |
+
1003,
|
| 155 |
+
1019,
|
| 156 |
+
1650,
|
| 157 |
+
1619,
|
| 158 |
+
1147,
|
| 159 |
+
433,
|
| 160 |
+
1912,
|
| 161 |
+
1392,
|
| 162 |
+
1048,
|
| 163 |
+
1355,
|
| 164 |
+
1973,
|
| 165 |
+
2023,
|
| 166 |
+
1230,
|
| 167 |
+
1569,
|
| 168 |
+
824,
|
| 169 |
+
2903,
|
| 170 |
+
1063,
|
| 171 |
+
2811,
|
| 172 |
+
723,
|
| 173 |
+
955,
|
| 174 |
+
915,
|
| 175 |
+
924,
|
| 176 |
+
655,
|
| 177 |
+
2396,
|
| 178 |
+
840,
|
| 179 |
+
1100,
|
| 180 |
+
1045,
|
| 181 |
+
1166,
|
| 182 |
+
1133,
|
| 183 |
+
868,
|
| 184 |
+
1151,
|
| 185 |
+
1114,
|
| 186 |
+
1530,
|
| 187 |
+
873,
|
| 188 |
+
1483,
|
| 189 |
+
2099,
|
| 190 |
+
803,
|
| 191 |
+
333,
|
| 192 |
+
1071,
|
| 193 |
+
3285,
|
| 194 |
+
2856,
|
| 195 |
+
671,
|
| 196 |
+
865,
|
| 197 |
+
974,
|
| 198 |
+
1022,
|
| 199 |
+
1244,
|
| 200 |
+
1052,
|
| 201 |
+
1074,
|
| 202 |
+
753,
|
| 203 |
+
1152,
|
| 204 |
+
983,
|
| 205 |
+
1244,
|
| 206 |
+
1468,
|
| 207 |
+
1321,
|
| 208 |
+
2041,
|
| 209 |
+
795,
|
| 210 |
+
608,
|
| 211 |
+
2714,
|
| 212 |
+
658,
|
| 213 |
+
1345,
|
| 214 |
+
1626,
|
| 215 |
+
1936,
|
| 216 |
+
1168,
|
| 217 |
+
581,
|
| 218 |
+
1336,
|
| 219 |
+
1136,
|
| 220 |
+
1653,
|
| 221 |
+
1759,
|
| 222 |
+
1625,
|
| 223 |
+
782,
|
| 224 |
+
961,
|
| 225 |
+
976,
|
| 226 |
+
2730,
|
| 227 |
+
697,
|
| 228 |
+
679,
|
| 229 |
+
709,
|
| 230 |
+
1354,
|
| 231 |
+
1011,
|
| 232 |
+
1544,
|
| 233 |
+
731,
|
| 234 |
+
361,
|
| 235 |
+
327,
|
| 236 |
+
2569,
|
| 237 |
+
947,
|
| 238 |
+
1085,
|
| 239 |
+
1815,
|
| 240 |
+
1970,
|
| 241 |
+
2651,
|
| 242 |
+
2644,
|
| 243 |
+
759,
|
| 244 |
+
931,
|
| 245 |
+
797,
|
| 246 |
+
884,
|
| 247 |
+
1190,
|
| 248 |
+
944,
|
| 249 |
+
809,
|
| 250 |
+
1266,
|
| 251 |
+
793,
|
| 252 |
+
668,
|
| 253 |
+
1711,
|
| 254 |
+
965,
|
| 255 |
+
880,
|
| 256 |
+
1240,
|
| 257 |
+
1409
|
| 258 |
+
],
|
| 259 |
+
"warnings": []
|
| 260 |
+
}
|
| 261 |
+
```
|
| 262 |
+
|
| 263 |
+
</details>
|
| 264 |
+
|
| 265 |
+
## Embed/output weights
|
| 266 |
+
|
| 267 |
+
Some of these quants (Q3_K_XL, Q4_K_L etc) are the standard quantization method with the embeddings and output weights quantized to Q8_0 instead of what they would normally default to.
|
| 268 |
+
|
| 269 |
+
## ARM/AVX information
|
| 270 |
+
|
| 271 |
+
llama.cpp automatically "repacks" weights into an interleaved layout at load time for faster inference on ARM and AVX machines - details in [this PR](https://github.com/ggml-org/llama.cpp/pull/9921). This once required downloading special Q4_0_4_4/4_8/8_8 files; those are long gone. Online repacking now covers Q4_0, IQ4_NL, and most K-quants, so no special quant choice is needed for CPU inference.
|
| 272 |
+
|
| 273 |
+
## Which file should I choose?
|
| 274 |
+
|
| 275 |
+
<details>
|
| 276 |
+
<summary>Click here for details</summary>
|
| 277 |
+
|
| 278 |
+
An older (early 2024) but still useful write-up with charts comparing quant performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
|
| 279 |
+
|
| 280 |
+
The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have.
|
| 281 |
+
|
| 282 |
+
If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM.
|
| 283 |
+
|
| 284 |
+
If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total.
|
| 285 |
+
|
| 286 |
+
Hugging Face can also do this math for you: add your hardware in your [Local Apps settings](https://huggingface.co/settings/local-apps) and the model page will show which files fit.
|
| 287 |
+
|
| 288 |
+
Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
|
| 289 |
+
|
| 290 |
+
If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M.
|
| 291 |
+
|
| 292 |
+
If you want to get more into the weeds, you can check out this extremely useful feature chart:
|
| 293 |
+
|
| 294 |
+
[llama.cpp feature matrix](https://github.com/ggml-org/llama.cpp/wiki/Feature-matrix)
|
| 295 |
+
|
| 296 |
+
But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size.
|
| 297 |
+
|
| 298 |
+
These I-quants can also be used on CPU, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.
|
| 299 |
+
|
| 300 |
+
</details>
|
| 301 |
+
|
| 302 |
+
## Credits
|
| 303 |
+
|
| 304 |
+
Thank you kalomaze and Dampf for assistance in creating the imatrix calibration dataset.
|
| 305 |
+
|
| 306 |
+
Thank you ZeroWw for the inspiration to experiment with embed/output.
|
| 307 |
+
|
| 308 |
+
Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
|