Downloads · 30 days
0
Tina-Yi/R1-Distill-Qwen-1.5B-OpenR1
R1-Distill-Qwen-1.5B-OpenR1 is a question answering model from Tina-Yi. Use it when the input is a question plus a passage. It is set up for peft. The card lists the license as apache-2.0.
Tina (Tiny Reasoning Models via LoRA) models are all fine-tuned adapters on the base model deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B. This LoRA adapter in this repo is fine-tuned with the dataset open-r1/OpenR1-Math-2…
Downloads · 30 days
0
Access
Public
Updated Jul 8, 2025
Repo size
517 MB
Likes
0
Public
Click a slice to open those files.
.safetensors517 MB · 100%
From the Hugging Face model README
Tina (Tiny Reasoning Models via LoRA) models are all fine-tuned adapters on the base model deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B. This LoRA adapter in this repo is fine-tuned with the dataset open-r1/OpenR1-Math-220k. Please refer to our paper Tina: Tiny Reasoning Models via LoRA for more training details.
The Tina model is meant to be used in combination with the base model as a standard adapter. Particularly, we release all checkpoints we have for each Tina model and one could select different checkpoint to use by specifying the subfolder.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained(
"deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B",
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(
"deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B"
)
model = PeftModel.from_pretrained(
base_model,
"Tina-Yi/R1-Distill-Qwen-1.5B-OpenR1",
subfolder="checkpoint-1500" # checkpoint 1500 is the best
)