BAAI / Bunny-v1_0-3B

huggingface.co
Total runs: 1.8K
24-hour runs: 14
7-day runs: -85
30-day runs: 973
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.8K
Total runs
14
24-hour runs
37
3-day runs
-85
7-day runs
973
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: 63.3M
Run Growth: -4.4M
Growth Rate: -6.93%
Updated:February 22 2024
huggingface.co

Total runs: 35.4M
Run Growth: -1.8M
Growth Rate: -5.08%
Updated:July 03 2024
huggingface.co

Total runs: 10.4M
Run Growth: -1.5M
Growth Rate: -14.18%
Updated:February 21 2024
huggingface.co

Total runs: 9.8M
Run Growth: -3.9M
Growth Rate: -39.71%
Updated:February 21 2024
huggingface.co

Total runs: 1.8M
Run Growth: 300.5K
Growth Rate: 15.69%
Updated:April 17 2024
huggingface.co

Total runs: 747.5K
Run Growth: -398.4K
Growth Rate: -51.12%
Updated:April 02 2024
huggingface.co

Total runs: 654.1K
Run Growth: -406.7K
Growth Rate: -60.76%
Updated:October 12 2023
huggingface.co

Total runs: 202.5K
Run Growth: -528.9K
Growth Rate: -261.31%
Updated:December 13 2023
huggingface.co

Total runs: 64.3K
Run Growth: 51.6K
Growth Rate: 78.19%
Updated:October 12 2023
huggingface.co

Total runs: 59.8K
Run Growth: -28.6K
Growth Rate: -53.28%
Updated:October 12 2023
huggingface.co

Total runs: 59.3K
Run Growth: -15.8K
Growth Rate: -26.57%
Updated:July 13 2026
huggingface.co

Total runs: 51.6K
Run Growth: 2.6K
Growth Rate: 4.98%
Updated:October 12 2023
huggingface.co

Total runs: 41.1K
Run Growth: -474
Growth Rate: -1.15%
Updated:January 15 2025
huggingface.co

Total runs: 40.4K
Run Growth: 2.1K
Growth Rate: 5.25%
Updated:November 14 2023
huggingface.co

Total runs: 15.8K
Run Growth: -650
Growth Rate: -4.11%
Updated:April 16 2025
huggingface.co

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

Total runs: 7.8K
Run Growth: -9.4K
Growth Rate: -105.96%
Updated:October 12 2023
huggingface.co

Total runs: 5.6K
Run Growth: 1.9K
Growth Rate: 33.03%
Updated:May 20 2025
huggingface.co

Total runs: 3.7K
Run Growth: 3.2K
Growth Rate: 67.93%
Updated:April 19 2024
huggingface.co

Total runs: 2.4K
Run Growth: 1.1K
Growth Rate: 45.64%
Updated:April 10 2026
huggingface.co

Total runs: 2.3K
Run Growth: 155
Growth Rate: 6.66%
Updated:September 11 2026
huggingface.co

Total runs: 1.8K
Run Growth: -13.8K
Growth Rate: -775.56%
Updated:January 15 2025
huggingface.co

Total runs: 1.6K
Run Growth: 161
Growth Rate: 9.59%
Updated:April 10 2026
huggingface.co

Total runs: 1.5K
Run Growth: 123
Growth Rate: 8.47%
Updated:December 31 2022
huggingface.co

Total runs: 1.3K
Run Growth: 971
Growth Rate: 73.84%
Updated:September 11 2026
huggingface.co

Total runs: 767
Run Growth: -13
Growth Rate: -1.68%
Updated:May 23 2025
huggingface.co

Total runs: 700
Run Growth: -843
Growth Rate: -119.41%
Updated:February 07 2024
huggingface.co

Total runs: 665
Run Growth: -113
Growth Rate: -17.20%
Updated:October 24 2024
huggingface.co

Total runs: 651
Run Growth: -469
Growth Rate: -71.39%
Updated:October 23 2024
huggingface.co

