alt.freeweights.mistral / llava-v1.6-mistral-7b-hf-bnb-4bit
From: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.mistralSubject:

llava-v1.6-mistral-7b-hf-bnb-4bit

Date: 2026-11-15Commit: 9152689Signed: 2DC28CC7B26A283B ✓

Image text to text model with 7.8B parameters. Safetensors weights, 4.30 GB in all. Published by unsloth under Apache-2.0.

7.8B params4.30GBllava-v1.6-mistral-7b-hf-bnb-4bitsafetensorspermissive
FactsParams7.8BSize4.30 GBFormatssafetensorsTaskimage text to textLicenseApache-2.0From sourcepermissive
$ fw get unsloth/llava-v1.6-mistral-7b-hf-bnb-4bit
# manifest sha256 ebaa72c48467… · 4.30 GB · 13 files
$ fw verify ./llava-v1.6-mistral-7b-hf-bnb-4bit unsloth/llava-v1.6-mistral-7b-hf-bnb-4bit
From sourceHosted (signed)unsloth/llava-v1.6-mistral-7b-hf-bnb-4bitLast check: 2026-11-15 05:12 UTC

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

Quantized of llava-v1.6-mistral-7b-hf.

Works with

Overview

Size
4.30 GB
Weights
4.30 GB (safetensors)
Parameters
7.8B
Formats
safetensors
Task
image text to text
License
Apache-2.0 (permissive)
Files
13, each with a sha256
Publisher
unsloth
Added
2026-11-15
Section
alt.freeweights.mistral
Lineage

Original release from the publisher.

Base model: llava-hf/llava-v1.6-mistral-7b-hf

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 05:12 UTCpassed

Model card

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

Finetune Llama 3.2, Qwen 2.5, Gemma 2, Mistral 2-5x faster with 70% less memory via Unsloth!#

We have a free Google Colab Tesla T4 notebook for Llava 1.6 (7B) here: https://colab.research.google.com/drive/1Ys44kVvmeZtnICzWz0xgpRnrIOjZAuxp?usp=sharing

And a free notebook for Llama 3.2 Vision (11B) here

https://discord.gg/unsloth https://github.com/unslothai/unsloth

unsloth/llava-v1.6-mistral-7b-hf-bnb-4bit#

For more details on the model, please go to the original model card

✨ Finetune for Free#

All notebooks are beginner friendly! Add your dataset, click "Run All", and you'll get a 2x faster finetuned model which can be exported to GGUF, vLLM or uploaded to Hugging Face.

Unsloth supportsFree NotebooksPerformanceMemory use
Llama-3.2 (3B)▶️ Start on Colab2.4x faster58% less
Llama-3.2 (11B vision)▶️ Start on Colab2x faster40% less
Qwen2 VL (7B)▶️ Start on Colab1.8x faster40% less
Qwen2.5 (7B)▶️ Start on Colab2x faster60% less
Llama-3.1 (8B)▶️ Start on Colab2.4x faster58% less
Phi-3.5 (mini)▶️ Start on Colab2x faster50% less
Gemma 2 (9B)▶️ Start on Colab2.4x faster58% less
Mistral (7B)▶️ Start on Colab2.2x faster62% less
DPO - Zephyr▶️ Start on Colab1.9x faster19% less

https://docs.unsloth.ai

LLaVa-Next, leveraging mistralai/Mistral-7B-Instruct-v0.2 as LLM#

The LLaVA-NeXT model was proposed in LLaVA-NeXT: Improved reasoning, OCR, and world knowledge by Haotian Liu, Chunyuan Li, Yuheng Li, Bo Li, Yuanhan Zhang, Sheng Shen, Yong Jae Lee. LLaVa-NeXT (also called LLaVa-1.6) improves upon LLaVa-1.5 by increasing the input image resolution and training on an improved visual instruction tuning dataset to improve OCR and common sense reasoning.

Disclaimer: The team releasing LLaVa-NeXT did not write a model card for this model so this model card has been written by the Hugging Face team.

Model description#

