alt.freeweights.phi / bunny-phi-2-siglip-lora
From: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.phiSubject:

bunny-phi-2-siglip-lora

Date: 2026-11-15Commit: e6ae9e7Signed: 2DC28CC7B26A283B ✓

Text generation model. Safetensors weights, 400 MB in all. Published by BAAI under Apache-2.0.

phi400MBbunny-phi-2-siglip-lorasafetensorspermissive
FactsParamsnot statedSize400 MBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get BAAI/bunny-phi-2-siglip-lora
# manifest sha256 bde2cf0f47a9… · 400 MB · 9 files
$ fw verify ./bunny-phi-2-siglip-lora BAAI/bunny-phi-2-siglip-lora
From sourceHosted (signed)BAAI/bunny-phi-2-siglip-loraLast check: 2026-11-15 04:12 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
400 MB
Weights
378 MB (safetensors)
Parameters
not stated
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
9, each with a sha256
Publisher
BAAI
Added
2026-11-15
Section
alt.freeweights.phi
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 04:12 UTCpassed

Model card

From the publisher at commit e6ae9e7. Shown as plain text with links; images open at the publisher.

Model Card#

Image: Logo

📖 Technical report | 🏠 Code | 🐰 Demo

Bunny is a family of lightweight but powerful multimodal models. It offers multiple plug-and-play vision encoders, like EVA-CLIP, SigLIP and language backbones, including Phi-1.5, StableLM-2, Qwen1.5 and Phi-2. To compensate for the decrease in model size, we construct more informative training data by curated selection from a broader data source. Remarkably, our Bunny-3B model built upon SigLIP and Phi-2 outperforms the state-of-the-art MLLMs, not only in comparison with models of similar size but also against larger MLLM frameworks (7B), and even achieves performance on par with 13B models.

The model is pretrained on LAION-2M and finetuned on Bunny-695K. More details about this model can be found in GitHub.

Image: comparison

Quickstart#

The merged weights can be found in Bunny-v1_0-3B. To use the model with transformers, use the merged weights instead of the LoRA weights.

Before running the snippet, you need to install the following dependencies:

pip install torch transformers accelerate pillow
import torch
import transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
from PIL import Image
import warnings

# disable some warnings
transformers.logging.set_verbosity_error()
transformers.logging.disable_progress_bar()
warnings.filterwarnings('ignore')

# set device
torch.set_default_device('cpu')  # or 'cuda'

# create model
model = AutoModelForCausalLM.from_pretrained(
    'BAAI/Bunny-v1_0-3B',
    torch_dtype=torch.float16,
    device_map='auto',
    trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained(
    'BAAI/Bunny-v1_0-3B',
    trust_remote_code=True)

# text prompt
prompt = 'Why is the image funny?'
text = f"A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. USER: <image>\n{prompt} ASSISTANT:"
text_chunks = [tokenizer(chunk).input_ids for chunk in text.split('<image>')]
input_ids = torch.tensor(text_chunks[0] + [-200] + text_chunks[1], dtype=torch.long).unsqueeze(0)

# image, sample images can be found in images folder
image = Image.open('example_2.png')
image_tensor = model.process_images([image], model.config).to(dtype=model.dtype)

# generate
output_ids = model.generate(
    input_ids,
    images=image_tensor,
    max_new_tokens=100,
    use_cache=True)[0]

print(tokenizer.decode(output_ids[input_ids.shape[1]:], skip_special_tokens=True).strip())

License#

This project utilizes certain datasets and checkpoints that are subject to their respective original licenses. Users must comply with all terms and conditions of these original licenses. The content of this project itself is licensed under the Apache license 2.0.

Files

9 files · 400 MBWeights 378 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 9 files with their sha256
FileSizesha256
.gitattributes1.57 KB8f3e4a30d91e38dcac1f363b568fc32d85b79f7292a318af742b61e6a4b54cd2
README.md3.13 KBb80502f6f601abcfb26b760e857c6afbf9986df5864c1be40353a9fb4bf5d65d
adapter_config.json619 B5c34ba1c1418760ba91e66839e9b26edddb750e9fb45086614cdcacd033e75f5
adapter_model.safetensors378 MB2d1284419bd2a331515eb0a17e99d781cabe2198407f8a6c98e66fdc105ab303
comparison.png1.53 MB21e9aecaf96b617919dd8bd78784bd0861ef15847eba2f0cf75c7ef97a29def4
config.json1.23 KB7630c1f8b8618fd275a29bad6876cf3bc8a16c070a3e7d041dc29517127175ba
icon.png812 KB3e291453e6d163cd244bbffa176aa07a13ee38a260d0a004d5e153b119cd18bb
non_lora_trainables.bin19.0 MB04ab1782b83594fb2404402b5b42ab2bbb382e451389c930a5961b26b36a29af
trainer_state.json658 KBac1ddae4821cfd0fe4aea8922a49eb7c36449a2286be6c22d5917c617fe19cdd
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
e6ae9e77f4 pinned now2026-11-15 04:12 UTC9 files · 400 MB

Use it

$ fw get BAAI/bunny-phi-2-siglip-lora
# manifest sha256 bde2cf0f47a9… · 400 MB · 9 files
$ fw verify ./bunny-phi-2-siglip-lora BAAI/bunny-phi-2-siglip-lora
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/BAAI/bunny-phi-2-siglip-lora.json --dir ./bunny-phi-2-siglip-lora $ python3 fw.py verify ./bunny-phi-2-siglip-lora ./BAAI__bunny-phi-2-siglip-lora.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download BAAI/bunny-phi-2-siglip-lora --revision e6ae9e77f479fb70e8931a41579552a31ef24fc3 --local-dir ./bunny-phi-2-siglip-lora
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("BAAI/bunny-phi-2-siglip-lora", revision="e6ae9e77f479fb70e8931a41579552a31ef24fc3") model = AutoModelForCausalLM.from_pretrained("BAAI/bunny-phi-2-siglip-lora", revision="e6ae9e77f479fb70e8931a41579552a31ef24fc3", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve BAAI/bunny-phi-2-siglip-lora --revision e6ae9e77f479fb70e8931a41579552a31ef24fc3

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
b80502f6f601abcfb26b760e857c6afbf9986df5864c1be40353a9fb4bf5d65d
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.phiSubject: bunny-phi-2-siglip-loraDate: 2026-11-15Commit: e6ae9e7Signed: 2DC28CC7B26A283B ✓
Upstream
BAAI/bunny-phi-2-siglip-lora
Pinned commit
e6ae9e77f479fb70e8931a41579552a31ef24fc3
Manifest
bunny-phi-2-siglip-lora.json · .minisig
Manifest sha256
bde2cf0f47a98e3e7f74c8c1847ac39df5236a08cdcef3b580e32d24cb2e8a1c
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:12 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/BAAI/bunny-phi-2-siglip-lora.json $ curl -O https://freeweights.allternit.com/manifests/BAAI/bunny-phi-2-siglip-lora.json.minisig $ minisign -Vm bunny-phi-2-siglip-lora.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download BAAI/bunny-phi-2-siglip-lora
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. bunny-phi-2-siglip-lora.json. Provenance. Takedown history: none.
From: microsoft <huggingface.co/microsoft>Subject: MediPhi
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-Clinical
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-Guidelines
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-Instruct
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-MedCode
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-MedWiki