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
fix: remove phantom dataset references (combined-v8/v9, cycle-bench)
Browse files
README.md
CHANGED
|
@@ -46,12 +46,11 @@ model-index:
|
|
| 46 |
value: "pending_inference"
|
| 47 |
verified: false
|
| 48 |
datasets:
|
| 49 |
-
- Nanthasit/sakthai-combined-
|
| 50 |
-
- Nanthasit/sakthai-combined-
|
| 51 |
- Nanthasit/sakthai-combined-v10
|
| 52 |
- Nanthasit/sakthai-combined-v11
|
| 53 |
- Nanthasit/sakthai-irrelevance-supplement
|
| 54 |
-
- Nanthasit/cycle-bench
|
| 55 |
inference:
|
| 56 |
parameters:
|
| 57 |
temperature: 0.3
|
|
@@ -209,7 +208,7 @@ Verified from this repo's `config.json` (transformers 5.14.1):
|
|
| 209 |
|--------|-------|
|
| 210 |
| **Base model** | Qwen/Qwen2.5-Coder-1.5B-Instruct |
|
| 211 |
| **Method** | SFT via LoRA (r=16, alpha=32, dropout 0.05, rsLoRA) on all 7 linear projections, then merged to full weights |
|
| 212 |
-
| **Training data** | SimpleToolCalling, combined-
|
| 213 |
| **Context length** | 32,768 tokens |
|
| 214 |
| **Precision** | BF16 |
|
| 215 |
| **Hardware** | Free T4 GPU (Kaggle / Colab) |
|
|
|
|
| 46 |
value: "pending_inference"
|
| 47 |
verified: false
|
| 48 |
datasets:
|
| 49 |
+
- Nanthasit/sakthai-combined-v6
|
| 50 |
+
- Nanthasit/sakthai-combined-v7
|
| 51 |
- Nanthasit/sakthai-combined-v10
|
| 52 |
- Nanthasit/sakthai-combined-v11
|
| 53 |
- Nanthasit/sakthai-irrelevance-supplement
|
|
|
|
| 54 |
inference:
|
| 55 |
parameters:
|
| 56 |
temperature: 0.3
|
|
|
|
| 208 |
|--------|-------|
|
| 209 |
| **Base model** | Qwen/Qwen2.5-Coder-1.5B-Instruct |
|
| 210 |
| **Method** | SFT via LoRA (r=16, alpha=32, dropout 0.05, rsLoRA) on all 7 linear projections, then merged to full weights |
|
| 211 |
+
|| **Training data** | SimpleToolCalling, combined-v6, combined-v7, combined-v10, combined-v11, irrelevance-supplement |
|
| 212 |
| **Context length** | 32,768 tokens |
|
| 213 |
| **Precision** | BF16 |
|
| 214 |
| **Hardware** | Free T4 GPU (Kaggle / Colab) |
|