Instructions to use TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental 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 TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental 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 TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental:Q4_K_M # Run inference directly in the terminal: llama cli -hf TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental:Q4_K_M # Run inference directly in the terminal: llama cli -hf TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental: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 TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental: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 TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental:Q4_K_M
Use Docker
docker model run hf.co/TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental with Ollama:
ollama run hf.co/TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental:Q4_K_M
- Unsloth Studio
How to use TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental 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 TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental 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 TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental to start chatting
- Pi
How to use TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental: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": "TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental with Docker Model Runner:
docker model run hf.co/TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental:Q4_K_M
- Lemonade
How to use TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental:Q4_K_M
Run and chat with the model
lemonade run user.Ling3.0-tiny-gguf-experimental-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental: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 TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental: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 "TheWirelessPhoenix/Ling3.0-tiny-gguf-experimental: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,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
library_name: llama.cpp
|
| 4 |
+
tags:
|
| 5 |
+
- gguf
|
| 6 |
+
- llama.cpp
|
| 7 |
+
- bailing-hybrid
|
| 8 |
+
- ling
|
| 9 |
+
- hybrid-kda-mla
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Ling 3.0 Tiny - experimental GGUF conversions
|
| 13 |
+
|
| 14 |
+
This repository contains highly experimental GGUF conversions of [`inclusionAI/Ling-3.0-tiny`](https://huggingface.co/inclusionAI/Ling-3.0-tiny) for an experimental `bailing-hybrid` implementation in llama.cpp.
|
| 15 |
+
|
| 16 |
+
These files should **not** be treated as stable, production-ready, or numerically certified conversions. The hybrid architecture combines KDA recurrent layers with gated MLA layers and MoE layers, and requires the accompanying experimental llama.cpp source snapshot. A stock llama.cpp checkout may not recognize this architecture.
|
| 17 |
+
|
| 18 |
+
## Files
|
| 19 |
+
|
| 20 |
+
| File | Format | Size | SHA-256 |
|
| 21 |
+
|---|---:|---:|---|
|
| 22 |
+
| `Ling-3.0-tiny-F16.gguf` | F16 reference conversion | 15,803,475,488 bytes | `51b812d28fdab4d13caf9c5325fa1c99aeb2687644ebcf2bef393d9be51c82dc` |
|
| 23 |
+
| `Ling-3.0-tiny-Q5_K_M.gguf` | Q5_K_M | 5,635,443,552 bytes | `0f8159fa1a72d1997f89c121f9bedcf502ad1e8fc2f6e6196b22818fc3378080` |
|
| 24 |
+
| `Ling-3.0-tiny-Q4_K_M.gguf` | Q4_K_M | 4,823,894,880 bytes | `b1cffbbb88770fe3d0de375892f540c5a8997fa441c5ea0a94b19319dcb9a55c` |
|
| 25 |
+
|
| 26 |
+
The quantized files were created directly from the F16 GGUF with llama.cpp's `llama-quantize`. The standard mixed K-quant behavior was used; six small tensors in each quantization required the quantizer's fallback type because their shapes are not compatible with the requested block format.
|
| 27 |
+
|
| 28 |
+
## Validation performed
|
| 29 |
+
|
| 30 |
+
- GGUF metadata and tensor descriptors loaded successfully.
|
| 31 |
+
- The F16 conversion contains 526 tensors and records the `bailing-hybrid` architecture.
|
| 32 |
+
- Q5_K_M and Q4_K_M both loaded successfully in the experimental llama.cpp runtime.
|
| 33 |
+
- On an Apple M5, both quantized files offloaded all 25 model layers to `MTL0` and completed a short generation test.
|
| 34 |
+
- The build used for validation had `GGML_METAL=ON` with embedded Metal shaders.
|
| 35 |
+
|
| 36 |
+
Metal support belongs to the llama.cpp runtime rather than the GGUF file itself. Use a build with the experimental architecture changes and Metal enabled if you want GPU offload on Apple hardware.
|
| 37 |
+
|
| 38 |
+
## Important limitations
|
| 39 |
+
|
| 40 |
+
This is a **very, very experimental** port. It has not received full long-context, concurrency, state rollback, cross-backend, or exact Hugging Face logits-parity validation. The successful smoke tests are not a guarantee of general correctness or model quality. The F16 file is a reference conversion, not a claim of upstream compatibility.
|
| 41 |
+
|
| 42 |
+
If stability, reproducibility, or production reliability is important, please use a more established model conversion and a llama.cpp release with official support instead of these files.
|
| 43 |
+
|
| 44 |
+
The `Ling3.0-tiny-llama.cpp-source-experimental.zip` archive contains the source snapshot used for this conversion, including the local experimental changes. It intentionally excludes `.git`, `.venv`, and generated `build` contents, including `build/bin`.
|