Instructions to use Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora 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 Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora:Q4_K_M # Run inference directly in the terminal: llama cli -hf Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora:Q4_K_M # Run inference directly in the terminal: llama cli -hf Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora: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 Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora:Q4_K_M
Use Docker
docker model run hf.co/Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora with Ollama:
ollama run hf.co/Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora:Q4_K_M
- Unsloth Desktop
- Pi
How to use Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora: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": "Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora with Docker Model Runner:
docker model run hf.co/Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora:Q4_K_M
- Lemonade
How to use Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora:Q4_K_M
Run and chat with the model
lemonade run user.qwen2.5-coder-7b-wcag-gauntlet-lora-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora: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 Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora: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 "Turbolego/qwen2.5-coder-7b-wcag-gauntlet-lora: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"
Qwen2.5-Coder-7B โ WCAG Gauntlet LoRA (Q4_K_M GGUF)
Goal
Teach a code-specialist 7B model the WCAG 2.2 accessibility skill as a structured tool-use capability: given a web page / code snippet, emit the correct next_tool routing decision and run_precheck accessibility check โ i.e. make the model reliably call the right WCAG skill tools instead of hallucinating fixes.
How it was made
- Training data: synthetic WCAG 2.2 tool-use trajectories generated from the wcag-skill (Clawhub) definitions, scored against the AI-WCAG-Gauntlet benchmark harness.
- Fine-tuning: LoRA (PEFT) on top of Qwen/Qwen2.5-Coder-7B, trained on Kaggle (T4/P100) because local GPU (GTX 860M, 2 GB) cannot fit 7B training.
- Merge + quantize: LoRA weights merged into the base model, converted to GGUF f16, then quantized to Q4_K_M with llama.cpp's
llama-quantize(4.36 GB) so it runs on consumer GPUs (fits in 6 GB VRAM).
Results
next_toolrouting accuracy: 98.7%run_precheckcorrectness: 100.0% on the held-out test set
Usage
Load with Ollama / llama.cpp / any GGUF runtime:
ollama create wcag-gauntlet -f Modelfile # Modelfile: FROM ./qwen2.5-coder-7b-wcag-gauntlet-lora-q4_k_m.gguf
References
- Base model: https://huggingface.co/Qwen/Qwen2.5-Coder-7B
- Base model GGUF (Q4_K_M, for direct comparison): https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct-GGUF
- Benchmark harness: https://github.com/turbolego/AI-WCAG-Gauntlet
- Skill being taught: https://github.com/turbolego/wcag-skill ยท https://clawhub.ai/turbolego/skills/wcag-skill
- Downloads last month
- 65
4-bit