Instructions to use solaarphunk/turbospeak-correction-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use solaarphunk/turbospeak-correction-model with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="solaarphunk/turbospeak-correction-model", filename="qwen3-1.7b-correction-q4_k_m.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use solaarphunk/turbospeak-correction-model 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 solaarphunk/turbospeak-correction-model:Q4_K_M # Run inference directly in the terminal: llama cli -hf solaarphunk/turbospeak-correction-model:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf solaarphunk/turbospeak-correction-model:Q4_K_M # Run inference directly in the terminal: llama cli -hf solaarphunk/turbospeak-correction-model: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 solaarphunk/turbospeak-correction-model:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf solaarphunk/turbospeak-correction-model: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 solaarphunk/turbospeak-correction-model:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf solaarphunk/turbospeak-correction-model:Q4_K_M
Use Docker
docker model run hf.co/solaarphunk/turbospeak-correction-model:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use solaarphunk/turbospeak-correction-model with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "solaarphunk/turbospeak-correction-model" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "solaarphunk/turbospeak-correction-model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/solaarphunk/turbospeak-correction-model:Q4_K_M
- Ollama
How to use solaarphunk/turbospeak-correction-model with Ollama:
ollama run hf.co/solaarphunk/turbospeak-correction-model:Q4_K_M
- Unsloth Studio
How to use solaarphunk/turbospeak-correction-model 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 solaarphunk/turbospeak-correction-model 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 solaarphunk/turbospeak-correction-model to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for solaarphunk/turbospeak-correction-model to start chatting
- Pi
How to use solaarphunk/turbospeak-correction-model with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf solaarphunk/turbospeak-correction-model:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "solaarphunk/turbospeak-correction-model:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use solaarphunk/turbospeak-correction-model with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf solaarphunk/turbospeak-correction-model: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 solaarphunk/turbospeak-correction-model:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use solaarphunk/turbospeak-correction-model with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf solaarphunk/turbospeak-correction-model: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 "solaarphunk/turbospeak-correction-model: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"
- Docker Model Runner
How to use solaarphunk/turbospeak-correction-model with Docker Model Runner:
docker model run hf.co/solaarphunk/turbospeak-correction-model:Q4_K_M
- Lemonade
How to use solaarphunk/turbospeak-correction-model with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull solaarphunk/turbospeak-correction-model:Q4_K_M
Run and chat with the model
lemonade run user.turbospeak-correction-model-Q4_K_M
List all available models
lemonade list
Update model card with v12b benchmark results
Browse files
README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: Qwen/Qwen3-1.7B
|
| 4 |
+
tags:
|
| 5 |
+
- gguf
|
| 6 |
+
- speech-to-text
|
| 7 |
+
- text-cleanup
|
| 8 |
+
- dictation
|
| 9 |
+
- lora
|
| 10 |
+
- qwen3
|
| 11 |
+
language:
|
| 12 |
+
- en
|
| 13 |
+
pipeline_tag: text-generation
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# TurboSpeak Correction Model
|
| 17 |
+
|
| 18 |
+
Fine-tuned Qwen3-1.7B (Q4_K_M quantization) for cleaning up speech transcription output.
|
| 19 |
+
|
| 20 |
+
## What it does
|
| 21 |
+
|
| 22 |
+
- Removes filler words (um, uh, like, you know, basically)
|
| 23 |
+
- Fixes stutters (w-w-want → want)
|
| 24 |
+
- Resolves mid-sentence self-corrections (speaker says X then corrects to Y → keeps only Y)
|
| 25 |
+
- Preserves all content words — never adds words the speaker didn't say
|
| 26 |
+
|
| 27 |
+
## Performance
|
| 28 |
+
|
| 29 |
+
| Metric | Score |
|
| 30 |
+
|--------|-------|
|
| 31 |
+
| Correction accuracy | 87.5% (35/40 P+G) |
|
| 32 |
+
| Filler/stutter handling | 100% |
|
| 33 |
+
| Avg latency | ~100ms on Apple Silicon |
|
| 34 |
+
| Model size | 1.0 GB (Q4_K_M) |
|
| 35 |
+
|
| 36 |
+
## Training
|
| 37 |
+
|
| 38 |
+
- Base model: Qwen/Qwen3-1.7B
|
| 39 |
+
- Fine-tuning: LoRA (rank=8, lr=5e-5, 500 iterations)
|
| 40 |
+
- Training data: 2,390 examples (1,710 base + 680 hard corrections)
|
| 41 |
+
- Quantization: Q4_K_M via llama.cpp
|
| 42 |
+
|
| 43 |
+
## Usage
|
| 44 |
+
|
| 45 |
+
Used by [TurboSpeak](https://github.com/kavanaghpatrick/gpu-forge) macOS dictation app.
|
| 46 |
+
Runs locally via llama.cpp / llama-cpp-2 Rust bindings.
|
| 47 |
+
|
| 48 |
+
### System prompt (ChatML format)
|
| 49 |
+
|
| 50 |
+
```
|
| 51 |
+
Clean up the transcribed text. Remove filler words, fix stutters, and resolve mid-sentence corrections. Output only the cleaned text.
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
## License
|
| 55 |
+
|
| 56 |
+
Apache 2.0 (same as base Qwen3 model)
|