Instructions to use antking1/KIM-coach with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use antking1/KIM-coach with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="antking1/KIM-coach", filename="kim-coach.Q8_0.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use antking1/KIM-coach 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 antking1/KIM-coach:Q8_0 # Run inference directly in the terminal: llama cli -hf antking1/KIM-coach:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf antking1/KIM-coach:Q8_0 # Run inference directly in the terminal: llama cli -hf antking1/KIM-coach:Q8_0
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 antking1/KIM-coach:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf antking1/KIM-coach:Q8_0
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 antking1/KIM-coach:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf antking1/KIM-coach:Q8_0
Use Docker
docker model run hf.co/antking1/KIM-coach:Q8_0
- LM Studio
- Jan
- Ollama
How to use antking1/KIM-coach with Ollama:
ollama run hf.co/antking1/KIM-coach:Q8_0
- Unsloth Studio
How to use antking1/KIM-coach 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 antking1/KIM-coach 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 antking1/KIM-coach to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for antking1/KIM-coach to start chatting
- Atomic Chat new
- Docker Model Runner
How to use antking1/KIM-coach with Docker Model Runner:
docker model run hf.co/antking1/KIM-coach:Q8_0
- Lemonade
How to use antking1/KIM-coach with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull antking1/KIM-coach:Q8_0
Run and chat with the model
lemonade run user.KIM-coach-Q8_0
List all available models
lemonade list
llm.create_chat_completion(
messages = "No input example has been defined for this model task."
)KIM-Coach v3 — Gymnastics Coaching LLM
Fine-tuned Gemma 3 4B for generating motor-instruction coaching cues from motion analysis data.
What Changed in v3
| Version | Training Pairs | Key Improvement | Val Loss |
|---|---|---|---|
| v1 | 1,538 | First fine-tune, assessment-style templates | 0.140 → 0.070 |
| v2 | 1,538 | Motor instruction templates (action verbs, feel cues) | 0.110 → 0.070 |
| v3 | 3,798 | Directional error taxonomy + output diversity | 0.110 → 0.067 |
v3 Improvements
- Directional error taxonomy: 10 categories (insufficient_extension, over_flexion, timing_early/late, balance_loss, etc.) grounded in LucidAction penalties, USAG deductions, and real Habitude app data
- 2-3 output variations per input: same divergence pattern gets different coaching language, breaking template memorization
- 50 gold-standard cues as style anchors (hand-written by coaching framework)
- Novel cue generation: model composes cues it was never explicitly trained on
Evidence of Generalization (v3)
v1/v2 produced verbatim copies of training data. v3 generates novel coaching cues:
- Input: torso divergence during takeoff
- Expected: "hips level, midline braced"
- Predicted: "hips over hands, arched bridge during the takeoff — you should feel hips pushing forward"
- Both are valid motor instructions — the model learned the pattern, not the template
Pipeline
Input Format
Output Format
Training Details
- Base model: google/gemma-3-4b-it (4-bit quantized via Unsloth)
- Method: LoRA (r=16, alpha=16, dropout=0)
- Data: 3,427 train / 371 val pairs from KIM VQ-VAE codec + directional error taxonomy
- Training: 3 epochs, batch size 8, lr 2e-4, A100 GPU, ~77 minutes
- Best val loss: 0.067 at step 1200
Part of KIM (Kinematic Instruction Model)
- Codec: antking1/KIM
- Coach: antking1/KIM-coach (this model)
- Downloads last month
- 24
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="antking1/KIM-coach", filename="kim-coach.Q8_0.gguf", )