Downloads · 30 days
11
61% of all-time downloads
Ewengc21/qwen_qlora_dl_project
qwen_qlora_dl_project is a text generation model from Ewengc21. 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/Qwen2.5-VL-7B-Instruct. It has been trained using TRL.
Downloads · 30 days
11
61% of all-time downloads
All-time downloads
18
Public
Repo size
219 MB
Likes
0
Public
Click a slice to open those files.
.safetensors207 MB · 95%
From the Hugging Face model README
This model is a fine-tuned version of Qwen/Qwen2.5-VL-7B-Instruct. It has been trained using TRL.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = "Qwen/Qwen2.5-VL-7B-Instruct"
adapter = "Ewengc21/qwen_qlora_dl_project"
tokenizer = AutoTokenizer.from_pretrained(base, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
base,
device_map="auto",
trust_remote_code=True
)
model = PeftModel.from_pretrained(model, adapter)
This model was trained with SFT.
Cite TRL as:
@misc{vonwerra2022trl,
title = {{TRL: Transformer Reinforcement Learning}},
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
year = 2020,
journal = {GitHub repository},
publisher = {GitHub},
howpublished = {\url{https://github.com/huggingface/trl}}
}