BioMistral-7B

Biomistral · Language (text)

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

Which way is for me?

🌐 Online, right now

  1. Or try the free demo: BioMistral/BioMistral-Chat

🧑‍💻 For developers

vLLM

vllm serve BioMistral/BioMistral-7B

Transformers (Python)

from transformers import pipeline
pipe = pipeline("text-generation", model="BioMistral/BioMistral-7B")

llama.cpp

llama-server -hf BioMistral/BioMistral-7B-GGUF
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 Models (LLMs) have demonstrated remarkable versatility in recent years, offering potential applications across specialized domains such as healthcare and medicine. Despite the availability of various open-source LLMs tailored for health contexts, adapting general-purpose LLMs to the medical domain presents significant challenges.

Benchmarks (from the model card)

Clinical KGMedical GeneticsAnatomyPro MedicineCollege BiologyCollege Medicine
BioMistral 7B59.964.056.560.459.054.7
Mistral 7B Instruct62.957.055.659.462.557.2
BioMistral 7B Ensemble62.862.757.563.564.355.7
BioMistral 7B DARE62.367.055.861.466.958.0
BioMistral 7B TIES60.165.058.560.560.456.5
BioMistral 7B SLERP62.564.755.862.764.856.3

Source: Hugging Face · BioMistral/BioMistral-7B · License: apache-2.0

Hardware and running it

Cloud Only through the maker's API or cloud services; it cannot run on your own hardware.

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