更新于 16 个月前
16 个月前
a53737ec0c72 · 3.8GB
模型
架构llama
·
参数6.74B
·
量化Q4_0
3.8GB
参数
{ "stop": [ "User:", "Assistant:" ] }
31B
模板
{{ .System }} User: {{ .Prompt }} Assistant:
45B
自述文件
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