基于开源医疗数据集,对Llama 2模型进行微调,以回答医疗问题。

7b

47.7K 16 个月前

自述文件

Siraj Raval 的 MedLlama2 是一个基于 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