LLaVa combines a pre-trained large language model with a pre-trained vision encoder for multimodal chatbot use cases. LLaVA 1.6 improves on LLaVA 1.5 BY:

  • Using Mistral-7B (for this checkpoint) and Nous-Hermes-2-Yi-34B which has better commercial licenses, and bilingual support
  • More diverse and high quality data mixture
  • Dynamic high resolution

Image: image/png

Intended uses & limitations#

You can use the raw model for tasks like image captioning, visual question answering, multimodal chatbot use cases. See the model hub to look for other versions on a task that interests you.

How to use#

Here's the prompt template for this model:

"[INST] <image>\nWhat is shown in this image? [/INST]"

You can load and use the model like following:

from transformers import LlavaNextProcessor, LlavaNextForConditionalGeneration
import torch
from PIL import Image
import requests

processor = LlavaNextProcessor.from_pretrained("llava-hf/llava-v1.6-mistral-7b-hf")

model = LlavaNextForConditionalGeneration.from_pretrained("llava-hf/llava-v1.6-mistral-7b-hf", torch_dtype=torch.float16, low_cpu_mem_usage=True) 
model.to("cuda:0")

# prepare image and text prompt, using the appropriate prompt template
url = "https://github.com/haotian-liu/LLaVA/blob/1a91fc274d7c35a9b50b3cb29c4247ae5837ce39/images/llava_v1_5_radar.jpg?raw=true"
image = Image.open(requests.get(url, stream=True).raw)

# Define a chat history and use `apply_chat_template` to get correctly formatted prompt
# Each value in "content" has to be a list of dicts with types ("text", "image") 
conversation = [
    {

      "role": "user",
      "content": [
          {"type": "text", "text": "What is shown in this image?"},
          {"type": "image"},
        ],
    },
]
prompt = processor.apply_chat_template(conversation, add_generation_prompt=True)

inputs = processor(images=image, text=prompt, return_tensors="pt").to("cuda:0")

# autoregressively complete prompt
output = model.generate(**inputs, max_new_tokens=100)

print(processor.decode(output[0], skip_special_tokens=True))
Model optimization#
4-bit quantization through bitsandbytes library#

First make sure to install bitsandbytes, pip install bitsandbytes and make sure to have access to a CUDA compatible GPU device. Simply change the snippet above with:

model = LlavaNextForConditionalGeneration.from_pretrained(
    model_id, 
    torch_dtype=torch.float16, 
    low_cpu_mem_usage=True,
+   load_in_4bit=True
)
Use Flash-Attention 2 to further speed-up generation#

First make sure to install flash-attn. Refer to the original repository of Flash Attention regarding that package installation. Simply change the snippet above with:

