Text Generation
Transformers
Safetensors
English
qwen2
qwen2.5
qwen2.5-coder
sakthai
house-of-sak
browser-automation
web-agent
tool-calling
function-calling
tool-use
agent
code-generation
finetuned
finetune
sft
merged
conversational
Eval Results (legacy)
Eval Results
text-generation-inference
Instructions to use Nanthasit/sakthai-coder-browser with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nanthasit/sakthai-coder-browser with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Nanthasit/sakthai-coder-browser") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Nanthasit/sakthai-coder-browser") model = AutoModelForCausalLM.from_pretrained("Nanthasit/sakthai-coder-browser", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Nanthasit/sakthai-coder-browser with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Nanthasit/sakthai-coder-browser" # 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-browser", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Nanthasit/sakthai-coder-browser
- SGLang
How to use Nanthasit/sakthai-coder-browser with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Nanthasit/sakthai-coder-browser" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Nanthasit/sakthai-coder-browser", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Nanthasit/sakthai-coder-browser" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Nanthasit/sakthai-coder-browser", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Nanthasit/sakthai-coder-browser with Docker Model Runner:
docker model run hf.co/Nanthasit/sakthai-coder-browser
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -46,11 +46,11 @@ inference:
|
|
| 46 |
|
| 47 |
<p align="center">
|
| 48 |
<strong>Browser automation agent — Qwen2.5-Coder-1.5B-Instruct fine-tuned for web interaction</strong><br/>
|
| 49 |
-
<em>Part of the <a href="https://huggingface.co/collections/Nanthasit/sakthai-model-family-6a64745450b12d421c1f9f02
|
| 50 |
</p>
|
| 51 |
|
| 52 |
<p align="center">
|
| 53 |
-
<a href="https://huggingface.co/Nanthasit
|
| 54 |
<a href="https://github.com/beer-sakthai"><img src="https://img.shields.io/badge/GitHub-beer--sakthai-181717?logo=github" alt="GitHub"/></a>
|
| 55 |
<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>
|
| 56 |
<img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fmodels%2FNanthasit%2Fsakthai-coder-browser&query=%24.downloads&label=downloads&color=blue" alt="Downloads"/>
|
|
@@ -244,7 +244,7 @@ Ecosystem status from `.eval_results/cron-eval-sakthai-coder-browser-2026-07-30-
|
|
| 244 |
|
| 245 |
## Model Family
|
| 246 |
|
| 247 |
-
One of **
|
| 248 |
|
| 249 |
| Model | Size | Type | Downloads |
|
| 250 |
|:------|-----:|:-----|----------:|
|
|
@@ -290,7 +290,7 @@ If you use SakThai Coder Browser in your work, please cite the base model and th
|
|
| 290 |
author = {Qwen Team},
|
| 291 |
year = {2024},
|
| 292 |
publisher = {Hugging Face},
|
| 293 |
-
howpublished = {\url{https://huggingface.co/Qwen/Qwen2.5-Coder-1.5B-Instruct
|
| 294 |
}
|
| 295 |
|
| 296 |
@misc{sakthai-model-family,
|
|
@@ -298,7 +298,7 @@ If you use SakThai Coder Browser in your work, please cite the base model and th
|
|
| 298 |
author = {{Beer Nanthasit}},
|
| 299 |
year = {2026},
|
| 300 |
publisher = {Hugging Face},
|
| 301 |
-
howpublished = {\url{https://huggingface.co/collections/Nanthasit/sakthai-model-family-6a64745450b12d421c1f9f02
|
| 302 |
}
|
| 303 |
```
|
| 304 |
|
|
|
|
| 46 |
|
| 47 |
<p align="center">
|
| 48 |
<strong>Browser automation agent — Qwen2.5-Coder-1.5B-Instruct fine-tuned for web interaction</strong><br/>
|
| 49 |
+
<em>Part of the <a href="https://huggingface.co/collections/Nanthasit/sakthai-model-family-6a64745450b12d421c1f9f02>SakThai Model Family</a></em>
|
| 50 |
</p>
|
| 51 |
|
| 52 |
<p align="center">
|
| 53 |
+
<a href="https://huggingface.co/Nanthasit><img src="https://img.shields.io/badge/%F0%9F%A4%97-Nanthasit-6644cc" alt="Profile"/></a>
|
| 54 |
<a href="https://github.com/beer-sakthai"><img src="https://img.shields.io/badge/GitHub-beer--sakthai-181717?logo=github" alt="GitHub"/></a>
|
| 55 |
<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>
|
| 56 |
<img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fmodels%2FNanthasit%2Fsakthai-coder-browser&query=%24.downloads&label=downloads&color=blue" alt="Downloads"/>
|
|
|
|
| 244 |
|
| 245 |
## Model Family
|
| 246 |
|
| 247 |
+
One of **20 public models** in the [SakThai Model Family collection](https://huggingface.co/collections/Nanthasit/sakthai-model-family-6a64745450b12d421c1f9f02) (22 including private experimental repos). Live download counts as of **2026-07-31**; sizes API-verified from largest weight file.
|
| 248 |
|
| 249 |
| Model | Size | Type | Downloads |
|
| 250 |
|:------|-----:|:-----|----------:|
|
|
|
|
| 290 |
author = {Qwen Team},
|
| 291 |
year = {2024},
|
| 292 |
publisher = {Hugging Face},
|
| 293 |
+
howpublished = {\url{https://huggingface.co/Qwen/Qwen2.5-Coder-1.5B-Instruct}}
|
| 294 |
}
|
| 295 |
|
| 296 |
@misc{sakthai-model-family,
|
|
|
|
| 298 |
author = {{Beer Nanthasit}},
|
| 299 |
year = {2026},
|
| 300 |
publisher = {Hugging Face},
|
| 301 |
+
howpublished = {\url{https://huggingface.co/collections/Nanthasit/sakthai-model-family-6a64745450b12d421c1f9f02}}
|
| 302 |
}
|
| 303 |
```
|
| 304 |
|