AI & XML / LLM test suite / Results / Models / medllama2:7b

Model description

A Llama 2 model fine-tuned on an open medical dataset to answer medical questions.

Model family

medllama2

Context

4K

Input

Text

Size

38 GB

Family sizes

7b

Readme excerpt

MedLlama2 by Siraj Raval is a Llama 2-based model trained with the MedQA dataset to provide medical answers to questions. It is not intended to replace medical professionals, but to offer a starting point for further research.

CLI

Open the terminal and run ollama run medllama2

API

Example:

curl -X POST http://localhost:11434/api/generate -d '{ "model": "medllama2", "prompt":"Eine 35-jährige Frau stellt sich mit anhaltendem trockenem Husten, Atemnot und Müdigkeit vor. Zunächst wird Asthma vermutet, doch ihre Spirometriewerte verbessern sich nach Gabe von Bronchodilatatoren nicht. Welche Diagnose könnte vorliegen?" }'

Memory requirements

7B models generally require at least 8 GB RAM.

Reference

llSourcell

1270 Runs 1340 evaluated 12.2 % Score 0.4 % exactly correct

Help on evaluation, score and exact correctness

Score is a graded quality measure: correct = 100 %, mostly_correct = 80 %, partial = 50 %, wrong/not_answered = 0 %.

Exactly correct is stricter: only correct-labeled runs count. Mostly correct increases score but does not count as exactly correct.

Evaluated counts all runs with a substantive judgment. LLM-judge errors also count as evaluated, with score 0 %.

Test case Category

x

back to top