S-MLLMUn LLaVA-OneVision Original Model
This repository contains the fine-tuned original LLaVA-OneVision checkpoint used by S-MLLMUn before applying unlearning methods.
The checkpoint was initialized from llava-hf/llava-onevision-qwen2-7b-si-hf and fine-tuned on the S-MLLMUn benchmark fine-tuning data. Tokenizer and processor files are copied from the base model so the checkpoint can be loaded directly with Transformers.
Usage
from transformers import AutoProcessor, LlavaOnevisionForConditionalGeneration
model_id = "path-or-hf-repo-id"
processor = AutoProcessor.from_pretrained(model_id)
model = LlavaOnevisionForConditionalGeneration.from_pretrained(model_id)
For benchmark reproduction, place this checkpoint at:
model/original_model/llava-onevision-qwen2-7b-original
and pass it as --original_dir in the S-MLLMUn training scripts.