AI ExplorerAI Explorer
OutilsCatégoriesSitesLLMsComparerQuiz IAAlternativesPremium

—

Outils IA

—

Sites & Blogs

—

LLMs & Modèles

—

Catégories

AI Explorer

Trouvez et comparez les meilleurs outils d'intelligence artificielle pour vos projets.

Fait avecen France

Explorer

  • Tous les outils
  • Sites & Blogs
  • LLMs & Modèles
  • Comparer
  • Chatbots
  • Images IA
  • Code & Dev

Entreprise

  • Premium
  • À propos
  • Contact
  • Blog

Légal

  • Mentions légales
  • Confidentialité
  • CGV

© 2026 AI Explorer. Tous droits réservés.

AccueilLLMsBioMistral 7B

BioMistral 7B

par BioMistral

Open source · 167k downloads · 497 likes

3.4
(497 avis)ChatAPI & Local
À propos

BioMistral 7B est un modèle de langage spécialisé dans le domaine médical, conçu pour exploiter les connaissances biomédicales issues de sources comme PubMed. Il s’appuie sur une architecture de pointe et a été entraîné sur des données médicales pour répondre à des questions ou générer du texte dans ce secteur. Ses principales capacités incluent l’analyse de documents scientifiques, l’aide à la recherche médicale ou la synthèse d’informations cliniques en anglais. Bien que performant, il reste un outil de recherche et ne doit pas être utilisé en contexte professionnel sans validation supplémentaire, en raison de risques potentiels de biais ou d’erreurs. Son approche open-source et son évaluation multilingue en font une ressource prometteuse pour la communauté scientifique, tout en nécessitant une utilisation prudente.

Documentation

drawing

BioMistral: A Collection of Open-Source Pretrained Large Language Models for Medical Domains

Abstract:

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. In this paper, we introduce BioMistral, an open-source LLM tailored for the biomedical domain, utilizing Mistral as its foundation model and further pre-trained on PubMed Central. We conduct a comprehensive evaluation of BioMistral on a benchmark comprising 10 established medical question-answering (QA) tasks in English. We also explore lightweight models obtained through quantization and model merging approaches. Our results demonstrate BioMistral's superior performance compared to existing open-source medical models and its competitive edge against proprietary counterparts. Finally, to address the limited availability of data beyond English and to assess the multilingual generalization of medical LLMs, we automatically translated and evaluated this benchmark into 7 other languages. This marks the first large-scale multilingual evaluation of LLMs in the medical domain. Datasets, multilingual evaluation benchmarks, scripts, and all the models obtained during our experiments are freely released.

Advisory Notice! Although BioMistral is intended to encapsulate medical knowledge sourced from high-quality evidence, it hasn't been tailored to effectively, safely, or suitably convey this knowledge within professional parameters for action. We advise refraining from utilizing BioMistral in medical contexts unless it undergoes thorough alignment with specific use cases and undergoes further testing, notably including randomized controlled trials in real-world medical environments. BioMistral 7B may possess inherent risks and biases that have not yet been thoroughly assessed. Additionally, the model's performance has not been evaluated in real-world clinical settings. Consequently, we recommend using BioMistral 7B strictly as a research tool and advise against deploying it in production environments for natural language generation or any professional health and medical purposes.

1. BioMistral models

BioMistral is a suite of Mistral-based further pre-trained open source models suited for the medical domains and pre-trained using textual data from PubMed Central Open Access (CC0, CC BY, CC BY-SA, and CC BY-ND). All the models are trained using the CNRS (French National Centre for Scientific Research) Jean Zay French HPC.

Model NameBase ModelModel TypeSequence LengthDownload
BioMistral-7BMistral-7B-Instruct-v0.1Further Pre-trained2048HuggingFace
BioMistral-7B-DAREMistral-7B-Instruct-v0.1Merge DARE2048HuggingFace
BioMistral-7B-TIESMistral-7B-Instruct-v0.1Merge TIES2048HuggingFace
BioMistral-7B-SLERPMistral-7B-Instruct-v0.1Merge SLERP2048HuggingFace

