NousResearch/Hermes-2-Pro-Mistral-7B
7B
5个月前更新
5个月前
f562c0a6274a · 3.5GB
README
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}