Downloads · 30 days
9
9% of all-time downloads
infinitylogesh/vlm-workshop-qwen3.5-4b-sft
vlm-workshop-qwen3.5-4b-sft is a text generation model from infinitylogesh. Use it when you need the model to write or continue text. It is set up for peft.
This model is a fine-tuned version of Qwen/Qwen3.5-4B. It has been trained using TRL.
Downloads · 30 days
9
9% of all-time downloads
All-time downloads
105
Public
Repo size
190 MB
Likes
0
Public
Click a slice to open those files.
.safetensors170 MB · 89%
From the Hugging Face model README
This model is a fine-tuned version of Qwen/Qwen3.5-4B. It has been trained using TRL.
This repository contains a LoRA adapter, not merged model weights. Load the Qwen3.5 base model first, then attach the adapter:
import torch
from peft import PeftModel
from transformers import AutoModelForImageTextToText, AutoProcessor
adapter_id = "infinitylogesh/vlm-workshop-qwen3.5-4b-sft"
base_id = "Qwen/Qwen3.5-4B"
processor = AutoProcessor.from_pretrained(adapter_id)
model = AutoModelForImageTextToText.from_pretrained(
base_id,
dtype=torch.bfloat16,
device_map="auto",
)
model = PeftModel.from_pretrained(model, adapter_id).eval()
This model was trained with SFT.
Cite TRL as:
@software{vonwerra2020trl,
title = {{TRL: Transformers Reinforcement Learning}},
author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
license = {Apache-2.0},
url = {https://github.com/huggingface/trl},
year = {2020}
}