model = LlavaNextForConditionalGeneration.from_pretrained(
    model_id, 
    torch_dtype=torch.float16, 
    low_cpu_mem_usage=True,
+   use_flash_attention_2=True
).to(0)
BibTeX entry and citation info#
@misc{liu2023improved,
      title={Improved Baselines with Visual Instruction Tuning}, 
      author={Haotian Liu and Chunyuan Li and Yuheng Li and Yong Jae Lee},
      year={2023},
      eprint={2310.03744},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

Files

13 files · 4.30 GBWeights 4.30 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 13 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md8.26 KBcbcf474948c26a2c960eff4ccd681bc2bf5255a697b99197f1e86eed56d195fd
added_tokens.json41 Ba94c56096001713e3eb9a34b1a545a8c1d5e8034ed2fb81f897c8cb54b420121
chat_template.json695 B45322f23f68a640be65652ea24b7aa72f070da2f95f59ad062c0a9414bf68793
config.json1.90 KB2a367f36e8e5f712fe33af431d99ae236fa6dc158a271dfedebe50506202b64d
generation_config.json136 Ba27f76bdcab3532baecca0f90b5d2787c51d2ea4bd2041379b140bab7dce4dc3
model.safetensors4.30 GB8910dceda68545980a2a8e16bf7d621a00fa84f6fc4502eb51af150fee257d05
preprocessor_config.json772 Becef425c1d3ee91f5e05144c4d107389f9fefd04a424d5cbfc3fb6e0525b8c55
processor_config.json177 Bd608a8ab2b0c3aee1414e1154c09aabef5b2e91ce1d05ddf3407c87321b3c3d5
special_tokens_map.json552 B358c249e2fb29060c6b73157d428853b0c48710deffc8ee670ab1013880946c9
tokenizer.json3.51 MB94d6cec71c9be5c8036bd8e4f2798ce54741449e27a590d9522739b0c772fbb7
tokenizer.model493 KBdadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
tokenizer_config.json1.49 KB92ff311a5735509bbd2720925227bab0bd68335f578b91d4ebfb931a7b2c8712
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
9152689d3f pinned now2026-11-15 05:12 UTC13 files · 4.30 GB

Use it

$ fw get unsloth/llava-v1.6-mistral-7b-hf-bnb-4bit
# manifest sha256 ebaa72c48467… · 4.30 GB · 13 files
$ fw verify ./llava-v1.6-mistral-7b-hf-bnb-4bit unsloth/llava-v1.6-mistral-7b-hf-bnb-4bit
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/unsloth/llava-v1.6-mistral-7b-hf-bnb-4bit.json --dir ./llava-v1.6-mistral-7b-hf-bnb-4bit $ python3 fw.py verify ./llava-v1.6-mistral-7b-hf-bnb-4bit ./unsloth__llava-v1.6-mistral-7b-hf-bnb-4bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/llava-v1.6-mistral-7b-hf-bnb-4bit --revision 9152689d3f1b6adbbb977353a383f4bd69cc010d --local-dir ./llava-v1.6-mistral-7b-hf-bnb-4bit
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForImageTextToText, AutoProcessor processor = AutoProcessor.from_pretrained("unsloth/llava-v1.6-mistral-7b-hf-bnb-4bit", revision="9152689d3f1b6adbbb977353a383f4bd69cc010d") model = AutoModelForImageTextToText.from_pretrained("unsloth/llava-v1.6-mistral-7b-hf-bnb-4bit", revision="9152689d3f1b6adbbb977353a383f4bd69cc010d", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve unsloth/llava-v1.6-mistral-7b-hf-bnb-4bit --revision 9152689d3f1b6adbbb977353a383f4bd69cc010d

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
cbcf474948c26a2c960eff4ccd681bc2bf5255a697b99197f1e86eed56d195fd
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: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.mistralSubject: llava-v1.6-mistral-7b-hf-bnb-4bitDate: 2026-11-15Commit: 9152689Signed: 2DC28CC7B26A283B ✓
Upstream
unsloth/llava-v1.6-mistral-7b-hf-bnb-4bit
Pinned commit
9152689d3f1b6adbbb977353a383f4bd69cc010d
Manifest
llava-v1.6-mistral-7b-hf-bnb-4bit.json · .minisig
Manifest sha256
ebaa72c484670aeb57feea5975b86a5b481968463ae389c3cd7ad365a8bf4b42
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:12 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/unsloth/llava-v1.6-mistral-7b-hf-bnb-4bit.json $ curl -O https://freeweights.allternit.com/manifests/unsloth/llava-v1.6-mistral-7b-hf-bnb-4bit.json.minisig $ minisign -Vm llava-v1.6-mistral-7b-hf-bnb-4bit.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

Parent

llava-hf/llava-v1.6-mistral-7b-hf · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/llava-v1.6-mistral-7b-hf-bnb-4bit
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. llava-v1.6-mistral-7b-hf-bnb-4bit.json. Provenance. Takedown history: none.
From: bartowski <huggingface.co/bartowski>Subject: alamios_Mistral-Small-3.1-DRAFT-0.5B-GGUF
From: microsoft <huggingface.co/microsoft>Subject: chatbench-mistral-7b
From: NousResearch <huggingface.co/NousResearch>Subject: DeepHermes-3-Mistral-24B-Preview
From: mistralai <huggingface.co/mistralai>Subject: Devstral-Small-2-24B-Instruct-2512
From: mlx-community <huggingface.co/mlx-community>Subject: Devstral-Small-2-24B-Instruct-2512-4bit
From: mlx-community <huggingface.co/mlx-community>Subject: Devstral-Small-2-24B-Instruct-2512-6bit