微調過的 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