SakThai Kaggle & Colab Notebooks

Download Dataset Downloads

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-Instruct on sakthai-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 SFTTrainer with 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

Other SakThai Workflows

  • sakthai-1.5b-t4.ipynb: 1.5B model SFT on Kaggle T4 GPU
  • sakthai-engine.ipynb: SakThai Engine instruction fine-tuning
  • sakthai-7b-engine.ipynb: 7B scale training recipe
  • sakthai_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}
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support