llava-med-v1.5-mistral-7b

Microsoft (United States) · Multimodal

🧠 7.6B📄 32K context🔓 Open weights (downloadable)⚖️ apache-2.0

Which way is for me?

💻 On my own computer

No ready LM Studio version (GGUF) of this model has been published yet. Use the online way for now; this page is checked again every night and the steps will appear here when one comes out.

Similar models you can run on your computer right now:

🧑‍💻 For developers

vLLM

vllm serve microsoft/llava-med-v1.5-mistral-7b

Transformers (Python)

from transformers import pipeline
pipe = pipeline("image-text-to-text", model="microsoft/llava-med-v1.5-mistral-7b")
Words used here
GGUF
The file format LM Studio, Ollama and llama.cpp use to run a model.
Quantization (Q4, Q8)
Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
VRAM
The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
Context
The most text the model can see at once in a conversation (questions, answers and files).
Tokens per second
How fast the answer is written; 20 is about reading speed, 5 is slow.

From the Hugging Face model card

Large Language and Vision Assistant for bioMedicine (i.e., “LLaVA-Med”) is a large language and vision model trained using a curriculum learning method for adapting LLaVA to the biomedical domain. It is an open-source release intended for research use only to facilitate reproducibility of the corresponding paper which claims improved performance for open-ended biomedical questions answering tasks, including common visual question answering (VQA) benchmark datasets such as…

Intended use

The data, code, and model checkpoints are intended to be used solely for (I) future research on visual-language processing and (II) reproducibility of the experimental results reported in the reference paper. The data, code, and model checkpoints are not intended to be used in clinical care or for any clinical decision making purposes.

Limitations

Any deployed use case of the model --- commercial or otherwise --- is out of scope. Although we evaluated the models using a broad set of publicly-available research benchmarks, the models and evaluations are intended for research use only and not intended for deployed use cases. Please refer to the associated paper for more details.

Source: Hugging Face · microsoft/llava-med-v1.5-mistral-7b · License: apache-2.0

Hardware and running it

Local Weights are published and it runs on your own hardware.

Minimum Q4
5.1 GB
Recommended Q8
9.1 GB
Full quality FP16
18.2 GB

On common hardware

RTX 4060 · 8 GBUsableQ4 · ≈ 23–38 tokens/s
RTX 4090 · 24 GBGreatFP16 · ≈ 24–40 tokens/s
RTX 5090 · 32 GBGreatFP16 · ≈ 43–71 tokens/s
Mac M4 Max · 128 GBUsableFP16 · ≈ 13–22 tokens/s
H100 · 80 GBGreatFP16 · ≈ 80–130 tokens/s
8× H100 · 640 GBGreatFP16 · ≈ 640–1,060 tokens/s

Speeds are estimates. estimated speed for one user, from memory bandwidth

Links come from the vendor's official site and the model card the vendor published · Updated: