Instructions to use Jay2003Bhatt/alpha-coder-14b 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 Jay2003Bhatt/alpha-coder-14b 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 Jay2003Bhatt/alpha-coder-14b:Q4_K_M # Run inference directly in the terminal: llama cli -hf Jay2003Bhatt/alpha-coder-14b:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Jay2003Bhatt/alpha-coder-14b:Q4_K_M # Run inference directly in the terminal: llama cli -hf Jay2003Bhatt/alpha-coder-14b: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 Jay2003Bhatt/alpha-coder-14b:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Jay2003Bhatt/alpha-coder-14b: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 Jay2003Bhatt/alpha-coder-14b:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Jay2003Bhatt/alpha-coder-14b:Q4_K_M
Use Docker
docker model run hf.co/Jay2003Bhatt/alpha-coder-14b:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use Jay2003Bhatt/alpha-coder-14b with Ollama:
ollama run hf.co/Jay2003Bhatt/alpha-coder-14b:Q4_K_M
- Unsloth Studio
How to use Jay2003Bhatt/alpha-coder-14b 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 Jay2003Bhatt/alpha-coder-14b 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 Jay2003Bhatt/alpha-coder-14b to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Jay2003Bhatt/alpha-coder-14b to start chatting
- Pi
How to use Jay2003Bhatt/alpha-coder-14b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Jay2003Bhatt/alpha-coder-14b: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": "Jay2003Bhatt/alpha-coder-14b:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Jay2003Bhatt/alpha-coder-14b with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Jay2003Bhatt/alpha-coder-14b: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 Jay2003Bhatt/alpha-coder-14b:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use Jay2003Bhatt/alpha-coder-14b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Jay2003Bhatt/alpha-coder-14b: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 "Jay2003Bhatt/alpha-coder-14b: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 Jay2003Bhatt/alpha-coder-14b with Docker Model Runner:
docker model run hf.co/Jay2003Bhatt/alpha-coder-14b:Q4_K_M
- Lemonade
How to use Jay2003Bhatt/alpha-coder-14b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Jay2003Bhatt/alpha-coder-14b:Q4_K_M
Run and chat with the model
lemonade run user.alpha-coder-14b-Q4_K_M
List all available models
lemonade list
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Jay2003Bhatt/alpha-coder-14b:Q4_K_M# Run inference directly in the terminal:
llama cli -hf Jay2003Bhatt/alpha-coder-14b:Q4_K_MUse 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 Jay2003Bhatt/alpha-coder-14b:Q4_K_M# Run inference directly in the terminal:
./llama-cli -hf Jay2003Bhatt/alpha-coder-14b:Q4_K_MBuild 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 Jay2003Bhatt/alpha-coder-14b:Q4_K_M# Run inference directly in the terminal:
./build/bin/llama-cli -hf Jay2003Bhatt/alpha-coder-14b:Q4_K_MUse Docker
docker model run hf.co/Jay2003Bhatt/alpha-coder-14b:Q4_K_MYAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Qwen Coder Lab
Starter lab for building a specialized coding assistant on top of:
Qwen/Qwen3-Coder-30B-A3B-Instruct
This project is set up for three phases:
- Run the base model locally or on a GPU machine.
- Prepare high-quality coding instruction data.
- Fine-tune with QLoRA, then quantize/deploy.
Hardware Target
For the 30B-A3B model, practical setups are:
- Inference: 24 GB+ VRAM with 4-bit quantization, or a larger unified-memory machine.
- QLoRA fine-tuning: 24-48 GB+ VRAM depending on sequence length, batch size, and optimizer.
- CPU-only: possible only with GGUF/llama.cpp style inference, but slow.
If your current machine cannot run the model, use the same project on a rented GPU instance.
MacBook M-Series Path
For a MacBook with 24 GB unified memory, 1 TB SSD, and a 10-core GPU:
- Run the 30B model through a GGUF runtime such as Ollama, llama.cpp, or LM Studio.
- Prefer Q3 or Q4 quantization for local inference. Higher precision will likely exceed comfortable memory limits.
- Keep context length modest at first, such as 4K-16K tokens. Long context can consume a lot of memory.
- Do not plan to QLoRA fine-tune the 30B model locally. Use a rented NVIDIA GPU for that phase.
- For local fine-tuning experiments, use a smaller model first, such as a 7B coder model.
Recommended local workflow:
- Use the Mac to test prompts, collect examples, validate datasets, and run quantized inference.
- Use a cloud GPU to fine-tune Qwen3-Coder-30B-A3B-Instruct with QLoRA.
- Bring the resulting adapter or merged/quantized model back to the Mac for local inference.
Start here: docs/mac-local-run.md.
Training and usage roadmap: docs/train-and-use-roadmap.md.
Specialist dataset strategy: docs/dataset-strategy.md.
Baseline findings: docs/baseline-findings.md.
Light deployment strategy: docs/light-deployment-strategy.md.
Runtime system prompt: prompts/product_engineer_system.md.
Complex benchmark findings: docs/complex-benchmark-findings.md.
Current performance report: docs/current-performance-report.md.
Install
cd qwen-coder-lab
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
If macOS reports missing Command Line Tools when running python3, install them with xcode-select --install, or use a uv Python environment instead.
Run Chat Inference
python scripts/run_chat.py \
--model Qwen/Qwen3-Coder-30B-A3B-Instruct \
--load-in-4bit
Then type coding requests interactively.
Dataset Format
Training examples use JSONL:
{"instruction":"Fix this Python bug.","input":"def add(a,b): return a-b","output":"def add(a, b):\n return a + b"}
Validate examples:
python scripts/prepare_dataset.py \
--input data/examples.jsonl \
--output data/prepared.jsonl
QLoRA Fine-Tuning
Start with the config in configs/qwen3_coder_30b_lora.yaml.
python scripts/train_lora.py \
--config configs/qwen3_coder_30b_lora.yaml
The default config is intentionally conservative. Increase sequence length and batch size only after a small training run succeeds.
What To Fine-Tune On
Best data for a coding assistant:
- issue -> patch examples
- failing test -> fix examples
- compiler/type error -> corrected code
- code review comment -> improved diff
- refactoring requests
- multi-language explanations plus executable solutions
- repo-specific style examples
Avoid low-quality scraped code. For coding models, clean task/answer pairs beat giant noisy dumps.
- Downloads last month
- 1,188
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf Jay2003Bhatt/alpha-coder-14b:Q4_K_M# Run inference directly in the terminal: llama cli -hf Jay2003Bhatt/alpha-coder-14b:Q4_K_M