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
Commit History
-
Upload Qwen2ForCausalLM
Verified signature46fb857 -
Upload README.md with huggingface_hub
Verified signatured16bf57 -
Upload README.md with huggingface_hub
Verified signaturee13c5a6 -
Upload README.md with huggingface_hub
Verified signature066b19c -
docs: add Model Description, How to Use, Benchmarks, Limitations, Citation
Verified signaturef45acfc -
docs: improve model card with concise usage, verified benchmarks, metadata summary
Verified signature72181e2 -
fix: update combined dataset link to v11 and close bibtex howpublished
Verified signature0d911fe -
eval: add metadata eval result 20260801T061747Z
Verified signatureeb96559 -
fix: remove phantom combined-v10 references
SakThai Agent95450c0 -
cron: metadata eval result update 20260801T0217Z
Verified signature74c5abc
-
fix: SimpleToolCalling dataset row ~500 -> 2,002
Verified signaturec311c66 -
docs: refresh plus-1.5b card with live badges, family count, and accurate SimpleToolCalling rows
Verified signatureROUND-4 REFRESH: added dynamic badge row; updated family count from 23+ to 25; corrected SimpleToolCalling rows ~500 -> 2,002; preserved verified 3/3 tool-calling results.9e35038 -
Add eval result: metadata cron snapshot
Verified signature41eaddc -
Upload README.md with huggingface_hub
Verified signaturebc3ae92 -
docs: overhaul README with real benchmarks, usage examples, model-index, and citation
Verified signaturebd42766 -
Fix broken collection link: corrupted slug -> correct slug (sakthai-model-family)
Verified signature61952fc -
Amend cron eval snapshot: fix repo_summary to post-upload bytes
Verified signaturee6c5b33 -
cron eval-updater: re-eval sakthai-plus-1.5b (run 27)
Verified signatureb522259 -
Add model card with family cross-links, usage guide, and metadata
Verified signature18f2572 -
Card improvement: updated family table with live download counts, added widget example_titles, increased max_new_tokens to 256, added related datasets section
Verified signatureea39129 -
fix(sakthai-plus-1.5b): honest model-index (verified true->false, self-run llama.cpp eval not HF-verified) + add Limitations + Citation sections
Verified signature0ae898d -
Audit fix: family collection count 20 public models / 15 datasets / 4 Spaces (39 items, bench-v3 joined)
Verified signaturee05b9ec -
Improve model card (round 2): add verified 3/3 tool-calling benchmark + model-index, verified architecture/training tables, expanded 19-model family table with live downloads + API-verified sizes, Tool-Calling Format section, Hosted Inference Status, Repo Contents
Verified signature69f8501 -
cron: add eval result for sakthai-plus-1.5b (metadata health check, run 16)
Verified signatured7e21c1 -
Delete .eval_results/benchmark-20260731_043830.yaml with huggingface_hub
Verified signature7a2e7e8 -
Upload .eval_results/benchmark-20260731_043830.yaml with huggingface_hub
Verified signature81489be -
Upload .eval_results/benchmark-20260731_043634.yaml with huggingface_hub
Verified signature9719da5 -
Remove broken GGUF section (repo has no GGUF files); keep transformers example
Verified signaturece53eb0 -
Fix dead cross-link: sakthai-combined-v8 (404) -> sakthai-combined-v10 (normalized v7+v8)
Verified signature15c2ffb -
Upload Qwen2ForCausalLM
Verified signature2067ee7 -
Upload README.md with huggingface_hub
Verified signature7d381ce -
fix: remove broken sakthai-combined-v8 references (dataset 404)
Verified signature5fb2e77 -
Upload README.md with huggingface_hub
Verified signatureb9eb176 -
cron: inference check — model not accessible via HF Inference API
Verified signature00013cf -
Fix cross-link: remove combined-v8 YAML tags (dataset does not exist, 404)
Verified signature6a29486
-
cron: inference check 2026-07-30 - model not available on Inference API
Verified signature474aa06 -
Upload .eval_results/inference-check-20260730T231504Z.yaml with huggingface_hub
Verified signature4cc8f88 -
cleanup 1 stale health-check files
Verified signature19643aa -
Upload .eval_results/health-check-sakthai-plus-1.5b-2026-07-30-4.yaml with huggingface_hub
Verified signatureb4b33df -
Upload .eval_results/health-check-sakthai-plus-1.5b-2026-07-30-v2.yaml with huggingface_hub
Verified signature902a6cd -
Upload .eval_results/health-check-sakthai-plus-1.5b-2026-07-30-3.yaml with huggingface_hub
Verified signature86208a9 -
Upload .eval_results/health-check-sakthai-plus-1.5b-2026-07-30-2.yaml with huggingface_hub
Verified signature9eb0cb1 -
Upload .eval_results/health-check-sakthai-plus-1.5b-2026-07-31.yaml with huggingface_hub
Verified signature26e305c -
Upload .eval_results/health-check-sakthai-plus-1.5b-2026-07-31.yaml with huggingface_hub
Verified signature7253cc8 -
Delete .eval_results/sakthai-bench-v2.yaml with huggingface_hub
Verified signature86dae91 -
Delete .eval_results/model-health-check.yaml with huggingface_hub
Verified signatured5d12f4 -
Delete .eval_results/lighteval.yaml with huggingface_hub
Verified signature9283373 -
Delete .eval_results/health-check.yaml with huggingface_hub
Verified signature4e00d14 -
Delete .eval_results/health-check-plus-1.5b.yaml with huggingface_hub
Verified signature740ccae -
Delete .eval_results/health-check-plus-1.5b-20260730.yaml with huggingface_hub
Verified signature02fe9f4