Text Generation
GGUF
English
code
coder
qwen2.5
qwen2.5-coder
llama-cpp
llama.cpp
ollama
code-generation
tool-calling
conversational
cpu-inference
small-language-model
offline
sakthai
house-of-sak
Eval Results (legacy)
Eval Results
Instructions to use Nanthasit/sakthai-coder-1.5b 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 Nanthasit/sakthai-coder-1.5b 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 Nanthasit/sakthai-coder-1.5b:Q4_K_M # Run inference directly in the terminal: llama cli -hf Nanthasit/sakthai-coder-1.5b:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Nanthasit/sakthai-coder-1.5b:Q4_K_M # Run inference directly in the terminal: llama cli -hf Nanthasit/sakthai-coder-1.5b: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 Nanthasit/sakthai-coder-1.5b:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Nanthasit/sakthai-coder-1.5b: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 Nanthasit/sakthai-coder-1.5b:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Nanthasit/sakthai-coder-1.5b:Q4_K_M
Use Docker
docker model run hf.co/Nanthasit/sakthai-coder-1.5b:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Nanthasit/sakthai-coder-1.5b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Nanthasit/sakthai-coder-1.5b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Nanthasit/sakthai-coder-1.5b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Nanthasit/sakthai-coder-1.5b:Q4_K_M
- Ollama
How to use Nanthasit/sakthai-coder-1.5b with Ollama:
ollama run hf.co/Nanthasit/sakthai-coder-1.5b:Q4_K_M
- Unsloth Desktop
- Pi
How to use Nanthasit/sakthai-coder-1.5b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Nanthasit/sakthai-coder-1.5b: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": "Nanthasit/sakthai-coder-1.5b:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Nanthasit/sakthai-coder-1.5b with Docker Model Runner:
docker model run hf.co/Nanthasit/sakthai-coder-1.5b:Q4_K_M
- Lemonade
How to use Nanthasit/sakthai-coder-1.5b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Nanthasit/sakthai-coder-1.5b:Q4_K_M
Run and chat with the model
lemonade run user.sakthai-coder-1.5b-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Nanthasit/sakthai-coder-1.5b with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Nanthasit/sakthai-coder-1.5b: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 Nanthasit/sakthai-coder-1.5b:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Nanthasit/sakthai-coder-1.5b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Nanthasit/sakthai-coder-1.5b: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 "Nanthasit/sakthai-coder-1.5b: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"
cron: add eval result for sakthai-coder-1.5b (metadata health check, run 15)
Browse files
.eval_results/cron-eval-sakthai-coder-1.5b-2026-07-31-1.yaml
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
target_model:
|
| 2 |
+
id: Nanthasit/sakthai-coder-1.5b
|
| 3 |
+
pipeline_tag: text-generation
|
| 4 |
+
library_name: transformers
|
| 5 |
+
base_model: Qwen/Qwen2.5-Coder-1.5B-Instruct
|
| 6 |
+
downloads: 93
|
| 7 |
+
likes: 0
|
| 8 |
+
private: false
|
| 9 |
+
gated: false
|
| 10 |
+
last_modified: "2026-07-31T05:21:13.000Z"
|
| 11 |
+
model_age_days: 6.7969
|
| 12 |
+
model_type: llm
|
| 13 |
+
has_weights: true
|
| 14 |
+
|
| 15 |
+
architecture:
|
| 16 |
+
base_model_type: qwen2
|
| 17 |
+
base_architectures: ["Qwen2ForCausalLM"]
|
| 18 |
+
base_hidden_size: 1536
|
| 19 |
+
base_num_hidden_layers: 28
|
| 20 |
+
base_num_attention_heads: 12
|
| 21 |
+
base_num_key_value_heads: 2
|
| 22 |
+
base_intermediate_size: 8960
|
| 23 |
+
base_vocab_size: 151936
|
| 24 |
+
base_max_position_embeddings: 32768
|
| 25 |
+
base_total_parameters: 1540000000
|
| 26 |
+
base_dtype: bfloat16
|
| 27 |
+
tie_word_embeddings: true
|
| 28 |
+
# GGUF-only repo: no config.json at root; architecture verified from
|
| 29 |
+
# Qwen/Qwen2.5-Coder-1.5B-Instruct config.json (fetched live 2026-07-31)
|
| 30 |
+
|
| 31 |
+
repo_summary:
|
| 32 |
+
siblings_count: 1569
|
| 33 |
+
total_repo_bytes: 1289288771
|
| 34 |
+
total_gb: 1.289
|
| 35 |
+
has_weights: true
|
| 36 |
+
weight_file_count: 1
|
| 37 |
+
weight_bytes: 1117320768
|
| 38 |
+
weight_files: ["qwen2.5-coder-1.5b-instruct-q4_k_m.gguf"]
|
| 39 |
+
config_present: false
|
| 40 |
+
tokenizer_present: false
|
| 41 |
+
chat_template_present: true
|
| 42 |
+
readme_present: true
|
| 43 |
+
readme_size_bytes: 19380
|
| 44 |
+
weight_note: "Single Q4_K_M GGUF (1.12 GB) for llama.cpp/Ollama; tokenizer and chat template are embedded in the GGUF, hence no standalone config.json/tokenizer files. Repo carries a stray dev environment (.venv/, .pytest_cache/, .hypothesis/, .ruff_cache/, .superpowers/, .usage.json) from an over-eager push — documented in README, cleanup commit planned."
|
| 45 |
+
|
| 46 |
+
benchmarks:
|
| 47 |
+
model_index_count: 1
|
| 48 |
+
metrics_count: 4
|
| 49 |
+
all_verified: false
|
| 50 |
+
pending_metrics: 4
|
| 51 |
+
entries:
|
| 52 |
+
- dataset: openai_humaneval
|
| 53 |
+
metric: pass@1
|
| 54 |
+
value: 74.4
|
| 55 |
+
verified: false
|
| 56 |
+
note: base-model reference (Qwen2.5-Coder-1.5B-Instruct), not re-run on fine-tune
|
| 57 |
+
- dataset: mbpp
|
| 58 |
+
metric: pass@1
|
| 59 |
+
value: 71.2
|
| 60 |
+
verified: false
|
| 61 |
+
note: base-model reference ceiling
|
| 62 |
+
- dataset: multipl_e
|
| 63 |
+
metric: pass@1
|
| 64 |
+
value: 65.3
|
| 65 |
+
verified: false
|
| 66 |
+
note: base-model reference ceiling
|
| 67 |
+
- dataset: SakThai Coding Suite (internal)
|
| 68 |
+
metric: pass@1
|
| 69 |
+
value: 100
|
| 70 |
+
verified: false
|
| 71 |
+
note: internal single-trial llama.cpp run (5/5 tasks, 2026-07-25)
|
| 72 |
+
notes: >
|
| 73 |
+
All 4 model-index metrics are verified: false (base-model references +
|
| 74 |
+
one internal single-trial suite). Independent 2026-07-31 3-trial llama.cpp
|
| 75 |
+
benchmark (.eval_results/benchmark-20260731_031937.yaml) on tool-calling
|
| 76 |
+
code-search got 0/3 tool calls, 0/3 valid JSON, 2/3 hallucinated files at
|
| 77 |
+
14.5 tps — a real gap vs the card's '5/5 tool tasks' claim that should be
|
| 78 |
+
reconciled. Recommended: sakthai-bench-v2 (500 rows, held-out tools).
|
| 79 |
+
|
| 80 |
+
training:
|
| 81 |
+
dataset: Nanthasit/sakthai-combined-v6
|
| 82 |
+
dataset_size: 2309
|
| 83 |
+
dataset_note: "v6 + v7 (2,309 train / 115 test, verified 2026-07-31) + irrelevance-supplement (60 rows)"
|
| 84 |
+
training_method: QLoRA (4-bit) → GGUF Q4_K_M
|
| 85 |
+
eval_split: "115 held-out examples"
|
| 86 |
+
lora_config:
|
| 87 |
+
r: 16
|
| 88 |
+
alpha: 32
|
| 89 |
+
hardware: "Free Google Colab GPU (T4), $0 budget"
|
| 90 |
+
key_improvements:
|
| 91 |
+
- "Code + tool-calling in one session"
|
| 92 |
+
- "CPU-friendly Q4_K_M GGUF for llama.cpp / Ollama"
|
| 93 |
+
|
| 94 |
+
card_quality:
|
| 95 |
+
license: apache-2.0
|
| 96 |
+
base_model_documented: true
|
| 97 |
+
base_model: Qwen/Qwen2.5-Coder-1.5B-Instruct
|
| 98 |
+
tags_count: 16
|
| 99 |
+
tags: [code, coder, qwen2.5, qwen2.5-coder, gguf, llama-cpp, llama.cpp, ollama, code-generation, tool-calling, conversational, cpu-inference, small-language-model, offline, sakthai, house-of-sak]
|
| 100 |
+
datasets_cited: ["Nanthasit/sakthai-combined-v6", "Nanthasit/sakthai-combined-v7", "Nanthasit/sakthai-irrelevance-supplement"]
|
| 101 |
+
model_index_present: true
|
| 102 |
+
readme_size_bytes: 19380
|
| 103 |
+
widget_example: "Write a Python function that checks if a string is a palindrome, handling spaces and punctuation:"
|
| 104 |
+
deductions:
|
| 105 |
+
- "model-index metrics all verified: false (base refs + single-trial internal)"
|
| 106 |
+
- "card claims 5/5 tool tasks but 2026-07-31 benchmark showed 0/3 tool calls"
|
| 107 |
+
- "stray dev environment inflates repo to 1,568 files / 1.29 GB"
|
| 108 |
+
score: 88
|
| 109 |
+
|
| 110 |
+
health_score:
|
| 111 |
+
overall: 43.8
|
| 112 |
+
components:
|
| 113 |
+
popularity: 0.93
|
| 114 |
+
momentum: 100
|
| 115 |
+
benchmarks: 0
|
| 116 |
+
card_quality: 88
|
| 117 |
+
repo_hygiene: 40
|
| 118 |
+
weights:
|
| 119 |
+
popularity: 0.20
|
| 120 |
+
momentum: 0.20
|
| 121 |
+
benchmarks: 0.25
|
| 122 |
+
card_quality: 0.20
|
| 123 |
+
repo_hygiene: 0.15
|
| 124 |
+
|
| 125 |
+
sibling_comparison:
|
| 126 |
+
rank_by_downloads: 11
|
| 127 |
+
total_author_models: 19
|
| 128 |
+
max_sibling_downloads: 1599
|
| 129 |
+
models_with_positive_downloads: 11
|
| 130 |
+
velocity_rank: 9
|
| 131 |
+
max_sibling_velocity: 62.58
|
| 132 |
+
our_velocity: 13.68
|
| 133 |
+
|
| 134 |
+
eval_type: metadata_cron
|
| 135 |
+
eval_note: >
|
| 136 |
+
First cron eval snapshot for sakthai-coder-1.5b (run 15 of hf-eval-updater).
|
| 137 |
+
The family's code specialist: Qwen2.5-Coder-1.5B-Instruct QLoRA fine-tune
|
| 138 |
+
shipped as a 1.12 GB Q4_K_M GGUF for CPU use. Mid-pack momentum — 93
|
| 139 |
+
downloads, 13.68 dl/day (9/11 velocity, 11/19 downloads). Card quality is
|
| 140 |
+
high (19 KB README, badges, family table, honest caveats) but the model-index
|
| 141 |
+
carries only unverified base-reference scores, and a fresh 3-trial llama.cpp
|
| 142 |
+
tool-calling run failed to reproduce the card's 5/5 tool claim (0/3 tool
|
| 143 |
+
calls, hallucinated files). Repo hygiene is the weak spot: 40/100 due to a
|
| 144 |
+
stray dev environment. Next cycle: run sakthai-bench-v2, reconcile the
|
| 145 |
+
tool-calling claim, and land the cleanup commit.
|
| 146 |
+
|
| 147 |
+
eval_metadata:
|
| 148 |
+
model: Nanthasit/sakthai-coder-1.5b
|
| 149 |
+
eval_date: "2026-07-31"
|
| 150 |
+
eval_time: "05:27:13Z"
|
| 151 |
+
schema: llm_cron_v1
|
| 152 |
+
age_days: 6.7969
|
| 153 |
+
days_since_last_update: 0.0042
|
| 154 |
+
download_velocity: 13.68
|
| 155 |
+
cron_run: 15
|