Downloads · 30 days
17
15% of all-time downloads
ziadrone/airesupdated-v6
airesupdated-v6 is a text generation model from ziadrone. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
This model is a fine-tuned version of Qwen/Qwen3-4B using a novel combination of: - Tree-of-Thought (ToT) reasoning - GRPO (Group Relative Policy Optimization) fine-tuning - Forced Path Differentiation for robust DPO…
Downloads · 30 days
17
15% of all-time downloads
All-time downloads
114
Public
Repo size
144 MB
Likes
1
Public
Click a slice to open those files.
.safetensors132 MB · 89%
From the Hugging Face model README
This model is a fine-tuned version of Qwen/Qwen3-4B using a novel combination of:
The model is optimized for structured reasoning tasks, particularly mathematical problem-solving.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
# Load base model
base_model = AutoModelForCausalLM.from_pretrained(
"Qwen/Qwen3-4B",
torch_dtype=torch.float32,
device_map="auto"
)
# Load tokenizer
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-4B")
# Load trained adapter
model = PeftModel.from_pretrained(base_model, "ziadrone/airesupdated-v6")
# Generate
prompt = "Solve: 3x + 5 = 20"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7,
do_sample=True
)
print(tokenizer.decode(outputs[0]))
<think>
[Step-by-step reasoning]
</think>
<answer>
[Final answer]
</answer>
@misc{airesupdated_v6},
author = {ziadrone},
title = {airesupdated-v6: ToT Reasoning with GRPO},
year = {2025},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/ziadrone/airesupdated-v6}}
}
Apache 2.0 (inherited from base model)
Last Updated: 2025-11-05