BAAI / bunny-phi-2-siglip-lora

huggingface.co
Total runs: 204
24-hour runs: 4
7-day runs: -14
30-day runs: 59
Model's Last Updated: March 28 2024
text-generation

Introduction of bunny-phi-2-siglip-lora

Model Details of bunny-phi-2-siglip-lora

Model Card

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 .

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.

Runs of BAAI bunny-phi-2-siglip-lora on huggingface.co

204
Total runs
4
24-hour runs
-5
3-day runs
-14
7-day runs
59
30-day runs

More Information About bunny-phi-2-siglip-lora huggingface.co Model

More bunny-phi-2-siglip-lora license Visit here:

https://choosealicense.com/licenses/apache-2.0

bunny-phi-2-siglip-lora huggingface.co

bunny-phi-2-siglip-lora huggingface.co is an AI model on huggingface.co that provides bunny-phi-2-siglip-lora's model effect (), which can be used instantly with this BAAI bunny-phi-2-siglip-lora model. huggingface.co supports a free trial of the bunny-phi-2-siglip-lora model, and also provides paid use of the bunny-phi-2-siglip-lora. Support call bunny-phi-2-siglip-lora model through api, including Node.js, Python, http.

bunny-phi-2-siglip-lora huggingface.co Url

https://huggingface.co/BAAI/bunny-phi-2-siglip-lora

BAAI bunny-phi-2-siglip-lora online free

bunny-phi-2-siglip-lora huggingface.co is an online trial and call api platform, which integrates bunny-phi-2-siglip-lora's modeling effects, including api services, and provides a free online trial of bunny-phi-2-siglip-lora, you can try bunny-phi-2-siglip-lora online for free by clicking the link below.

BAAI bunny-phi-2-siglip-lora online free url in huggingface.co:

https://huggingface.co/BAAI/bunny-phi-2-siglip-lora

bunny-phi-2-siglip-lora install

bunny-phi-2-siglip-lora is an open source model from GitHub that offers a free installation service, and any user can find bunny-phi-2-siglip-lora on GitHub to install. At the same time, huggingface.co provides the effect of bunny-phi-2-siglip-lora install, users can directly use bunny-phi-2-siglip-lora installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

bunny-phi-2-siglip-lora install url in huggingface.co:

https://huggingface.co/BAAI/bunny-phi-2-siglip-lora

Url of bunny-phi-2-siglip-lora

bunny-phi-2-siglip-lora huggingface.co Url

Provider of bunny-phi-2-siglip-lora huggingface.co

BAAI
ORGANIZATIONS

Other API from BAAI

huggingface.co

Total runs: 59.1M
Run Growth: -4.9M
Growth Rate: -8.32%
Updated:February 22 2024
huggingface.co

Total runs: 32.3M
Run Growth: -5.4M
Growth Rate: -16.86%
Updated:July 03 2024
huggingface.co

Total runs: 10.1M
Run Growth: -2.1M
Growth Rate: -21.04%
Updated:February 21 2024
huggingface.co

Total runs: 9.2M
Run Growth: -1.2M
Growth Rate: -13.55%
Updated:February 21 2024
huggingface.co

Total runs: 2.3M
Run Growth: -72.4K
Growth Rate: -3.19%
Updated:April 17 2024
huggingface.co

Total runs: 435.6K
Run Growth: -374.5K
Growth Rate: -85.97%
Updated:October 12 2023
huggingface.co

Total runs: 351.9K
Run Growth: -815.1K
Growth Rate: -231.62%
Updated:April 02 2024
huggingface.co

Total runs: 191.8K
Run Growth: -33.1K
Growth Rate: -17.23%
Updated:December 13 2023
huggingface.co

Total runs: 115.4K
Run Growth: 62.3K
Growth Rate: 53.97%
Updated:October 12 2023
huggingface.co

Total runs: 43.2K
Run Growth: -23.2K
Growth Rate: -53.64%
Updated:July 13 2026
huggingface.co

Total runs: 39.6K
Run Growth: -9.5K
Growth Rate: -23.88%
Updated:November 14 2023
huggingface.co

Total runs: 38.5K
Run Growth: -18.5K
Growth Rate: -47.91%
Updated:October 12 2023
huggingface.co

Total runs: 33.7K
Run Growth: -4.6K
Growth Rate: -13.68%
Updated:January 15 2025
huggingface.co

Total runs: 12.1K
Run Growth: -47.9K
Growth Rate: -395.62%
Updated:October 12 2023
huggingface.co

Total runs: 12.1K
Run Growth: -3.2K
Growth Rate: -25.56%
Updated:April 16 2025
huggingface.co

Total runs: 10.6K
Run Growth: 10.6K
Growth Rate: 100.00%
Updated:September 16 2026
huggingface.co

Total runs: 4.5K
Run Growth: -6.1K
Growth Rate: -134.67%
Updated:October 12 2023
huggingface.co

Total runs: 3.5K
Run Growth: -1.4K
Growth Rate: -40.34%
Updated:May 20 2025
huggingface.co

Total runs: 2.7K
Run Growth: -2.8K
Growth Rate: -103.74%
Updated:April 19 2024
huggingface.co

Total runs: 1.9K
Run Growth: 1.9K
Growth Rate: 100.00%
Updated:October 01 2026
huggingface.co

