Instructions to use cowWhySo/qwen3_5_2B_voice_assistant-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cowWhySo/qwen3_5_2B_voice_assistant-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cowWhySo/qwen3_5_2B_voice_assistant-GGUF") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("cowWhySo/qwen3_5_2B_voice_assistant-GGUF") model = AutoModelForMultimodalLM.from_pretrained("cowWhySo/qwen3_5_2B_voice_assistant-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use cowWhySo/qwen3_5_2B_voice_assistant-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 cowWhySo/qwen3_5_2B_voice_assistant-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf cowWhySo/qwen3_5_2B_voice_assistant-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 cowWhySo/qwen3_5_2B_voice_assistant-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf cowWhySo/qwen3_5_2B_voice_assistant-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 cowWhySo/qwen3_5_2B_voice_assistant-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf cowWhySo/qwen3_5_2B_voice_assistant-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 cowWhySo/qwen3_5_2B_voice_assistant-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf cowWhySo/qwen3_5_2B_voice_assistant-GGUF:Q4_K_M
Use Docker
docker model run hf.co/cowWhySo/qwen3_5_2B_voice_assistant-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use cowWhySo/qwen3_5_2B_voice_assistant-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cowWhySo/qwen3_5_2B_voice_assistant-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": "cowWhySo/qwen3_5_2B_voice_assistant-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cowWhySo/qwen3_5_2B_voice_assistant-GGUF:Q4_K_M
- SGLang
How to use cowWhySo/qwen3_5_2B_voice_assistant-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "cowWhySo/qwen3_5_2B_voice_assistant-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cowWhySo/qwen3_5_2B_voice_assistant-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "cowWhySo/qwen3_5_2B_voice_assistant-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cowWhySo/qwen3_5_2B_voice_assistant-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use cowWhySo/qwen3_5_2B_voice_assistant-GGUF with Ollama:
ollama run hf.co/cowWhySo/qwen3_5_2B_voice_assistant-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use cowWhySo/qwen3_5_2B_voice_assistant-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf cowWhySo/qwen3_5_2B_voice_assistant-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": "cowWhySo/qwen3_5_2B_voice_assistant-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use cowWhySo/qwen3_5_2B_voice_assistant-GGUF with Docker Model Runner:
docker model run hf.co/cowWhySo/qwen3_5_2B_voice_assistant-GGUF:Q4_K_M
- Lemonade
How to use cowWhySo/qwen3_5_2B_voice_assistant-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cowWhySo/qwen3_5_2B_voice_assistant-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.qwen3_5_2B_voice_assistant-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use cowWhySo/qwen3_5_2B_voice_assistant-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 cowWhySo/qwen3_5_2B_voice_assistant-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 cowWhySo/qwen3_5_2B_voice_assistant-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use cowWhySo/qwen3_5_2B_voice_assistant-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf cowWhySo/qwen3_5_2B_voice_assistant-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 "cowWhySo/qwen3_5_2B_voice_assistant-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"
Qwen3.5-2B Voice Assistant
Fine-tuned Qwen3.5-2B for voice assistant / conversational use.
This is designed to be short responses without thinking.
Trained on curated, concise datasets — all assistant responses are short and natural-sounding, optimized for spoken output rather than written text.
Training Details
| Parameter | Value |
|---|---|
| Base model | unsloth/Qwen3.5-2B |
| Method | LoRA (rank=16, alpha=32) |
| LoRA dropout | 0.05 |
| Learning rate | 0.0001 |
| Epochs | 3 (early stopping, patience=4) |
| Effective batch size | 64 |
| Max sequence length | 1024 |
| Scheduler | Cosine with 50 warmup steps |
| Precision | bf16 |
| Thinking mode | Disabled |
| GPU | NVIDIA L4 (22 GB) |
| Framework | Unsloth + TRL SFTTrainer |
Datasets
All datasets are filtered for concise, voice-friendly assistant responses (20–400 chars for general data, 20–500 chars for reasoning). Responses containing markdown formatting (bold, inline code, numbered lists, bullet points, headings) are excluded. Exact-match deduplication is applied across all sources before training.
| Dataset | Rows | Purpose |
|---|---|---|
| OpenAssistant/oasst_top1_2023-08-25 | 2,388 | Real human multi-turn conversations |
| HuggingFaceTB/everyday-conversations-llama3.1-2k | 1,910 | Greetings, small talk, basic Q&A |
| argilla/synthetic-concise-reasoning-sft | 535 | Short factual reasoning answers |
| WizardLM/WizardLM_evol_instruct_70k | 7,000 | Casual single-turn Q&A |
| Duplicates removed | 1,992 | |
| Total (after dedup) | 9,841 |
Filtering Pipeline (v7)
Each assistant response is checked against the following before inclusion:
- Length: 20–400 chars (general), 20–500 chars (reasoning)
- No markdown:
**bold**,`inline code`,[link](url),# headingsall excluded - No lists: numbered (
1.) and bullet (-,*) patterns excluded at line-start and after colons - No list lead-ins: phrases like "the process involves:", "as follows:", "the following" excluded
- No AI-isms: "certainly!", "as an AI", "in conclusion", "delve" excluded
- Post-dedup sanity check: % of markdown patterns logged to W&B before training
System Prompt
All training samples include this system prompt:
You are a casual, hands-free voice assistant. Speak in short, punchy sentences as if we are having a real-time conversation. Never use bullet points, markdown, or code. If explaining a complex topic, use a simple, everyday analogy. Respond immediately without any preamble or internal monologue.
Available Formats
| Repo | Format | Use case |
|---|---|---|
| cowWhySo/qwen3_5_2B_voice_assistant | Merged 16-bit | Transformers / vLLM / SGLang |
| cowWhySo/qwen3_5_2B_voice_assistant-lora | LoRA adapters | Merge with base yourself |
| cowWhySo/qwen3_5_2B_voice_assistant-GGUF | GGUF (q4_k_m, q5_k_m, q8_0, f16) | llama.cpp / Ollama / LM Studio |
Usage with llama.cpp
huggingface-cli download cowWhySo/qwen3_5_2B_voice_assistant-GGUF --include "*q4_k_m*" --local-dir .
./llama-cli -m *q4_k_m*.gguf --ctx-size 2048 --temp 0.7 --top-p 0.9
Usage with Transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("cowWhySo/qwen3_5_2B_voice_assistant")
tokenizer = AutoTokenizer.from_pretrained("cowWhySo/qwen3_5_2B_voice_assistant")
messages = [
{"role": "system", "content": "You are a casual, hands-free voice assistant. Speak in short, punchy sentences as if we are having a real-time conversation. Never use bullet points, markdown, or code. If explaining a complex topic, use a simple, everyday analogy. Respond immediately without any preamble or internal monologue."},
{"role": "user", "content": "What's the weather like today?"}
]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True)
outputs = model.generate(inputs, max_new_tokens=256, temperature=0.7, top_p=0.9)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Fine-tuned with Unsloth on an NVIDIA L4 GPU.
- Downloads last month
- 321
4-bit
5-bit
8-bit
16-bit