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 .eval_results/benchmark-20260731_052122.yaml with huggingface_hub
Browse files
.eval_results/benchmark-20260731_052122.yaml
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model: Nanthasit/sakthai-coder-browser
|
| 2 |
+
benchmark_ts: '2026-07-31T05:21:22Z'
|
| 3 |
+
backend: llama.cpp-gguf-q4_k_m
|
| 4 |
+
quantization: q4_k_m
|
| 5 |
+
prompt_type: tool_calling_browser_navigate_extract
|
| 6 |
+
prompt_length_chars: 1076
|
| 7 |
+
prompt: '<|im_start|>system
|
| 8 |
+
|
| 9 |
+
You are Qwen, created by Alibaba Cloud. You are a helpful assistant.
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
# Tools
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
Yo...'
|
| 16 |
+
trials: 3
|
| 17 |
+
total_time_s: 73.68
|
| 18 |
+
input_tokens: 244
|
| 19 |
+
avg_generation_tps: 16.47
|
| 20 |
+
has_tool_call_any: false
|
| 21 |
+
has_tool_call_all: false
|
| 22 |
+
has_valid_json_any: false
|
| 23 |
+
has_valid_json_all: false
|
| 24 |
+
has_correct_answer_any: false
|
| 25 |
+
has_correct_answer_all: false
|
| 26 |
+
trials_detail:
|
| 27 |
+
- seed: 7
|
| 28 |
+
output_tokens: 0
|
| 29 |
+
output_length: 0
|
| 30 |
+
generation_tps: 12.7
|
| 31 |
+
prompt_tps: 36.1
|
| 32 |
+
has_tool_call: false
|
| 33 |
+
has_valid_json: false
|
| 34 |
+
has_correct_answer: false
|
| 35 |
+
tool_names: []
|
| 36 |
+
has_browser_navigate: false
|
| 37 |
+
has_browser_extract: false
|
| 38 |
+
navigate_url_ok: false
|
| 39 |
+
tool_call_count: 0
|
| 40 |
+
response_preview: ''
|
| 41 |
+
- seed: 42
|
| 42 |
+
output_tokens: 0
|
| 43 |
+
output_length: 0
|
| 44 |
+
generation_tps: 19.3
|
| 45 |
+
prompt_tps: 62.7
|
| 46 |
+
has_tool_call: false
|
| 47 |
+
has_valid_json: false
|
| 48 |
+
has_correct_answer: false
|
| 49 |
+
tool_names: []
|
| 50 |
+
has_browser_navigate: false
|
| 51 |
+
has_browser_extract: false
|
| 52 |
+
navigate_url_ok: false
|
| 53 |
+
tool_call_count: 0
|
| 54 |
+
response_preview: ''
|
| 55 |
+
- seed: 1337
|
| 56 |
+
output_tokens: 0
|
| 57 |
+
output_length: 0
|
| 58 |
+
generation_tps: 17.4
|
| 59 |
+
prompt_tps: 65.3
|
| 60 |
+
has_tool_call: false
|
| 61 |
+
has_valid_json: false
|
| 62 |
+
has_correct_answer: false
|
| 63 |
+
tool_names: []
|
| 64 |
+
has_browser_navigate: false
|
| 65 |
+
has_browser_extract: false
|
| 66 |
+
navigate_url_ok: false
|
| 67 |
+
tool_call_count: 0
|
| 68 |
+
response_preview: ''
|
| 69 |
+
device: cpu
|
| 70 |
+
threads: 2
|
| 71 |
+
router_probe:
|
| 72 |
+
status: 404
|
| 73 |
+
error: Not Found
|
| 74 |
+
api_inference_probe:
|
| 75 |
+
probe: '000 Could not resolve host: api-inference.huggingface.co'
|