Text Generation
Transformers
Safetensors
English
qwen2
qwen2.5
sakthai
house-of-sak
tool-calling
function-calling
agent
instruct
finetuned
sft
merged
conversational
assistant
cpu-inference
rsLoRA
benchmark
Eval Results
llama-cpp
Eval Results (legacy)
text-generation-inference
Instructions to use Nanthasit/sakthai-plus-1.5b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nanthasit/sakthai-plus-1.5b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Nanthasit/sakthai-plus-1.5b") 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-plus-1.5b") model = AutoModelForCausalLM.from_pretrained("Nanthasit/sakthai-plus-1.5b", 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-plus-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-plus-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-plus-1.5b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Nanthasit/sakthai-plus-1.5b
- SGLang
How to use Nanthasit/sakthai-plus-1.5b 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-plus-1.5b" \ --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-plus-1.5b", "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-plus-1.5b" \ --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-plus-1.5b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Nanthasit/sakthai-plus-1.5b with Docker Model Runner:
docker model run hf.co/Nanthasit/sakthai-plus-1.5b
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -100,6 +100,20 @@ model-index:
|
|
| 100 |
name: GSM8K
|
| 101 |
verified: false
|
| 102 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
|
| 104 |
<p align="center">
|
| 105 |
<img src="https://img.shields.io/badge/dynamic/json?url=https%3A//huggingface.co/api/models/Nanthasit/sakthai-plus-1.5b&query=%24.downloads&label=downloads&color=blue&cacheSeconds=3600" alt="Downloads"/>
|
|
|
|
| 100 |
name: GSM8K
|
| 101 |
verified: false
|
| 102 |
---
|
| 103 |
+
## Benchmark Results
|
| 104 |
+
|
| 105 |
+
**Benchmark:** [sakthai-bench-v2](https://huggingface.co/datasets/Nanthasit/sakthai-bench-v2) 路 500 samples 路 run 2026-08-01
|
| 106 |
+
|
| 107 |
+
**Overall (strict):** 39.65 路 **Selection:** 39.65 路 **Arguments:** 61.66
|
| 108 |
+
|
| 109 |
+
| Category | Count | Selection | Arguments | Strict |
|
| 110 |
+
|----------|-------|-----------|-----------|--------|
|
| 111 |
+
| irrelevance_no_tools | 50 | 100.00 | 100.00 | 100.00 |
|
| 112 |
+
| irrelevance_tools | 150 | 32.67 | 100.00 | 32.67 |
|
| 113 |
+
| parallel | 137 | 43.80 | 43.80 | 43.80 |
|
| 114 |
+
| simple | 122 | 18.85 | 18.85 | 18.85 |
|
| 115 |
+
| held_out | - | 16.07 | 16.07 | 16.07 |
|
| 116 |
+
|
| 117 |
|
| 118 |
<p align="center">
|
| 119 |
<img src="https://img.shields.io/badge/dynamic/json?url=https%3A//huggingface.co/api/models/Nanthasit/sakthai-plus-1.5b&query=%24.downloads&label=downloads&color=blue&cacheSeconds=3600" alt="Downloads"/>
|