Total runs: 510
Run Growth: -222
Growth Rate: -46.25%
Updated:July 13 2026
huggingface.co

Total runs: 491
Run Growth: -362
Growth Rate: -70.57%
Updated:April 18 2023
huggingface.co

Total runs: 464
Run Growth: 299
Growth Rate: 66.30%
Updated:April 02 2024
huggingface.co

Total runs: 431
Run Growth: -99
Growth Rate: -23.63%
Updated:August 11 2026
huggingface.co

Total runs: 419
Run Growth: 62
Growth Rate: 15.58%
Updated:July 13 2026
huggingface.co

Total runs: 418
Run Growth: -27
Growth Rate: -6.54%
Updated:April 10 2026
huggingface.co

Total runs: 404
Run Growth: -8
Growth Rate: -2.04%
Updated:December 25 2025
huggingface.co

Total runs: 393
Run Growth: -173
Growth Rate: -45.77%
Updated:July 13 2026
huggingface.co

Total runs: 371
Run Growth: -333
Growth Rate: -90.24%
Updated:August 11 2026
huggingface.co

Total runs: 328
Run Growth: 71
Growth Rate: 22.61%
Updated:July 13 2026
huggingface.co

Total runs: 303
Run Growth: -125
Growth Rate: -43.10%
Updated:July 13 2026
huggingface.co

Total runs: 296
Run Growth: 66
Growth Rate: 23.57%
Updated:August 18 2026
huggingface.co

Total runs: 292
Run Growth: 11
Growth Rate: 3.85%
Updated:July 13 2026
huggingface.co

Total runs: 282
Run Growth: -359
Growth Rate: -123.37%
Updated:December 25 2025
huggingface.co

Total runs: 275
Run Growth: -190
Growth Rate: -68.84%
Updated:October 27 2023
huggingface.co

Total runs: 273
Run Growth: -158
Growth Rate: -58.52%
Updated:March 07 2024
huggingface.co

Total runs: 266
Run Growth: 258
Growth Rate: 100.00%
Updated:September 05 2026
huggingface.co

Total runs: 262
Run Growth: 25
Growth Rate: 10.08%
Updated:July 13 2026
huggingface.co

Total runs: 242
Run Growth: 31
Growth Rate: 13.25%
Updated:July 17 2026
huggingface.co

Total runs: 232
Run Growth: -10
Growth Rate: -4.29%
Updated:June 06 2025
huggingface.co

Total runs: 226
Run Growth: 127
Growth Rate: 58.26%
Updated:November 28 2023
huggingface.co

Total runs: 224
Run Growth: 26
Growth Rate: 11.76%
Updated:July 13 2026
huggingface.co

Total runs: 213
Run Growth: 95
Growth Rate: 45.89%
Updated:July 13 2026
huggingface.co

Total runs: 212
Run Growth: -2.0K
Growth Rate: -911.36%
Updated:April 10 2026
huggingface.co

Total runs: 209
Run Growth: 87
Growth Rate: 43.28%
Updated:July 13 2026
huggingface.co

Total runs: 202
Run Growth: -191
Growth Rate: -93.63%
Updated:April 10 2026
huggingface.co

Total runs: 194
Run Growth: 34
Growth Rate: 18.58%
Updated:June 24 2024
huggingface.co

Total runs: 191
Run Growth: 94
Growth Rate: 48.96%
Updated:March 13 2026
huggingface.co

Total runs: 190
Run Growth: 31
Growth Rate: 17.22%
Updated:June 24 2024
huggingface.co

Total runs: 189
Run Growth: -18
Growth Rate: -9.84%
Updated:May 13 2024
huggingface.co

Total runs: 187
Run Growth: 10
Growth Rate: 5.49%
Updated:May 13 2024
huggingface.co

Total runs: 184
Run Growth: 5
Growth Rate: 2.81%
Updated:May 13 2024
huggingface.co

Total runs: 182
Run Growth: 76
Growth Rate: 42.70%
Updated:December 21 2023