BioMistral-7B
Biomistral · Language (text)
📄 32K context🔓 Open weights (downloadable)⚖️ apache-2.0
Which way is for me?
🌐 Online, right now
- Or try the free demo: BioMistral/BioMistral-Chat
🧑💻 For developers
vLLM
vllm serve BioMistral/BioMistral-7BTransformers (Python)
from transformers import pipeline
pipe = pipeline("text-generation", model="BioMistral/BioMistral-7B")llama.cpp
llama-server -hf BioMistral/BioMistral-7B-GGUFWords 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 KG | Medical Genetics | Anatomy | Pro Medicine | College Biology | College Medicine | |
|---|---|---|---|---|---|---|
| BioMistral 7B | 59.9 | 64.0 | 56.5 | 60.4 | 59.0 | 54.7 |
| Mistral 7B Instruct | 62.9 | 57.0 | 55.6 | 59.4 | 62.5 | 57.2 |
| BioMistral 7B Ensemble | 62.8 | 62.7 | 57.5 | 63.5 | 64.3 | 55.7 |
| BioMistral 7B DARE | 62.3 | 67.0 | 55.8 | 61.4 | 66.9 | 58.0 |
| BioMistral 7B TIES | 60.1 | 65.0 | 58.5 | 60.5 | 60.4 | 56.5 |
| BioMistral 7B SLERP | 62.5 | 64.7 | 55.8 | 62.7 | 64.8 | 56.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: