基于开源医疗数据集,微调的Llama 2模型,用于回答医疗问题。

7b

47.7K 16 个月前

自述文件

MedLlama2 由 Siraj Raval 开发,是一个基于 Llama 2 的模型,使用 MedQA 数据集 训练,能够为医疗问题提供答案。它不用于取代医疗专业人员,而是为进一步研究提供一个起点。

CLI (命令行界面)

打开终端并运行 ollama run medllama2

API (应用程序编程接口)

示例

curl -X POST http://localhost:11434/api/generate -d '{
  "model": "medllama2",
  "prompt":"A 35-year-old woman presents with a persistent dry cough, shortness of breath, and fatigue. She is initially suspected of having asthma, but her spirometry results do not improve with bronchodilators. What could be the diagnosis?"
 }'

内存要求

  • 7b 模型通常至少需要 8GB 的 RAM

参考

llSourcell