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
Delete .eval_results/health-check-plus-1.5b-20260730.yaml with huggingface_hub
Browse files
.eval_results/health-check-plus-1.5b-20260730.yaml
DELETED
|
@@ -1,142 +0,0 @@
|
|
| 1 |
-
# Health Check Report
|
| 2 |
-
# Generated: 2026-07-30T20:46:36Z
|
| 3 |
-
# Cron: Free model health eval
|
| 4 |
-
|
| 5 |
-
model:
|
| 6 |
-
id: Nanthasit/sakthai-plus-1.5b
|
| 7 |
-
private: false
|
| 8 |
-
gated: false
|
| 9 |
-
disabled: false
|
| 10 |
-
pipeline_tag: text-generation
|
| 11 |
-
library_name: transformers
|
| 12 |
-
base_model: Qwen/Qwen2.5-1.5B-Instruct
|
| 13 |
-
sha: 659d0e6f1be5e1d2d57f68d6e27d31e000b65b3f
|
| 14 |
-
architecture: Qwen2ForCausalLM
|
| 15 |
-
model_type: qwen2
|
| 16 |
-
|
| 17 |
-
config:
|
| 18 |
-
hidden_size: 1536
|
| 19 |
-
num_attention_heads: 12
|
| 20 |
-
num_key_value_heads: 2
|
| 21 |
-
num_hidden_layers: 28
|
| 22 |
-
vocab_size: 151936
|
| 23 |
-
intermediate_size: 8960
|
| 24 |
-
max_position_embeddings: 32768
|
| 25 |
-
rms_norm_eps: 1e-06
|
| 26 |
-
torch_dtype: bfloat16
|
| 27 |
-
attention_dropout: 0.0
|
| 28 |
-
hidden_act: silu
|
| 29 |
-
tie_word_embeddings: true
|
| 30 |
-
use_cache: true
|
| 31 |
-
transformers_version: "5.14.1"
|
| 32 |
-
layer_count: 28
|
| 33 |
-
layer_types:
|
| 34 |
-
- full_attention (28 layers)
|
| 35 |
-
max_window_layers: 21
|
| 36 |
-
rope_parameters:
|
| 37 |
-
rope_theta: 1000000.0
|
| 38 |
-
rope_type: default
|
| 39 |
-
sliding_window: null
|
| 40 |
-
use_sliding_window: false
|
| 41 |
-
bos_token_id: 151643
|
| 42 |
-
eos_token_id: 151645
|
| 43 |
-
pad_token_id: null
|
| 44 |
-
|
| 45 |
-
metrics:
|
| 46 |
-
downloads: 0
|
| 47 |
-
likes: 0
|
| 48 |
-
download_velocity_per_day: 0.0000
|
| 49 |
-
created_at: "2026-07-30T13:02:40.000Z"
|
| 50 |
-
last_modified: "2026-07-30T20:41:13.000Z"
|
| 51 |
-
days_since_creation: 0.3222
|
| 52 |
-
days_since_update: 0.0037
|
| 53 |
-
age_hours: 7.7
|
| 54 |
-
used_storage_bytes: 6186356180
|
| 55 |
-
used_storage_readable: "5.76 GB"
|
| 56 |
-
total_sibling_files: 15
|
| 57 |
-
storage_backend: xet
|
| 58 |
-
|
| 59 |
-
tags:
|
| 60 |
-
- conversational
|
| 61 |
-
- en
|
| 62 |
-
- endpoints_compatible
|
| 63 |
-
- family
|
| 64 |
-
- function-calling
|
| 65 |
-
- house-of-sak
|
| 66 |
-
- license:apache-2.0
|
| 67 |
-
- merged
|
| 68 |
-
- plus
|
| 69 |
-
- qwen2
|
| 70 |
-
- qwen2.5
|
| 71 |
-
- rslor
|
| 72 |
-
- safetensors
|
| 73 |
-
- sakthai
|
| 74 |
-
- text-generation
|
| 75 |
-
- text-generation-inference
|
| 76 |
-
- tool-calling
|
| 77 |
-
- transformers
|
| 78 |
-
|
| 79 |
-
datasets:
|
| 80 |
-
- Nanthasit/sakthai-combined-v7
|
| 81 |
-
- Nanthasit/sakthai-combined-v8
|
| 82 |
-
|
| 83 |
-
base_models:
|
| 84 |
-
- Qwen/Qwen2.5-1.5B-Instruct
|
| 85 |
-
- Qwen/Qwen2.5-1.5B-Instruct
|
| 86 |
-
- finetune:Qwen/Qwen2.5-1.5B-Instruct
|
| 87 |
-
|
| 88 |
-
inference:
|
| 89 |
-
gated: false
|
| 90 |
-
disabled: false
|
| 91 |
-
endpoints_compatible: true
|
| 92 |
-
text_generation_inference_compatible: true
|
| 93 |
-
|
| 94 |
-
cards:
|
| 95 |
-
model_card_present: true
|
| 96 |
-
model_card_has_yaml: true
|
| 97 |
-
model_index_present: true
|
| 98 |
-
eval_results_present: true
|
| 99 |
-
eval_result_count: 7
|
| 100 |
-
|
| 101 |
-
model_index:
|
| 102 |
-
task_type: "text-generation"
|
| 103 |
-
task_name: "Tool-Calling"
|
| 104 |
-
dataset: "SakThai Bench v2 (500 rows, scorer multiset-selection-v2)"
|
| 105 |
-
dataset_type: "Nanthasit/sakthai-bench-v2"
|
| 106 |
-
metrics:
|
| 107 |
-
Selection Accuracy: "pending (verified: false)"
|
| 108 |
-
Degenerate Rate: "0 (verified: false)"
|
| 109 |
-
|
| 110 |
-
alerts:
|
| 111 |
-
- type: info
|
| 112 |
-
message: "Zero downloads since creation (7.7 hours old) — normal for newly published model."
|
| 113 |
-
- type: info
|
| 114 |
-
message: "Model uses Xet storage backend. File sizes returned as null via API; config.json retrieved separately."
|
| 115 |
-
- type: info
|
| 116 |
-
message: "Used storage: 5.76 GB (6,186,356,180 bytes)."
|
| 117 |
-
- type: info
|
| 118 |
-
message: "15 sibling files, including 1 safetensors shard and model card with YAML frontmatter + model-index."
|
| 119 |
-
- type: info
|
| 120 |
-
message: "Full_attention all 28 layers, 12 heads / 2 KV heads (GQA), 32K context, bfloat16, RoPE theta=1e6."
|
| 121 |
-
|
| 122 |
-
health_score: 0.85
|
| 123 |
-
health_breakdown:
|
| 124 |
-
availability: 1.00
|
| 125 |
-
documentation: 1.00
|
| 126 |
-
eval_results: 1.00
|
| 127 |
-
inference_ready: 1.00
|
| 128 |
-
metadata_completeness: 1.00
|
| 129 |
-
popularity: 0.00
|
| 130 |
-
|
| 131 |
-
delta_since_previous_check:
|
| 132 |
-
previous_generated: "2026-07-30T20:40:35Z"
|
| 133 |
-
elapsed_minutes: 6.0
|
| 134 |
-
sha_changed: true
|
| 135 |
-
previous_sha: "0b23b60f8ac0"
|
| 136 |
-
new_sha: "659d0e6f1be5e1d2d57f68d6e27d31e000b65b3f"
|
| 137 |
-
downloads_delta: 0
|
| 138 |
-
likes_delta: 0
|
| 139 |
-
last_modified_updated: true
|
| 140 |
-
previous_last_modified: "2026-07-30T20:36:19Z"
|
| 141 |
-
new_last_modified: "2026-07-30T20:41:13.000Z"
|
| 142 |
-
sibling_count_unchanged: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|