Downloads · 30 days
6
14% of all-time downloads
younesAbaaoud/qwen3-4b_15k_v0
qwen3-4b_15k_v0 is a machine learning model from younesAbaaoud. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft.
Modele fine-tune sur Qwen/Qwen3-4B-Instruct-2507 pour le dialecte marocain (Darija).
Downloads · 30 days
6
14% of all-time downloads
All-time downloads
42
Public
Repo size
144 MB
Likes
0
Public
Click a slice to open those files.
.safetensors132 MB · 92%
From the Hugging Face model README
Modele fine-tune sur Qwen/Qwen3-4B-Instruct-2507 pour le dialecte marocain (Darija).
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-4B-Instruct-2507", torch_dtype=torch.float16, device_map="auto")
model = PeftModel.from_pretrained(base, "darija_qwen_lora_adapter")
tokenizer = AutoTokenizer.from_pretrained("darija_qwen_lora_adapter")