Instructions to use efficiencyx/Jun-LoRA-12B-MTP-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use efficiencyx/Jun-LoRA-12B-MTP-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("efficiencyx/Jun-LoRA-12B-MTP-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use efficiencyx/Jun-LoRA-12B-MTP-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 efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf efficiencyx/Jun-LoRA-12B-MTP-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 efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf efficiencyx/Jun-LoRA-12B-MTP-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 efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf efficiencyx/Jun-LoRA-12B-MTP-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 efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M
Use Docker
docker model run hf.co/efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use efficiencyx/Jun-LoRA-12B-MTP-GGUF with Ollama:
ollama run hf.co/efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M
- Unsloth Studio
How to use efficiencyx/Jun-LoRA-12B-MTP-GGUF 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 efficiencyx/Jun-LoRA-12B-MTP-GGUF 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 efficiencyx/Jun-LoRA-12B-MTP-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for efficiencyx/Jun-LoRA-12B-MTP-GGUF to start chatting
- Pi
How to use efficiencyx/Jun-LoRA-12B-MTP-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf efficiencyx/Jun-LoRA-12B-MTP-GGUF: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": "efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use efficiencyx/Jun-LoRA-12B-MTP-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf efficiencyx/Jun-LoRA-12B-MTP-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 "efficiencyx/Jun-LoRA-12B-MTP-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"
- Docker Model Runner
How to use efficiencyx/Jun-LoRA-12B-MTP-GGUF with Docker Model Runner:
docker model run hf.co/efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M
- Lemonade
How to use efficiencyx/Jun-LoRA-12B-MTP-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Jun-LoRA-12B-MTP-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use efficiencyx/Jun-LoRA-12B-MTP-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 efficiencyx/Jun-LoRA-12B-MTP-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 efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M# Run inference directly in the terminal:
llama cli -hf efficiencyx/Jun-LoRA-12B-MTP-GGUF: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 efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M# Run inference directly in the terminal:
./llama-cli -hf efficiencyx/Jun-LoRA-12B-MTP-GGUF: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 efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M# Run inference directly in the terminal:
./build/bin/llama-cli -hf efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_MUse Docker
docker model run hf.co/efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_MJun-LoRA-12B-MTP-GGUF
A trained MTP / speculative-decoding draft model for
efficiencyx/Jun-LoRA-12B-GGUF.
Not a standalone chat model — it only exists to propose tokens that Jun then verifies.
jun-drafter-qat600-q4_k_m.gguf— 327 MB, Q4_K_M- Initialized from
google/gemma-4-12B-it-qat-q4_0-unquantized-assistant, matching Jun's own lineage (unsloth/gemma-4-12B-it-qat-q4_0-unquantized) - 4 layers, hidden 1024, backbone hidden 3840
- 600 steps on a 1500-sample in-character roleplay corpus, A100 80GB
Speed
RTX 3060, ollama, Jun 12B Q4_K_M as the target, medians over 6 runs:
| setup | tok/s |
|---|---|
| Jun alone, no drafter | 36.28 |
this drafter, draft_num_predict=1 |
45.48 (+25.4%) |
| this drafter, n=2 | 41.85 |
| this drafter, n=3 | 40.79 |
| this drafter, n=4 | 36.73 |
Use n=1. The usual "draft 2-3 tokens" advice loses on this hardware: each extra token in the verify batch costs ~10ms on a 3060, so deeper drafts pay more to verify than they save.
Acceptance
Accepted tokens per target forward, higher is better. On an A100 at bf16 the training gain is clear:
| bf16 (A100) | |
|---|---|
| stock drafter | 2.10 |
| trained, 300 steps | 2.81 |
| trained, 600 steps | 2.89 |
Acceptance improved monotonically with training. On a 3060 the end-to-end tok/s above is bounded by verify cost rather than by acceptance, so the headroom this buys shows up on hardware where the target forward is the cheaper half.
Lineage matters An earlier run initialized from the
non-qat assistant — same backbone_hidden_size, so every shape check passed —
and lost to stock outright at Q4_K_M. A drafter reads the target's last-layer
activations directly; "same size" is not "same body".
Quantization
Drafter quantization barely moves acceptance (bf16 2.18, Q8_0 2.16, Q4_K_M 2.16 accepted tokens per target forward) but strongly moves draft time (8817 / 4935 / 4352 ms for the same work). Q4_K_M is the right format for a drafter.
- Downloads last month
- 46
4-bit
Model tree for efficiencyx/Jun-LoRA-12B-MTP-GGUF
Base model
google/gemma-4-12B-it-assistant
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M# Run inference directly in the terminal: llama cli -hf efficiencyx/Jun-LoRA-12B-MTP-GGUF:Q4_K_M