Downloads · 30 days
12
3% of all-time downloads
sarimahsan101/qwen2.5-7b-thinking-esp
qwen2.5-7b-thinking-esp is a text generation model from sarimahsan101. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
A lightweight, reasoning-enhanced multilingual model fine-tuned for step-by-step thinking in Spanish and French, built on top of Qwen2.5-7B-Instruct using LoRA.
Downloads · 30 days
12
3% of all-time downloads
All-time downloads
357
Public
Parameters
7.6B
15.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors15.2 GB · 100%
From the Hugging Face model README
A lightweight, reasoning-enhanced multilingual model fine-tuned for step-by-step thinking in Spanish and French, built on top of Qwen2.5-7B-Instruct using LoRA.
This model enhances the reasoning capabilities of the base model by encouraging structured "thinking" before answering. It is optimized for:
The fine-tuning process leverages curated multilingual reasoning datasets to improve coherence, clarity, and depth in responses.
| Component | Description |
|---|---|
| Base Model | Qwen2.5-7B-Instruct |
| Fine-tuning | LoRA (Low-Rank Adaptation) via Unsloth |
| Dataset | HuggingFaceH4/Multilingual-Thinking (Spanish & French filtered) |
| Quantization | 4-bit (bitsandbytes) |
| Max Sequence Length | 512 tokens |
| Framework | TRL + Unsloth |
from unsloth import FastLanguageModel
import torch
model, tokenizer = FastLanguageModel.from_pretrained(
model_name = "sarimahsan101/qwen2.5-7b-thinking-esp",
max_seq_length = 512,
load_in_4bit = True,
)
FastLanguageModel.for_inference(model)