Instructions to use funbotlearning/funbot-tutor-4b-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 funbotlearning/funbot-tutor-4b-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 funbotlearning/funbot-tutor-4b-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf funbotlearning/funbot-tutor-4b-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 funbotlearning/funbot-tutor-4b-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf funbotlearning/funbot-tutor-4b-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf funbotlearning/funbot-tutor-4b-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf funbotlearning/funbot-tutor-4b-gguf:Q4_K_M
Use Docker
docker model run hf.co/funbotlearning/funbot-tutor-4b-gguf:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use funbotlearning/funbot-tutor-4b-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "funbotlearning/funbot-tutor-4b-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": "funbotlearning/funbot-tutor-4b-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/funbotlearning/funbot-tutor-4b-gguf:Q4_K_M
- Ollama
How to use funbotlearning/funbot-tutor-4b-gguf with Ollama:
ollama run hf.co/funbotlearning/funbot-tutor-4b-gguf:Q4_K_M
- Unsloth Desktop
- Pi
How to use funbotlearning/funbot-tutor-4b-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf funbotlearning/funbot-tutor-4b-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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "funbotlearning/funbot-tutor-4b-gguf:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use funbotlearning/funbot-tutor-4b-gguf with Docker Model Runner:
docker model run hf.co/funbotlearning/funbot-tutor-4b-gguf:Q4_K_M
- Lemonade
How to use funbotlearning/funbot-tutor-4b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull funbotlearning/funbot-tutor-4b-gguf:Q4_K_M
Run and chat with the model
lemonade run user.funbot-tutor-4b-gguf-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use funbotlearning/funbot-tutor-4b-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 funbotlearning/funbot-tutor-4b-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:9931/v1 hermes config set model.default funbotlearning/funbot-tutor-4b-gguf:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use funbotlearning/funbot-tutor-4b-gguf with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf funbotlearning/funbot-tutor-4b-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:9931/v1 \ --custom-model-id "funbotlearning/funbot-tutor-4b-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"
|
Download README.md from funbotlearning/funbot-tutor-4b-gguf: direct link, hf CLI and curl.
- Browser
- Download file 3.53 kB
-
https://huggingface.co/funbotlearning/funbot-tutor-4b-gguf/resolve/main/README.md
- Command line
-
hf download hf://funbotlearning/funbot-tutor-4b-gguf/README.md
-
curl -L -o README.md https://huggingface.co/funbotlearning/funbot-tutor-4b-gguf/resolve/main/README.md
3.53 kB
| language: | |
| - en | |
| license: apache-2.0 | |
| library_name: gguf | |
| pipeline_tag: text-generation | |
| base_model: Qwen/Qwen3.5-4B | |
| base_model_relation: finetune | |
| tags: | |
| - gguf | |
| - qwen3.5 | |
| - education | |
| - tutoring | |
| - llama.cpp | |
| - funbot | |
| # Funbot Tutor 4B (GGUF Q4_K_M) | |
| Funbot Tutor is a small language model used by the Funbot desktop app as a K-12 homework coach. It is trained to walk a student through a problem with questions and hints, not to hand over finished answers, sentences, or papers. | |
| This repository contains a **Q4_K_M GGUF** export of a QLoRA fine-tune of [Qwen/Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B). | |
| ## Model details | |
| - **Name:** Funbot Tutor 4B | |
| - **Role:** default local tutor in the Funbot app | |
| - **Base model:** [Qwen/Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B) | |
| - **Base license:** Apache-2.0 (this fine-tune is released under the same license) | |
| - **Fine-tune method:** QLoRA (LoRA rank 16), then merged into the base weights | |
| - **Quantization:** GGUF `Q4_K_M` | |
| - **File:** `funbot-tutor-4b-Q4_K_M.gguf` | |
| - **Size:** 2,783,446,432 bytes (2.592 GiB) | |
| - **SHA-256:** `e759d5c5cf2c9278b0e131de708ad8c8b8d929e9df6b91b665c51b1bf10949e5` | |
| - **Intended runtime:** [llama.cpp](https://github.com/ggml-org/llama.cpp) and the Funbot desktop app | |
| ## Intended use | |
| This model is intended to be used with the Funbot desktop app, which supplies the system prompt, safety checks, and lesson context. In that setting it is meant to: | |
| - Coach K-12 students with guiding questions and hints | |
| - Avoid writing finished homework answers for the student | |
| - Run privately on the family's own computer | |
| It can be loaded in any llama.cpp-compatible tool for evaluation, but behavior outside the Funbot app prompt may differ. | |
| ## Limitations | |
| - This is a quantized 4-bit GGUF, so quality is lower than the full-precision merged weights. | |
| - Like any language model, it can be inaccurate, skip a step, or go off track. It is not a teacher or a grader. A parent or teacher should stay in the loop. | |
| - It was trained as a tutor, not as a general-purpose assistant. | |
| - Safety and coaching behavior depend in part on the Funbot app prompt and checks. Using the raw GGUF without those may produce different results. | |
| ## Measured speed (one test machine) | |
| Measured on RTX 3080 10GB, Ryzen 9 5900X (12 threads), llama.cpp b12343 Vulkan, `llama-bench` pp256/tg64, 2 reps: | |
| - GPU full offload (`ngl 99`): 138.2 tokens/s generation, 4515.5 tokens/s prompt processing | |
| - CPU only (`ngl 0`): 7.4 tokens/s generation | |
| These numbers are from a single machine and are not a hardware requirement. | |
| ## License and attribution | |
| Released under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), the same license as the Qwen3.5 base model. | |
| This model is a fine-tune of [Qwen/Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B) by the Qwen team at Alibaba Cloud. Please review the base model card and license when you use or redistribute these weights. | |
| Created by Funbot Learning ([funbotlearning](https://huggingface.co/funbotlearning)), with work by [zernon916](https://huggingface.co/zernon916). | |
| ## Training (summary) | |
| - Fine-tuned with QLoRA on a Funbot teaching mix of tutoring conversations | |
| - 3 epochs, LoRA rank 16, LoRA alpha 16, max sequence length 4096 | |
| - Merged adapter weights, then exported to GGUF `Q4_K_M` | |
| ## How to use (llama.cpp) | |
| ```bash | |
| llama-cli -m funbot-tutor-4b-Q4_K_M.gguf | |
| ``` | |
| Prefer the Funbot app for the intended coaching behavior. | |