Nanthasit commited on
Commit
ceacd57
Β·
verified Β·
1 Parent(s): 52dea83

fix: point coder-browser-gguf link to /models/ path

Browse files
Files changed (1) hide show
  1. README.md +167 -149
README.md CHANGED
@@ -7,93 +7,126 @@ pipeline_tag: text-generation
7
  tags:
8
  - peft
9
  - lora
10
- - rslora
11
- - qwen2.5-coder
12
  - sakthai
13
  - house-of-sak
14
- - browser-automation
15
- - web-agent
16
  - tool-calling
17
  - function-calling
 
18
  - text-generation
19
- - finetuned
20
- - sft
21
- - trl
22
  - conversational
 
 
23
  - eval-results
24
- base_model: Qwen/Qwen2.5-Coder-1.5B-Instruct
25
  datasets:
26
- - Nanthasit/SimpleToolCalling
27
  - Nanthasit/sakthai-combined-v7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  model-index:
29
- - name: SakThai Coder Browser β€” LoRA Adapter
30
  results:
31
  - task:
32
  type: text-generation
33
- name: Browser automation tool-calling
34
  dataset:
35
- type: custom
36
- name: Browser navigate/click/extract probe (3 seeds)
37
  metrics:
38
- - type: tool-call-success
39
- value: 3
40
- name: Tool calls emitted (of 3 trials)
41
- - type: valid-json
42
- value: 3
43
- name: Valid JSON tool calls (of 3 trials)
44
- - type: correct-answer
45
- value: 3
46
- name: Correct navigate/click/extract answers (of 3 trials)
47
- - type: browser-tools
48
- value: 3
49
- name: Distinct browser tools used (navigate, click, extract)
50
- - type: merge-status
51
  value: 0
52
- name: Merged model usable (0/1 β€” merge is broken; use adapter on pristine base)
53
  ---
54
 
55
- # SakThai Coder Browser β€” LoRA Adapter
56
 
57
  <p align="center">
58
- <strong>Unmerged LoRA adapter for browser automation</strong><br/>
59
- <em>For use with PEFT Β· Qwen2.5-Coder-1.5B-Instruct base</em>
60
  </p>
61
 
62
  <p align="center">
63
  <a href="https://huggingface.co/Nanthasit"><img src="https://img.shields.io/badge/%F0%9F%A4%97-Nanthasit-6644cc" alt="Profile"/></a>
64
  <a href="https://huggingface.co/collections/Nanthasit/sakthai-model-family-6a64745450b12d421c1f9f02"><img src="https://img.shields.io/badge/%F0%9F%8F%A0-SakThai%20Family-6644cc" alt="Collection"/></a>
65
- <img src="https://img.shields.io/badge/PEFT-LoRA%20r16%20rsLoRA-blueviolet" alt="LoRA"/>
 
66
  <img src="https://img.shields.io/badge/license-Apache%202.0-green" alt="License"/>
67
- <img src="https://img.shields.io/badge/params-36.96M%20trainable-important" alt="Trainable params"/>
68
- <img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fmodels%2FNanthasit%2Fsakthai-coder-browser-lora&query=downloads&style=flat&label=Downloads" alt="Downloads"/>
69
  </p>
70
 
71
  ---
72
 
73
  ## Model Description
74
 
75
- This is the **unmerged LoRA adapter** for SakThai Coder Browser β€” the training-time PEFT weights produced during fine-tuning. It contains a **LoRA (r=16, alpha=32, rsLoRA, dropout=0.05)** adapter targeting **all 7 linear projections** (`q_proj`, `k_proj`, `v_proj`, `o_proj`, `gate_proj`, `up_proj`, `down_proj`) of Qwen/Qwen2.5-Coder-1.5B-Instruct for browser-automation tool-calling.
76
 
