NousResearch/Hermes-2-Pro-Mistral-7B
7B
3,961 拉取 更新于 5 个月前
更新于 5 个月前
5 个月前
6a27c314f9b1 · 7.7GB
模型
架构llama
·
参数7.24B
·
量化Q8_0
7.7GB
参数
{"stop":["<|im_start|>","<|im_end|>"]}
59B
模板
{{ if .System }}<|im_start|>system {{ .System }}<|im_end|> {{ end }}{{ if .Prompt }}<|im_start|>user {{ .Prompt }}<|im_end|> {{ end }}<|im_start|>assistant
156B
许可证
Apache License 2.0
20B
说明文档
github.com/adrienbrault/ollama-nous-hermes2pro
Ollama 模型,包括 NousResearch/Hermes-2-Pro-Mistral-7B-GGUF。
$ ollama run adrienbrault/nous-hermes2pro:Q4_0 'Hey!'
Hello! How can I help you today? If you have any questions or need assistance, feel free to ask.
提供了带有推荐系统提示的 -tools
和 -json
标签,用于函数调用和 json 模式。
您可以使用用户消息提供工具
$ ollama run adrienbrault/nous-hermes2pro:Q4_0-tools "<tools>$(cat examples/tool-stock.json)</tools>
Fetch the stock fundamentals data for Tesla (TSLA)"
<tool_call>
{"arguments": {"symbol": "TSLA"}, "name": "get_stock_fundamentals"}
</tool_call>
或者为 json 模式提供一个模式
$ ollama run adrienbrault/nous-hermes2pro:Q4_0-json "<schema>$(cat examples/user-schema.json)<schema>
Adrien Brault was born in 1991"
{"firstName": "Adrien", "lastName": "Brault", "age": 30}