2. Quantized Models

Base ModelMethodq_group_sizew_bitversionVRAM GBTimeDownload
BioMistral-7BFP16/BF1615.02x1.00HuggingFace
BioMistral-7BAWQ1284GEMM4.68x1.41HuggingFace
BioMistral-7BAWQ1284GEMV4.68x10.30HuggingFace
BioMistral-7BBnB.445.03x3.25HuggingFace
BioMistral-7BBnB.888.04x4.34HuggingFace
BioMistral-7B-DAREAWQ1284GEMM4.68x1.41HuggingFace
BioMistral-7B-TIESAWQ1284GEMM4.68x1.41HuggingFace
BioMistral-7B-SLERPAWQ1284GEMM4.68x1.41HuggingFace

2. Using BioMistral

You can use BioMistral with Hugging Face's Transformers library as follow.

Loading the model and tokenizer :

Python
from transformers import AutoModel, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("BioMistral/BioMistral-7B")
model = AutoModel.from_pretrained("BioMistral/BioMistral-7B")

3. Supervised Fine-tuning Benchmark

Clinical KGMedical GeneticsAnatomyPro MedicineCollege BiologyCollege MedicineMedQAMedQA 5 optsPubMedQAMedMCQAAvg.
BioMistral 7B59.964.056.560.459.054.750.642.877.548.157.3
Mistral 7B Instruct62.957.055.659.462.557.242.040.975.746.155.9
BioMistral 7B Ensemble62.862.757.563.564.355.750.643.677.548.858.7
BioMistral 7B DARE62.367.055.861.466.958.051.145.277.748.759.4
BioMistral 7B TIES60.165.058.560.560.456.549.543.277.548.157.9
BioMistral 7B SLERP62.564.755.862.764.856.350.844.377.848.658.8
MedAlpaca 7B53.158.054.158.858.148.640.133.773.637.051.5
PMC-LLaMA 7B24.527.735.317.430.323.325.520.272.926.630.4
MediTron-7B41.650.346.427.944.430.841.628.174.941.342.7
BioMedGPT-LM-7B51.452.049.453.350.749.142.533.976.837.649.7
GPT-3.5 Turbo 1106*74.7174.0065.9272.7972.9164.7357.7150.8272.6653.7966.0

Supervised Fine-Tuning (SFT) performance of BioMistral 7B models compared to baselines, measured by accuracy (↑) and averaged across 3 random seeds of 3-shot. DARE, TIES, and SLERP are model merging strategies that combine BioMistral 7B and Mistral 7B Instruct. Best model in bold, and second-best underlined. *GPT-3.5 Turbo performances are reported from the 3-shot results without SFT.

Citation BibTeX

Arxiv : https://arxiv.org/abs/2402.10373

Bibtex
@misc{labrak2024biomistral,
      title={BioMistral: A Collection of Open-Source Pretrained Large Language Models for Medical Domains}, 
      author={Yanis Labrak and Adrien Bazoge and Emmanuel Morin and Pierre-Antoine Gourraud and Mickael Rouvier and Richard Dufour},
      year={2024},
      eprint={2402.10373},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

CAUTION! Both direct and downstream users need to be informed about the risks, biases, and constraints inherent in the model. While the model can produce natural language text, our exploration of its capabilities and limitations is just beginning. In fields such as medicine, comprehending these limitations is crucial. Hence, we strongly advise against deploying this model for natural language generation in production or for professional tasks in the realm of health and medicine.

Liens & Ressources
Spécifications
CatégorieChat
AccèsAPI & Local
LicenceOpen Source
TarificationOpen Source
Paramètres7B parameters
Note
3.4

Essayer BioMistral 7B

Accédez directement au modèle