Run this model with HF Jobs
Run RJTPP/th_reasoning-01-deepseek1.5b-alignment on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/RJTPP/th_reasoning-01-deepseek1.5b-alignment. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/RJTPP/th_reasoning-01-deepseek1.5b-alignment on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/RJTPP/th_reasoning-01-deepseek1.5b-alignment. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/RJTPP/th_reasoning-01-deepseek1.5b-alignment. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use RJTPP/th_reasoning-01-deepseek1.5b-alignment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use RJTPP/th_reasoning-01-deepseek1.5b-alignment with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/DeepSeek-R1-Distill-Qwen-1.5B-bnb-4bit") model = PeftModel.from_pretrained(base_model, "RJTPP/th_reasoning-01-deepseek1.5b-alignment") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Thai math reasoning, stage 01: Alignment SFT
LoRA adapter for DeepSeek-R1-Distill-Qwen-1.5B. Broad Thai alignment, keeping some English.
Part of an early experiment (April 2025) in Thai mathematical reasoning with small models. The model reasons in the language of the question: a Thai question gets Thai reasoning, an English question English reasoning. DeepSeek-R1-Distill-Qwen-1.5B was trained in four stages. Each stage continues training the same LoRA adapter, so each repo is a checkpoint of one adapter.
| Stage | Method | Adapter | GGUF |
|---|---|---|---|
| 01 | Alignment SFT (this model) | 01-deepseek1.5b-alignment | |
| 02 | Reasoning SFT | 02-deepseek1.5b-reasoning | |
| 03 | GRPO | 03-deepseek1.5b-GRPO | Q4_K_M |
| 04 | Post-GRPO SFT | 04-deepseek1.5b-post_GRPO | Q4_K_M |
This stage
Supervised fine-tuning for alignment, trained on volume: a large mix of general instructions and reasoning traces, mostly Thai while keeping some English. Built from Alpaca-cleaned, LIMO and DeepSeek-R1 distillation data (the original, cleaned and Thai-translated versions).
Use
The adapter applies directly to the base model, because every stage trained the same adapter.
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained("RJTPP/th_reasoning-01-deepseek1.5b-alignment", load_in_4bit=True)
or with PEFT:
from peft import AutoPeftModelForCausalLM
from transformers import AutoTokenizer
model = AutoPeftModelForCausalLM.from_pretrained("RJTPP/th_reasoning-01-deepseek1.5b-alignment")
tokenizer = AutoTokenizer.from_pretrained("RJTPP/th_reasoning-01-deepseek1.5b-alignment")
- Downloads last month
- 24