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

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

Date: 2026-11-15Commit: 2424fddSigned: 2DC28CC7B26A283B ✓

Image text to text model with 7.6B parameters. Safetensors weights, 15.1 GB in all. Published by llava-hf under Apache-2.0.

7.6B params15.1GBllava-v1.6-mistral-7b-hfsafetensorspermissive
FactsParams7.6BSize15.1 GBFormatssafetensorsTaskimage text to textLicenseApache-2.0From sourcepermissive
$ fw get llava-hf/llava-v1.6-mistral-7b-hf
# manifest sha256 0191d9f9439c… · 15.1 GB · 17 files
$ fw verify ./llava-v1.6-mistral-7b-hf llava-hf/llava-v1.6-mistral-7b-hf
From sourceHosted (signed)llava-hf/llava-v1.6-mistral-7b-hfLast check: 2026-11-15 02:29 UTC

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

Works with

Overview

Size
15.1 GB
Weights
15.1 GB (safetensors)
Parameters
7.6B
Formats
safetensors
Task
image text to text
License
Apache-2.0 (permissive)
Files
17, each with a sha256
Publisher
llava-hf
Added
2026-11-15
Section
alt.freeweights.mistral
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 02:29 UTCpassed

Model card

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

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 but we recomment to use the chat templates to format the prompt with processor.apply_chat_template(). That will apply the correct template for a given checkpoint for you.

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

To run the model with the pipeline, see the below example:

from transformers import pipeline

pipe = pipeline("image-text-to-text", model="llava-hf/llava-v1.6-mistral-7b-hf")
messages = [
    {
      "role": "user",
      "content": [
          {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/ai2d-demo.jpg"},
          {"type": "text", "text": "What does the label 15 represent? (1) lava (2) core (3) tunnel (4) ash cloud"},
        ],
    },
]

out = pipe(text=messages, max_new_tokens=20)
print(out)
>>> [{'input_text': [{'role': 'user', 'content': [{'type': 'image', 'url': 'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/ai2d-demo.jpg'}, {'type': 'text', 'text': 'What does the label 15 represent? (1) lava (2) core (3) tunnel (4) ash cloud'}]}], 'generated_text': 'Lava'}]

You can also 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))

From transformers>=v4.48, you can also pass image url or local path to the conversation history, and let the chat template handle the rest. Chat template will load the image for you and return inputs in torch.Tensor which you can pass directly to model.generate()

messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://www.ilankelman.org/stopsigns/australia.jpg"},
            {"type": "text", "text": "What is shown in this image?"},
        ],
    },
]

inputs = processor.apply_chat_template(messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt")
output = model.generate(**inputs, max_new_tokens=50)
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

17 files · 15.1 GBWeights 15.1 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 17 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md6.32 KB377ca53097a5e237941e8b81d3bee9de57a5a9ccd0757772444bcb53f3c7436b
added_tokens.json41 Ba94c56096001713e3eb9a34b1a545a8c1d5e8034ed2fb81f897c8cb54b420121
chat_template.json694 B270208cd28fbf6bd40d2c180195dafdab84698dca72a5e0fc96025a4a8fcec44
config.json1.25 KBddf45e24cea7da06747d67a2f377b8fe65e672f61180c50adae7fd9c0392ab6e
generation_config.json116 Bb24fa6ec6afb408d8a40243ca0192ee0abb3d967a8f0ebf5ec8db16eba6ea1f8
model-00001-of-00004.safetensors4.92 GB2d7d9a865868c5f05d8e44b6218f43401a0456d875429d32fa5f947d5ca01a67
model-00002-of-00004.safetensors4.92 GB02a36fb5d7b0574dc4c8da545089aac85b14a7972908293c11a63eca8ef46c0e
model-00003-of-00004.safetensors4.92 GB9201eb56fd7d71e2e8dbc6ff7f856e81c6eddb5b4eb12e9acc760576b668948c
model-00004-of-00004.safetensors380 MB472780e31b22135a80dc7721cc0ab5665cf7cfc2348755816a2404484abe17dc
model.safetensors.index.json70.2 KB53c5e4acf8c41b0072772dd648962ab27fc84b05e0cd6b6dd5f720aa175e7332
preprocessor_config.json772 Becef425c1d3ee91f5e05144c4d107389f9fefd04a424d5cbfc3fb6e0525b8c55
processor_config.json176 B7cd8bff508772b8b4e6b0678550bf856a7f28abd0f8b237235ac83bfcb9b1c36
special_tokens_map.json552 B358c249e2fb29060c6b73157d428853b0c48710deffc8ee670ab1013880946c9
tokenizer.json1.80 MB3ac63c3abef09099abe96833fbad9cdf473ede830413b0063bf8c3f357ed833c
tokenizer.model493 KBdadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
tokenizer_config.json2.07 KB37729d3fee9c6d74290bd6a85524941cd06cc7e9c9acb013863c23e9c6275d2f
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
2424fdd474 pinned now2026-11-15 02:29 UTC17 files · 15.1 GB

Use it

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

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
377ca53097a5e237941e8b81d3bee9de57a5a9ccd0757772444bcb53f3c7436b
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: llava-hf <huggingface.co/llava-hf>Newsgroups: alt.freeweights.mistralSubject: llava-v1.6-mistral-7b-hfDate: 2026-11-15Commit: 2424fddSigned: 2DC28CC7B26A283B ✓
Upstream
llava-hf/llava-v1.6-mistral-7b-hf
Pinned commit
2424fdd47412fccc66d91719126b420e9fbd7065
Manifest
llava-v1.6-mistral-7b-hf.json · .minisig
Manifest sha256
0191d9f9439cb497aa59b9dedeb5aa20a0ed747c474f4926a8cc016819a0ddf2
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:29 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

5 models in the catalog name this one as their parent.

Fine-tunes
4
Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download llava-hf/llava-v1.6-mistral-7b-hf
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.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of llava-v1.6-mistral-7b-hf. Each has its own license check and page.

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