Run this model with HF Jobs

Run SkyAsl/Nanbeige4.1-VLM-LoRA on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/SkyAsl/Nanbeige4.1-VLM-LoRA. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/SkyAsl/Nanbeige4.1-VLM-LoRA on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Nanbeige4.1-VLM — Stage 2 LoRA Weights

LoRA adapter weights from Stage 2 instruction fine-tuning. Use this if you want the smallest download or want to merge manually.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch

base = AutoModelForCausalLM.from_pretrained(
    "Nanbeige/Nanbeige4.1-3B",
    trust_remote_code=True,
    torch_dtype=torch.bfloat16,
)
model = PeftModel.from_pretrained(base, "SkyAsl/Nanbeige4.1-VLM-Stage2-LoRA")

# For full VLM inference, use the merged version instead:
# SkyAsl/Nanbeige4.1-VLM-Stage2

LoRA Config

  • r: 64
  • alpha: 128
  • target: q_proj, k_proj, v_proj, o_proj
  • Dataset: LLaVA-Instruct-150K
  • Base: SkyAsl/Nanbeige4.1-VLM-Base (Stage 1)
Downloads last month
3
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for SkyAsl/Nanbeige4.1-VLM-LoRA

Adapter
(1)
this model

Collection including SkyAsl/Nanbeige4.1-VLM-LoRA