Downloads · 30 days
7
10% of all-time downloads
Lina-Z/qwen_arabic_ft
qwen_arabic_ft is a machine learning model from Lina-Z. 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.
This repository contains a LoRA adapter only, not a full model.
Downloads · 30 days
7
10% of all-time downloads
All-time downloads
72
Public
Repo size
421 MB
Likes
0
Public
Click a slice to open those files.
.safetensors421 MB · 100%
From the Hugging Face model README
This repository contains a LoRA adapter only, not a full model.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained(
"Qwen/Qwen2.5-72B-Instruct",
torch_dtype="auto",
device_map="auto",
trust_remote_code=True
)
model = PeftModel.from_pretrained(
base_model,
"Lina-Z/qwen_arabic_ft"
)