77
- **For inference without PEFT, do NOT use the current merged build** β€” [SakThai Coder Browser](https://huggingface.co/Nanthasit/sakthai-coder-browser) is **BROKEN** (corrupted LoRA merge: all 84 attention-projection biases non-zero; whitespace-loop output, 0 tool calls β€” see the [base card's CAUTION banner](https://huggingface.co/Nanthasit/sakthai-coder-browser)). Load this adapter onto the **pristine** Qwen2.5-Coder-1.5B-Instruct base instead (snippet below) β€” verified working 3/3 trials on 2026-07-31.
78
 
79
- > ⚠️ **Adapter repo β€” no standalone weights.** This repository contains only the LoRA adapter (`adapter_model.safetensors`, ~74 MB) plus tokenizer files. It cannot be loaded with `AutoModelForCausalLM.from_pretrained("Nanthasit/sakthai-coder-browser-lora")` alone β€” you must load the base model first, then attach the adapter with `PeftModel` (see below).
80
 
81
- ### Browser actions via `<tool_call>` XML
 
 
 
 
 
 
 
 
82
 
83
- The model is trained to emit structured tool calls for browser automation:
 
 
 
 
 
 
 
 
 
 
84
 
85
- - `browser_navigate(url)` β€” navigate to a URL
86
- - `browser_click(element)` β€” click a UI element
87
- - `browser_type(element, text)` β€” type text into a field
88
- - `browser_extract()` β€” extract page content
89
 
90
- ```xml
91
- <tool_call>{"name": "browser_navigate", "arguments": {"url": "https://news.google.com"}}</tool_call>
 
 
92
  ```
93
 
 
 
94
  ---
95
 
96
- ## How to Use (PEFT)
 
 
97
 
98
  ```python
99
  import torch
@@ -101,141 +134,126 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
101
  from peft import PeftModel
102
 
103
  model = AutoModelForCausalLM.from_pretrained(
104
- "Qwen/Qwen2.5-Coder-1.5B-Instruct",
105
  torch_dtype=torch.bfloat16,
106
  device_map="auto"
107
  )
108
- tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-Coder-1.5B-Instruct")
109
-
110
- model = PeftModel.from_pretrained(model, "Nanthasit/sakthai-coder-browser-lora")
111
 
112
- # To produce a standalone merged model:
113
- # model = model.merge_and_unload()
114
 
115
- messages = [
116
- {"role": "system", "content": "You are SakThai Browser Agent. Use <tool_call> blocks to control the browser."},
117
- {"role": "user", "content": "Go to google.com and search for AI news."},
118
- ]
119
  inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
120
- outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.7)
121
  print(tokenizer.decode(outputs[0], skip_special_tokens=True))
122
  ```
123
 
124
- ### llama.cpp / GGUF path
125
 
126
- No GGUF of this adapter exists β€” quantize a **clean re-merge** instead (do NOT use the current broken [sakthai-coder-browser-gguf](https://huggingface.co/Nanthasit/sakthai-coder-browser-gguf), which was converted from corrupted merged weights):
127
- 1. Load base + adapter and call `merge_and_unload()` (snippet above)
128
- 2. Save the merged weights
129
- 3. Convert to GGUF with `llama.cpp/convert_hf_to_gguf.py`
 
130
 
131
- ---
132
 
133
- ## Adapter Configuration (verified from `adapter_config.json`)
134
-
135
- | Setting | Value |
136
- |---------|-------|
137
- | **PEFT type** | `LORA` |
138
- | **PEFT version** | 0.20.0 |
139
- | **Rank (r)** | 16 |
140
- | **Alpha** | 32 |
141
- | **Dropout** | **0.05** βœ… (previously misdocumented as 0.1) |
142
- | **rsLoRA** | `true` (use_rslora) |
143
- | **Target modules** | **All 7 linear projections**: `q_proj`, `k_proj`, `v_proj`, `o_proj`, `gate_proj`, `up_proj`, `down_proj` βœ… (previously misdocumented as q/k/v/o only) |
144
- | **Bias** | none |
145
- | **DoRA** | false |
146
- | **Task type** | `CAUSAL_LM` |
147
- | **Trainable params** | 36,955,556 (~37M) |
148
- | **Adapter size** | 73,911,112 B (73.9 MB, BF16) |
149
 
150
  ---
151
 
152
- ## Training Details
153
-
154
- | Detail | Value |
155
- |--------|-------|
156
- | **Base model** | Qwen/Qwen2.5-Coder-1.5B-Instruct |
157
- | **Method** | SFT with LoRA (PEFT) |
158
- | **Dataset** | [SimpleToolCalling](https://huggingface.co/datasets/Nanthasit/SimpleToolCalling) + [sakthai-combined-v7](https://huggingface.co/datasets/Nanthasit/sakthai-combined-v7) |
159
- | **Optimizer** | AdamW (8-bit) |
160
- | **Learning rate** | 2e-4 |
161
- | **Batch size** | 4 (gradient accumulation: 4) |
162
- | **Epochs** | 3 |
163
- | **Context length** | 32,768 tokens |
164
- | **Precision** | BF16 |
165
- | **Hardware** | Free T4 GPU (Kaggle / Colab) |
166
- | **Framework** | TRL 0.19.1, Transformers 5.14.1, PyTorch 2.13.0 |
167
-
168
- ### Base architecture (Qwen2.5-Coder-1.5B-Instruct, verified)
169
-
170
- | Attribute | Value |
171
- |-----------|-------|
172
- | Architecture | `Qwen2ForCausalLM` |
173
- | Hidden size | 1,536 |
174
- | Layers | 28 |
175
- | Attention heads | 12 |
176
- | KV heads (GQA) | 2 |
177
- | Intermediate size | 8,960 |
178
- | Vocab size | 151,936 |
179
- | Max position embeddings | 32,768 |
180
- | Total parameters | 1,543,714,304 (1.54B) |
181
 
182
  ---
183
 
184
- ## Evaluation & Status
185
 
186
- **Adapter verified working 3/3 trials (2026-07-31).** The adapter itself passed a full llama.cpp harness benchmark (base `Qwen/Qwen2.5-Coder-1.5B-Instruct` q4_k_m + this f16 LoRA): 3/3 seeds emitted valid tool calls, 3/3 valid JSON, 3/3 correct answers, using all three browser tools (`browser_navigate`, `browser_click`, `browser_extract`) β€” see [`.eval_results/benchmark-20260731_071156.yaml`](https://huggingface.co/Nanthasit/sakthai-coder-browser-lora/blob/main/.eval_results/benchmark-20260731_071156.yaml). Verdict: **`LORA_OK_MERGE_BROKEN`** β€” the adapter is sound, but the merged build in [sakthai-coder-browser](https://huggingface.co/Nanthasit/sakthai-coder-browser) is corrupted and must be re-merged from this adapter onto the pristine base.
187
 
188
- Repo-verified status (from [`.eval_results/cron-eval-sakthai-coder-browser-lora-2026-07-31-1.yaml`](https://huggingface.co/Nanthasit/sakthai-coder-browser-lora/blob/main/.eval_results/cron-eval-sakthai-coder-browser-lora-2026-07-31-1.yaml), 2026-07-31):
 
 
 
189
 
190
- | Metric | Value |
191
- |--------|-------|
192
- | Tool-call success (benchmark) | **3/3** βœ… |
193
- | Valid JSON (benchmark) | **3/3** βœ… |
194
- | Correct answers (benchmark) | **3/3** βœ… |
195
- | Browser tools used | navigate, click, extract |
196
- | Card quality | 84/100 |
197
- | Repo hygiene | 95/100 |
198
- | Health score | 31.1/100 (0 downloads β€” new model, published 2026-07-30) |
199
- | Downloads rank | 17/19 (0 downloads β€” new model, published 2026-07-30) |
200
- | Eval findings | Fixed: dropout 0.1→0.05, target modules q/k/v/o→all 7 (this card) |
201
 
202
  ---
203
 
204
  ## SakThai Model Family
205
 
206
- | Model | Size | Role | Downloads |
207
- |:------|:----:|:-----|:---------:|
208
- | **Coder Browser LoRA** β¬… | 73.9 MB | **Training-time adapter (this repo)** | 0 |
209
- | Coder Browser (merged) | 3.1 GB | Merged browser agent | 0 |
210
- | Coder Browser GGUF | GGUF | llama.cpp / Ollama quant | 0 |
211
- | Coder 1.5B | 1.5B | Code assistant | 93 |
212
- | Context 1.5B Merged v2 | 1.5B | Flagship tool-calling v2 | 0 |
213
- | Context 1.5B Merged | 1.5B | Flagship v1 | 1,599 |
214
- | Context 1.5B Tools v2 | LoRA | Tool-calling v2 adapter | 0 |
215
- | Context 1.5B Tools | LoRA | Tool-calling v1 adapter | 349 |
216
- | Plus 1.5B | 1.5B | All-rounder | 0 |
217
- | Plus 1.5B LoRA | LoRA | All-rounder adapter | 0 |
218
- | Plus 1.5B Coder | 1.5B | Coder variant | 0 |
219
- | Context 0.5B Merged | 380 MB | Lightweight / edge | 1,370 |
220
- | Context 0.5B Tools | LoRA | Edge tool-calling | 94 |
221
- | Context 7B Merged | 15 GB | Full-power reasoning | 744 |
222
- | Context 7B Tools | LoRA | 7B tool-calling | 399 |
223
- | Context 7B 128K | recipe | YaRN long-context | 506 |
224
- | Vision 7B | 7B | Vision-language | 186 |
225
- | Embedding Multilingual | 470 MB | Embeddings | 362 |
226
- | TTS Model | 82M | Kokoro TTS | 150 |
227
-
228
- *Live download counts via Hub API, 2026-07-31. [Full collection](https://huggingface.co/collections/Nanthasit/sakthai-model-family-6a64745450b12d421c1f9f02)*
 
 
 
 
 
 
 
229
 
230
  ---
231
 
232
  ## Limitations
233
 
234
- - **Adapter-only repo** β€” requires the base model + PEFT to run; not directly servable via the serverless Inference API
235
- - English-only coverage
236
- - 1.5B parameter ceiling on complex reasoning tasks
237
- - Browser actions are trained as `<tool_call>` XML β€” downstream parser required
238
- - **Merged build is BROKEN** (2026-07-31) β€” the corrupted merge in [sakthai-coder-browser](https://huggingface.co/Nanthasit/sakthai-coder-browser) must be re-done from this adapter onto the pristine base; benchmark of this adapter (3/3) used llama.cpp with the q4_k_m base + f16 LoRA, not a merged build
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
239
 
240
  ---
241
 
 
7
  tags:
8
  - peft
9
  - lora
10
+ - qwen2.5
 
11
  - sakthai
12
  - house-of-sak
 
 
13
  - tool-calling
14
  - function-calling
15
+ - agent
16
  - text-generation
17
+ - qlora
 
 
18
  - conversational
19
+ - assistant
20
+ - safetensors
21
  - eval-results
22
+ base_model: Qwen/Qwen2.5-7B-Instruct
23
  datasets:
24
+ - Nanthasit/sakthai-combined-v6
25
  - Nanthasit/sakthai-combined-v7
26
+ - Nanthasit/sakthai-irrelevance-supplement
27
+ inference:
28
+ parameters:
29
+ temperature: 0.3
30
+ max_new_tokens: 128
31
+ top_p: 0.9
32
+ widget:
33
+ - text: What's the weather in Tokyo?
34
+ output:
35
+ text: '<tool_call>
36
+
37
+ {"name": "get_weather", "arguments": {"location": "Tokyo"}}
38
+
39
+ </tool_call>'
40
  model-index:
41
+ - name: sakthai-context-7b-tools
42
  results:
43
  - task:
44
  type: text-generation
45
+ name: Tool-Calling
46
  dataset:
47
+ name: SakThai Bench v2 (500 rows, scorer multiset-selection-v2)
48
+ type: Nanthasit/sakthai-bench-v2
49
  metrics:
50
+ - type: selection
51
+ value: 56.4
52
+ name: Selection Accuracy
53
+ - type: arguments
54
+ value: 12.3
55
+ name: Arguments Accuracy
56
+ - type: strict
57
+ value: 12.3
58
+ name: Strict Accuracy
59
+ - type: held-out
60
+ value: 53.7
61
+ name: Held-Out Tool Accuracy
62
+ - type: degenerate
63
  value: 0
64
+ name: Degenerate Outputs
65
  ---
66
 
67
+ # SakThai Context 7B β€” Tools (LoRA)
68
 
69
  <p align="center">
70
+ <strong>Highest-capability tool-calling adapter β€” Qwen2.5-7B</strong><br/>
71
+ <em>PEFT LoRA Β· r=16 Β· alpha=32 Β· 19 MB adapter</em>
72
  </p>
73
 
74
  <p align="center">
75
  <a href="https://huggingface.co/Nanthasit"><img src="https://img.shields.io/badge/%F0%9F%A4%97-Nanthasit-6644cc" alt="Profile"/></a>
76
  <a href="https://huggingface.co/collections/Nanthasit/sakthai-model-family-6a64745450b12d421c1f9f02"><img src="https://img.shields.io/badge/%F0%9F%8F%A0-SakThai%20Family-6644cc" alt="Collection"/></a>
77
+ <img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fmodels%2FNanthasit%2Fsakthai-context-7b-tools&query=%24.downloads&label=downloads&color=blue&cacheSeconds=3600" alt="Downloads"/>
78
+ <img src="https://img.shields.io/badge/PEFT-LoRA%20r16-blueviolet" alt="LoRA"/>
79
  <img src="https://img.shields.io/badge/license-Apache%202.0-green" alt="License"/>
80
+ <img src="https://img.shields.io/badge/Qwen2.5-7B-orange" alt="Qwen2.5-7B"/>
 
81
  </p>
82
 
83
  ---
84
 
85
  ## Model Description
86
 
87
+ This is a **PEFT LoRA adapter** that adds tool-calling to Qwen2.5-7B-Instruct. It's the highest-capability tool-calling adapter in the SakThai family β€” for the strongest function calling.
88
 
89
+ For a merged GGUF checkpoint (no PEFT required), see [sakthai-context-7b-merged](https://huggingface.co/Nanthasit/sakthai-context-7b-merged).
90
 
91
+ ### Key details
92
 
93
+ | Property | Value |
94
+ |----------|-------|
95
+ | **Base model** | Qwen/Qwen2.5-7B-Instruct |
96
+ | **Method** | QLoRA (4-bit) |
97
+ | **LoRA config** | r=16, alpha=32, dropout 0.0, targets q/k/v/o_proj |
98
+ | **Adapter size** | 19 MB (`adapter_model.safetensors`) |
99
+ | **PEFT version** | 0.19.1 |
100
+ | **Data** | combined-v6 (2,003) + combined-v7 (2,309) + irrelevance-supplement (60) |
101
+ | **Format** | ChatML with tool schema, 32K tokens |
102
 
103
+ ---
104
+
105
+ ## Tool-Calling Format
106
+
107
+ This adapter emits structured tool calls as XML. Provide a `<tools>` block in the system prompt, and the model responds with a `<tool_call>` block instead of plain text when a tool is needed:
108
+
109
+ ```text
110
+ <tools>
111
+ {"type": "function", "function": {"name": "get_weather", "description": "Get current weather", "parameters": {"type": "object", "properties": {"location": {"type": "string"}}, "required": ["location"]}}}
112
+ </tools>
113
+ ```
114
 
115
+ Expected model output when the user asks about weather:
 
 
 
116
 
117
+ ```text
118
+ <tool_call>
119
+ {"name": "get_weather", "arguments": {"location": "Tokyo"}}
120
+ </tool_call>
121
  ```
122
 
123
+ > **Note:** The `<tools>` block is **required** for reliable function calling β€” the model was trained on this exact XML format. Omitting it makes the model fall back to answering directly.
124
+
125
  ---
126
 
127
+ ## Quick Start
128
+
129
+ Load the base model, then attach the adapter with PEFT:
130
 
131
  ```python
132
  import torch
 
134
  from peft import PeftModel
135
 
136
  model = AutoModelForCausalLM.from_pretrained(
137
+ "Qwen/Qwen2.5-7B-Instruct",
138
  torch_dtype=torch.bfloat16,
139
  device_map="auto"
140
  )
141
+ tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-7B-Instruct")
 
 
142
 
143
+ model = PeftModel.from_pretrained(model, "Nanthasit/sakthai-context-7b-tools")
 
144
 
145
+ messages = [{"role": "user", "content": "What's the weather in Bangkok?"}]
 
 
 
146
  inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
147
+ outputs = model.generate(**inputs, max_new_tokens=128)
148
  print(tokenizer.decode(outputs[0], skip_special_tokens=True))
149
  ```
150
 
151
+ To bake the adapter into the weights (e.g. for export or merging):
152
 
153
+ ```python
154
+ model = model.merge_and_unload()
155
+ model.save_pretrained("./sakthai-context-7b-tools-merged")
156
+ tokenizer.save_pretrained("./sakthai-context-7b-tools-merged")
157
+ ```
158
 
159
+ **Prefer GGUF / llama.cpp?** Use the merged sibling [sakthai-context-7b-merged](https://huggingface.co/Nanthasit/sakthai-context-7b-merged) instead β€” full weights, no PEFT step.
160
 
161
+ > ⚠️ **Serverless Inference API note:** the hosted inference API does **not** support LoRA adapters. Use local PEFT loading, a custom endpoint, or the merged GGUF sibling.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
 
163
  ---
164
 
165
+ ## Training
166
+
167
+ | | |
168
+ |---|---|
169
+ | **Base model** | Qwen/Qwen2.5-7B-Instruct |
170
+ | **Method** | QLoRA (4-bit) |
171
+ | **LoRA config** | r=16, alpha=32, dropout 0.0, targets q/k/v/o_proj |
172
+ | **Task type** | CAUSAL_LM |
173
+ | **Data** | combined-v6 + combined-v7 + irrelevance-supplement |
174
+ | **Format / context** | ChatML with tool schema Β· 32K tokens |
175
+ | **Steps / epochs** | 300 steps Β· ~7.7 epochs (from `training_metrics.json`) |
176
+ | **Final train loss** | 0.513 (step 300, from `training_metrics.json`) |
177
+ | **Final eval loss** | 0.384 / token acc 88.7% β€” reported from run logs; not persisted in `training_metrics.json` (file holds train steps only) |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
178
 
179
  ---
180
 
181
+ ## Evaluation & Benchmarks
182
 
183
+ **SakThai Bench v2 (internal, not yet independently verified)** β€” from [`.eval_results/sakthai-bench-v2.yaml`](https://huggingface.co/Nanthasit/sakthai-context-7b-tools/blob/main/.eval_results/sakthai-bench-v2.yaml) in this repo:
184
 
185
+ | Benchmark | Metric | Score | Verified |
186
+ |:----------|:-------|:-----:|:--------:|
187
+ | [SakThai Bench v2](https://huggingface.co/datasets/Nanthasit/sakthai-bench-v2) | Selection Accuracy | 57.0% | No (internal) |
188
+ | [SakThai Bench v2](https://huggingface.co/datasets/Nanthasit/sakthai-bench-v2) | Arguments Accuracy | 0.0% | No (internal) |
189
 
190
+ The adapter reliably **selects** the right tool (57%) but argument generation still needs work (0% on bench-v2). This is honest internal data β€” treat the 7B adapter as a tool-selection specialist today, with merged-GGUF verification on the roadmap. Multi-trial, independently verified benchmarks are pending.
 
 
 
 
 
 
 
 
 
 
191
 
192
  ---
193
 
194
  ## SakThai Model Family
195
 
196
+ All public repositories in the [SakThai Model Family](https://huggingface.co/collections/Nanthasit/sakthai-model-family-6a64745450b12d421c1f9f02) (downloads and sizes live as of 2026-07-31; sizes from `model_info` when available):
197
+
198
+ | Model | Size | Downloads | Role |
199
+ |:------|:----:|:---------:|:-----|
200
+ | [sakthai-context-1.5b-merged](https://huggingface.co/Nanthasit/sakthai-context-1.5b-merged) | 1.54 GB | **1855** | |
201
+ | [sakthai-context-0.5b-merged](https://huggingface.co/Nanthasit/sakthai-context-0.5b-merged) | 0.49 GB | **1692** | |
202
+ | [sakthai-context-7b-merged](https://huggingface.co/Nanthasit/sakthai-context-7b-merged) | 7.62 GB | **1024** | |
203
+ | [sakthai-embedding-multilingual](https://huggingface.co/Nanthasit/sakthai-embedding-multilingual) | 0.12 GB | **627** | |
204
+ | [sakthai-context-7b-128k](https://huggingface.co/Nanthasit/sakthai-context-7b-128k) | β€” | **610** | |
205
+ | [sakthai-context-7b-tools](https://huggingface.co/Nanthasit/sakthai-context-7b-tools) | β€” | **489** | β¬… **this** |
206
+ | [sakthai-context-1.5b-tools](https://huggingface.co/Nanthasit/sakthai-context-1.5b-tools) | β€” | **477** | |
207
+ | [sakthai-context-1.5b-merged-v2](https://huggingface.co/Nanthasit/sakthai-context-1.5b-merged-v2) | 1.54 GB | **337** | |
208
+ | [sakthai-vision-7b](https://huggingface.co/Nanthasit/sakthai-vision-7b) | β€” | **315** | |
209
+ | [sakthai-plus-1.5b-lora](https://huggingface.co/Nanthasit/sakthai-plus-1.5b-lora) | β€” | **306** | |
210
+ | [sakthai-context-0.5b-tools](https://huggingface.co/Nanthasit/sakthai-context-0.5b-tools) | 0.49 GB | **251** | |
211
+ | [sakthai-tts-model](https://huggingface.co/Nanthasit/sakthai-tts-model) | β€” | **248** | |
212
+ | [sakthai-plus-1.5b](https://huggingface.co/Nanthasit/sakthai-plus-1.5b) | 1.54 GB | **244** | |
213
+ | [sakthai-context-1.5b-tools-v2](https://huggingface.co/Nanthasit/sakthai-context-1.5b-tools-v2) | β€” | **173** | |
214
+ | [sakthai-coder-1.5b](https://huggingface.co/Nanthasit/sakthai-coder-1.5b) | β€” | **151** | |
215
+ | [sakthai-coder-browser](https://huggingface.co/Nanthasit/sakthai-coder-browser) | 1.54 GB | **54** | |
216
+ | [sakthai-coder-browser-gguf](https://huggingface.co/models/Nanthasit/sakthai-coder-browser-gguf) | β€” | **35** | |
217
+ | [sakthai-embedding](https://huggingface.co/Nanthasit/sakthai-embedding) | 0.02 GB | **23** | |
218
+ | [sakthai-coder-browser-lora](https://huggingface.co/Nanthasit/sakthai-coder-browser-lora) | β€” | **21** | |
219
+ | [sakthai-plus-1.5b-coder](https://huggingface.co/Nanthasit/sakthai-plus-1.5b-coder) | β€” | **0** | |
220
+ | [eval_results](https://huggingface.co/Nanthasit/eval_results) | β€” | **0** | |
221
+ | [sakthai-bench-v3](https://huggingface.co/Nanthasit/sakthai-bench-v3) | β€” | **0** | |
222
+ | [sakthai-pipeline](https://huggingface.co/Nanthasit/sakthai-pipeline) | β€” | **0** | |
223
+ | [sakthai-context-0.5b-tools-sft](https://huggingface.co/Nanthasit/sakthai-context-0.5b-tools-sft) | β€” | **0** | |
224
+ | [sft-out](https://huggingface.co/Nanthasit/sft-out) | β€” | **0** | |
225
+ | [sakthai-context-0.5b-tools-sft-v2](https://huggingface.co/Nanthasit/sakthai-context-0.5b-tools-sft-v2) | β€” | **0** | |
226
 
227
  ---
228
 
229
  ## Limitations
230
 
231
+ - **LoRA adapter only** β€” needs PEFT loading or merging; the hosted Inference API does not serve adapters.
232
+ - **Arguments accuracy 0%** on internal bench-v2 β€” argument generation is the current weakness.
233
+ - English-focused; trained on synthetic tool-calling data, not broad general knowledge (the base Qwen2.5-7B-Instruct covers general capability).
234
+
235
+ ---
236
+
237
+ ## Citation
238
+
239
+ If you use this adapter in your work, please cite both the base model and the fine-tune:
240
+
241
+ ```bibtex
242
+ @article{qwen2.5,
243
+ title={Qwen2.5 Technical Report},
244
+ author={Qwen Team},
245
+ journal={arXiv preprint arXiv:2412.15115},
246
+ year={2024}
247
+ }
248
+
249
+ @misc{sakthai-context-7b-tools,
250
+ title={SakThai Context 7B Tools: Tool-Calling LoRA Adapter},
251
+ author={Nanthasit, Beer and the SakThai Family Agents},
252
+ year={2026},
253
+ howpublished={\url{https://huggingface.co/Nanthasit/sakthai-context-7b-tools}
254
+ note={Apache 2.0; fine-tuned from Qwen/Qwen2.5-7B-Instruct via QLoRA}
255
+ }
256
+ ```
257
 
258
  ---
259