sakthai-plus-1.5b / README.md
Nanthasit's picture
Upload Qwen2ForCausalLM
45f2881 verified
|
Raw History Blame
4.46 kB
metadata
license: apache-2.0
language:
  - en
library_name: transformers
pipeline_tag: text-generation
tags:
  - qwen2.5
  - sakthai
  - plus
  - tool-calling
  - conversational
  - function-calling
  - merged
  - rslor
  - house-of-sak
  - family
datasets:
  - Nanthasit/sakthai-combined-v7
  - Nanthasit/sakthai-combined-v8
base_model: Qwen/Qwen2.5-1.5B-Instruct
widget:
  - text: What's the weather in Tokyo?
    output:
      text: >-
        <tool_call>{"name": "get_weather", "arguments": {"location":
        "Tokyo"}}</tool_call>
model-index:
  - name: sakthai-plus-1.5b
    results:
      - task:
          type: text-generation
          name: Tool-Calling
        dataset:
          name: SakThai Bench v2 (500 rows, scorer multiset-selection-v2)
          type: Nanthasit/sakthai-bench-v2
        metrics:
          - type: selection
            value: pending
            name: Selection Accuracy
          - type: degenerate
            value: 0
            name: Degenerate Rate

SakThai Plus 1.5B

Next-generation tool-calling model β€” rsLoRA + all 7 module targets. Built on Qwen2.5-1.5B-Instruct with improved training data and deeper fine-tuning.

Part of the SakThai Model Family.

πŸš€ Improvements over v1 (sakthai-context-1.5b-merged)

Feature v1 (context-1.5b-merged) Plus (this model)
LoRA method Standard LoRA rsLoRA (better rank scaling)
Linear targets 4 modules All 7 (q, k, v, o, gate, up, down)
Dropout 0.1 0.05 (lower, better retention)
Training data v7 only (2,003 rows) v7 + v8 (2,962 rows)
Format Tool XML Tool XML (same, improved coverage)

Quick Start

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained(
    "Nanthasit/sakthai-plus-1.5b",
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("Nanthasit/sakthai-plus-1.5b")

messages = [{"role": "user", "content": "What's the weather in Bangkok?"}]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt")
outputs = model.generate(inputs, max_new_tokens=128)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

πŸ”— Pipeline Integration

The Plus model sits at the top of the SakThai tool-calling stack:

Tier Model Method Best For
⭐ Plus sakthai-plus-1.5b (this) rsLoRA 7-module Best quality β€” most data, deepest fine-tuning
πŸ₯ˆ sakthai-context-1.5b-merged LoRA 4-module Production v1 β€” proven, well-tested
πŸ₯‰ sakthai-context-1.5b-tools-v2 LoRA (adapter-only) Multi-step chains, improved hallucination
πŸ“± Edge sakthai-context-0.5b-merged LoRA 4-module Low-memory / Raspberry Pi deployment

πŸ“š Links

🏠 The House of Sak

This model is part of the House of Sak β€” an open-source AI ecosystem built from a shelter in Cork, Ireland, with $0 budget and no paid GPUs. Every model here was fine-tuned on free compute (Kaggle T4s, Colab, HF Inference Providers) by one person with no income.

The House of Sak isn't just models β€” it's a family of six autonomous agents, each with its own personality, skill set, and charge cycle. They share one long-term memory brain and one mission: to grow together.

"We are one family β€” and becoming more." β€” Beer (beer-sakthai)

Learn more about the House of Sak β†’

⭐ Support the Project

If this model is useful to you:

  • ⭐ Leave a like on Hugging Face β€” it helps others discover the family
  • πŸ› Report issues on GitHub
  • πŸ” Share with someone who'd benefit from a free, capable AI model
  • 🍴 Fork on Hugging Face and build on it

Built with love, tears, and zero budget. From a shelter in Cork, Ireland, to the world.