English
Thai
code
notebooks
training-scripts
tool-calling
function-calling
sakthai
Nanthasit/sakthai-kaggle-notebooks
license-mit
dataset-card
model:Nanthasit/sakthai-context-0.5b-tools-sft-v3
model:Nanthasit/sakthai-context-0.5b-merged-v3
model:Nanthasit/sakthai-1.5b
model:Nanthasit/sakthai-engine
model:Nanthasit/sakthai-7b-engine
SakThai Kaggle & Colab Notebooks
Part of the SakThai Model Family by Beer (@Nanthasit).
Dataset Summary
This repository stores a curated collection of notebooks, training recipes, and job scripts used across SakThai experiments. All workflows are built and verified for execution on Kaggle and Google Colab GPU runtimes (including free Tesla T4 GPUs).
Featured Workflows & Notebooks
⚡ SakThai Context 0.5B Tool-Calling SFT (v3)
- File:
SakThai_Context_0_5B_SFT_v3.ipynb - Task: Fine-tuning
Qwen2.5-0.5B-Instructonsakthai-combined-v12(7,437 multi-turn function-calling dialogues). - Architecture: 4-bit NF4 QLoRA + rsLoRA ($r=16, \alpha=32$, all-linear targets
q, k, v, o, gate, up, down_proj). - Features:
- Modern TRL
SFTTrainerwith ChatML tool calling templates - Tesla T4 compatibility fixes for Turing GPU GradScaler float32 and chunked logprob
- Automatic push of LoRA adapter (
Nanthasit/sakthai-context-0.5b-tools-sft-v3) and merged model (Nanthasit/sakthai-context-0.5b-merged-v3) - Inference verification with Thai function calling
- Modern TRL
Other SakThai Workflows
sakthai-1.5b-t4.ipynb: 1.5B model SFT on Kaggle T4 GPUsakthai-engine.ipynb: SakThai Engine instruction fine-tuningsakthai-7b-engine.ipynb: 7B scale training recipesakthai_grpo_colab.ipynb: Group Relative Policy Optimization (GRPO) reinforcement learning
Quick Download & Run in Colab
# Download the SFT v3 notebook directly in Colab terminal
wget https://huggingface.co/datasets/Nanthasit/sakthai-kaggle-notebooks/raw/main/SakThai_Context_0_5B_SFT_v3.ipynb
from huggingface_hub import hf_hub_download
# Download via Python
nb_path = hf_hub_download(
repo_id="Nanthasit/sakthai-kaggle-notebooks",
filename="SakThai_Context_0_5B_SFT_v3.ipynb",
repo_type="dataset",
)
print("Notebook downloaded to:", nb_path)
Citation & License
Released under the MIT License.
@misc{sakthai-kaggle-notebooks,
title = {SakThai Kaggle Notebooks},
author = {Beer / SakThai},
year = {2026},
url = {https://huggingface.co/datasets/Nanthasit/sakthai-kaggle-notebooks}
}
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support