Total runs: 1.7K
Run Growth: 201
Growth Rate: 12.01%
Updated:April 10 2026
huggingface.co

Total runs: 1.6K
Run Growth: -173
Growth Rate: -10.45%
Updated:January 15 2025
huggingface.co

Total runs: 1.4K
Run Growth: -2.1K
Growth Rate: -148.68%
Updated:September 11 2026
huggingface.co

Total runs: 1.4K
Run Growth: -255
Growth Rate: -18.41%
Updated:April 10 2026
huggingface.co

Total runs: 1.4K
Run Growth: -82
Growth Rate: -5.98%
Updated:November 28 2024
huggingface.co

Total runs: 1.2K
Run Growth: -622
Growth Rate: -48.94%
Updated:December 31 2022
huggingface.co

Total runs: 763
Run Growth: -216
Growth Rate: -27.62%
Updated:February 07 2024
huggingface.co

Total runs: 736
Run Growth: 717
Growth Rate: 97.42%
Updated:October 13 2025
huggingface.co

Total runs: 511
Run Growth: -69
Growth Rate: -13.45%
Updated:July 13 2026
huggingface.co

Total runs: 499
Run Growth: 299
Growth Rate: 59.92%
Updated:April 02 2024
huggingface.co

Total runs: 471
Run Growth: -308
Growth Rate: -65.39%
Updated:May 23 2025
huggingface.co

Total runs: 470
Run Growth: 71
Growth Rate: 15.27%
Updated:April 18 2023
huggingface.co

Total runs: 445
Run Growth: 121
Growth Rate: 27.13%
Updated:July 13 2026
huggingface.co

Total runs: 434
Run Growth: -34
Growth Rate: -7.87%
Updated:July 13 2026
huggingface.co

Total runs: 416
Run Growth: 95
Growth Rate: 22.84%
Updated:December 25 2025
huggingface.co

Total runs: 408
Run Growth: 20
Growth Rate: 4.90%
Updated:October 27 2023
huggingface.co

Total runs: 407
Run Growth: 127
Growth Rate: 30.60%
Updated:March 07 2024
huggingface.co

Total runs: 393
Run Growth: -668
Growth Rate: -169.97%
Updated:October 24 2024
huggingface.co

Total runs: 392
Run Growth: -875
Growth Rate: -223.21%
Updated:October 23 2024
huggingface.co

Total runs: 374
Run Growth: -13
Growth Rate: -3.47%
Updated:August 11 2026
huggingface.co

Total runs: 364
Run Growth: 171
Growth Rate: 46.85%
Updated:July 13 2026
huggingface.co

Total runs: 361
Run Growth: -41
Growth Rate: -11.45%
Updated:August 11 2026
huggingface.co

Total runs: 304
Run Growth: -182
Growth Rate: -59.87%
Updated:April 10 2026
huggingface.co

Total runs: 288
Run Growth: -26
Growth Rate: -8.97%
Updated:August 18 2026
huggingface.co

Total runs: 284
Run Growth: -64
Growth Rate: -22.46%
Updated:July 13 2026
huggingface.co

Total runs: 271
Run Growth: 52
Growth Rate: 19.19%
Updated:June 06 2025
huggingface.co

Total runs: 268
Run Growth: 63
Growth Rate: 23.16%
Updated:July 13 2026
huggingface.co

Total runs: 265
Run Growth: 84
Growth Rate: 31.82%
Updated:July 13 2026
huggingface.co

Total runs: 254
Run Growth: -32
Growth Rate: -12.31%
Updated:July 13 2026
huggingface.co

Total runs: 252
Run Growth: 110
Growth Rate: 43.65%
Updated:November 28 2023
huggingface.co

Total runs: 224
Run Growth: -54
Growth Rate: -22.69%
Updated:December 25 2025
huggingface.co

Total runs: 221
Run Growth: -3
Growth Rate: -1.36%
Updated:July 17 2026
huggingface.co

Total runs: 219
Run Growth: 59
Growth Rate: 26.82%
Updated:July 13 2026
huggingface.co

Total runs: 218
Run Growth: 88
Growth Rate: 40.00%
Updated:July 13 2026
huggingface.co

Total runs: 205
Run Growth: 27
Growth Rate: 13.17%
Updated:October 23 2024
huggingface.co

Total runs: 204
Run Growth: -1.0K
Growth Rate: -502.45%
Updated:September 11 2026
huggingface.co

Total runs: 199
Run Growth: 32
Growth Rate: 16.08%
Updated:June 24 2024
huggingface.co

Total runs: 193
Run Growth: 35
Growth Rate: 18.13%
Updated:May 13 2024
huggingface.co

Total runs: 191
Run Growth: 34
Growth Rate: 17.80%
Updated:May 13 2024
huggingface.co

Total runs: 189
Run Growth: 53
Growth Rate: 28.04%
Updated:December 21 2023
huggingface.co

Total runs: 189
Run Growth: 38
Growth Rate: 20.11%
Updated:May 13 2024
huggingface.co

Total runs: 189
Run Growth: 46
Growth Rate: 24.34%
Updated:June 24 2024
huggingface.co

Total runs: 186
Run Growth: 34
Growth Rate: 18.28%
Updated:May 31 2024
huggingface.co

Total runs: 182
Run Growth: 42
Growth Rate: 23.08%
Updated:December 21 2023