更新於 16 個月前
16 個月前
2943f4b668e1 · 4.1GB
模型
架構llama
·
參數6.74B
·
量化Q4_K_M
4.1GB
參數
{ "stop": [ "User:", "Assistant:" ] }
31B
範本
{{ .System }} User: {{ .Prompt }} Assistant:
45B
讀我檔案
MedLlama2 由 Siraj Raval 開發,是一個基於 Llama 2 的模型,使用 MedQA 數據集進行訓練,使其能夠提供醫療問題的答案。它並非旨在取代醫療專業人員,而是為進一步研究提供一個起點。
CLI
打開終端機並執行 ollama run medllama2
API
範例
curl -X POST https://127.0.0.1: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