Skip to main content
Article·huggingface.co
biomedicalmistralopen-sourcemedicalfine-tuninglarge language modelmedical QAhugging faceinference

BioMistral

BioMistral is an open-source biomedical language model fine-tuned from Mistral 7B, offering strong performance on medical QA tasks with low computational requirements.

beginner15 minutes3 steps
The play
  1. Access the Model
    BioMistral models are available on Hugging Face. Choose the variant that best suits your needs (e.g., BioMistral-7B-Instruct-v0.1 for instruction following).
  2. Prepare Input
    Format your medical question or prompt for the model. For instruction-following models, use a clear and concise instruction.
  3. Generate Response
    Use the model and tokenizer to generate a response to your prompt.
Starter code
This Action Pack guides you through using BioMistral, a biomedical language model, for answering medical questions. You'll learn how to load the model, format your input, and generate responses.
Source
BioMistral — Action Pack