BAAI / Bunny-v1_0-3B

huggingface.co
Total runs: 1.4K
24-hour runs: -105
7-day runs: -312
30-day runs: -6
Model's Last Updated: November 28 2024
text-generation

Introduction of Bunny-v1_0-3B

Model Details of Bunny-v1_0-3B

Model Card

Logo

📖 Technical report | 🏠 Code | 🐰 Demo

This is the merged weights of bunny-phi-2-siglip-lora .

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 Llama-3-8B, Phi-1.5, StableLM-2, Qwen1.5, MiniCPM 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-v1.0-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

Here we show a code snippet to show you how to use the model with transformers.

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

pip install torch transformers accelerate pillow

If the CUDA memory is enough, it would be faster to execute this snippet by setting CUDA_VISIBLE_DEVICES=0 .

Users especially those in Chinese mainland may want to refer to a HuggingFace mirror site .

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
device = 'cuda'  # or cpu
torch.set_default_device(device)

# create model
model = AutoModelForCausalLM.from_pretrained(
    'BAAI/Bunny-v1_0-3B',
    torch_dtype=torch.float16, # float32 for cpu
    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).to(device)

# 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, device=device)

# generate
output_ids = model.generate(
    input_ids,
    images=image_tensor,
    max_new_tokens=100,
    use_cache=True
    repetition_penalty=1.0 # increase this to avoid chattering
)[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-v1_0-3B on huggingface.co

1.4K
Total runs
-105
24-hour runs
-243
3-day runs
-312
7-day runs
-6
30-day runs

More Information About Bunny-v1_0-3B huggingface.co Model

More Bunny-v1_0-3B license Visit here:

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

Bunny-v1_0-3B huggingface.co

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

Bunny-v1_0-3B huggingface.co Url

https://huggingface.co/BAAI/Bunny-v1_0-3B

BAAI Bunny-v1_0-3B online free

Bunny-v1_0-3B huggingface.co is an online trial and call api platform, which integrates Bunny-v1_0-3B's modeling effects, including api services, and provides a free online trial of Bunny-v1_0-3B, you can try Bunny-v1_0-3B online for free by clicking the link below.

BAAI Bunny-v1_0-3B online free url in huggingface.co:

https://huggingface.co/BAAI/Bunny-v1_0-3B

Bunny-v1_0-3B install

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

Bunny-v1_0-3B install url in huggingface.co:

https://huggingface.co/BAAI/Bunny-v1_0-3B

Url of Bunny-v1_0-3B

Bunny-v1_0-3B huggingface.co Url

Provider of Bunny-v1_0-3B huggingface.co

BAAI
ORGANIZATIONS

Other API from BAAI

huggingface.co

Total runs: 59.4M
Run Growth: -4.5M
Growth Rate: -7.49%
Updated:February 22 2024
huggingface.co

Total runs: 32.5M
Run Growth: -5.0M
Growth Rate: -15.35%
Updated:July 03 2024
huggingface.co

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

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

Total runs: 2.2M
Run Growth: -115.7K
Growth Rate: -5.35%
Updated:April 17 2024
huggingface.co

Total runs: 453.6K
Run Growth: -340.1K
Growth Rate: -74.97%
Updated:October 12 2023
huggingface.co

Total runs: 369.2K
Run Growth: -818.9K
Growth Rate: -221.78%
Updated:April 02 2024
huggingface.co

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

Total runs: 116.1K
Run Growth: 61.2K
Growth Rate: 52.69%
Updated:October 12 2023
huggingface.co

Total runs: 44.9K
Run Growth: -21.8K
Growth Rate: -48.61%
Updated:July 13 2026
huggingface.co

Total runs: 39.5K
Run Growth: -15.3K
Growth Rate: -38.86%
Updated:October 12 2023
huggingface.co

Total runs: 36.1K
Run Growth: -12.0K
Growth Rate: -33.09%
Updated:November 14 2023
huggingface.co

Total runs: 33.9K
Run Growth: -3.8K
Growth Rate: -11.14%
Updated:January 15 2025
huggingface.co

Total runs: 18.3K
Run Growth: -35.7K
Growth Rate: -194.84%
Updated:October 12 2023
huggingface.co

Total runs: 13.0K
Run Growth: -2.8K
Growth Rate: -21.26%
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.7K
Run Growth: -6.2K
Growth Rate: -132.84%
Updated:October 12 2023
huggingface.co

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

Total runs: 2.3K
Run Growth: -3.2K
Growth Rate: -141.12%
Updated:April 19 2024
huggingface.co

Total runs: 1.9K
Run Growth: 510
Growth Rate: 26.70%
Updated:April 10 2026
huggingface.co

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

Total runs: 1.7K
Run Growth: -124
Growth Rate: -7.38%
Updated:January 15 2025
huggingface.co

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

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

Total runs: 1.4K
Run Growth: -459
Growth Rate: -32.65%
Updated:December 31 2022
huggingface.co

Total runs: 782
Run Growth: -226
Growth Rate: -29.27%
Updated:February 07 2024
huggingface.co

Total runs: 607
Run Growth: 597
Growth Rate: 98.35%
Updated:October 13 2025
huggingface.co

Total runs: 508
Run Growth: -86
Growth Rate: -16.93%
Updated:July 13 2026
huggingface.co

Total runs: 490
Run Growth: 76
Growth Rate: 15.51%
Updated:April 18 2023
huggingface.co

Total runs: 484
Run Growth: 290
Growth Rate: 59.92%
Updated:April 02 2024
huggingface.co

Total runs: 469
Run Growth: -319
Growth Rate: -68.02%
Updated:May 23 2025
huggingface.co

Total runs: 441
Run Growth: 114
Growth Rate: 25.85%
Updated:July 13 2026
huggingface.co

Total runs: 419
Run Growth: -60
Growth Rate: -14.32%
Updated:July 13 2026
huggingface.co

Total runs: 415
Run Growth: 123
Growth Rate: 29.93%
Updated:March 07 2024
huggingface.co

Total runs: 407
Run Growth: 11
Growth Rate: 2.70%
Updated:October 27 2023
huggingface.co

Total runs: 400
Run Growth: 54
Growth Rate: 13.50%
Updated:December 25 2025
huggingface.co

Total runs: 396
Run Growth: -656
Growth Rate: -165.66%
Updated:October 24 2024
huggingface.co

Total runs: 389
Run Growth: 49
Growth Rate: 11.81%
Updated:August 11 2026
huggingface.co

Total runs: 386
Run Growth: -873
Growth Rate: -226.17%
Updated:October 23 2024
huggingface.co

Total runs: 367
Run Growth: 172
Growth Rate: 46.87%
Updated:July 13 2026
huggingface.co

Total runs: 358
Run Growth: -30
Growth Rate: -8.29%
Updated:August 11 2026
huggingface.co

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

Total runs: 285
Run Growth: -15
Growth Rate: -5.26%
Updated:August 18 2026
huggingface.co

Total runs: 282
Run Growth: -60
Growth Rate: -21.28%
Updated:July 13 2026
huggingface.co

Total runs: 267
Run Growth: 56
Growth Rate: 20.97%
Updated:June 06 2025
huggingface.co

Total runs: 260
Run Growth: 52
Growth Rate: 20.00%
Updated:July 13 2026
huggingface.co

Total runs: 259
Run Growth: 80
Growth Rate: 30.89%
Updated:July 13 2026
huggingface.co

Total runs: 258
Run Growth: -33
Growth Rate: -12.79%
Updated:July 13 2026
huggingface.co

Total runs: 243
Run Growth: 107
Growth Rate: 44.03%
Updated:November 28 2023
huggingface.co

Total runs: 236
Run Growth: -55
Growth Rate: -23.31%
Updated:December 25 2025
huggingface.co

Total runs: 221
Run Growth: 10
Growth Rate: 4.48%
Updated:July 17 2026
huggingface.co

Total runs: 219
Run Growth: 90
Growth Rate: 41.10%
Updated:July 13 2026
huggingface.co

Total runs: 217
Run Growth: 60
Growth Rate: 27.65%
Updated:July 13 2026
huggingface.co

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

Total runs: 197
Run Growth: 30
Growth Rate: 15.23%
Updated:June 24 2024
huggingface.co

Total runs: 192
Run Growth: 27
Growth Rate: 14.06%
Updated:May 13 2024
huggingface.co

Total runs: 192
Run Growth: 11
Growth Rate: 5.73%
Updated:October 23 2024
huggingface.co

Total runs: 192
Run Growth: 31
Growth Rate: 16.15%
Updated:May 13 2024
huggingface.co

Total runs: 191
Run Growth: 22
Growth Rate: 11.52%
Updated:May 13 2024
huggingface.co

Total runs: 188
Run Growth: 47
Growth Rate: 25.00%
Updated:June 24 2024
huggingface.co

Total runs: 186
Run Growth: 24
Growth Rate: 12.90%
Updated:May 31 2024
huggingface.co

Total runs: 185
Run Growth: 50
Growth Rate: 27.03%
Updated:December 21 2023
huggingface.co

Total runs: 179
Run Growth: 40
Growth Rate: 22.35%
Updated:December 21 2023
huggingface.co

Total runs: 178
Run Growth: 22
Growth Rate: 12.36%
Updated:September 05 2026