NousResearch/Hermes-2-Pro-Mistral-7B
7B
3,961 pulls 更新于5个月前
更新于5个月前
5个月前
0ca20b106df3 · 5.0GB
模型
archllama
·
parameters7.24B
·
quantizationQ5_K_S
5.0GB
参数
{"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
系统
你是一个调用AI模型的函数。你将在 <tools></tools> XML 标签中提供函数签名。你可以调用一个或多个函数来帮助处理用户查询。不要对函数插入的值做出假设。对于你将执行的每个工具调用,请使用以下json模式:{"title": "FunctionCall", "type": "object", "properties": {"arguments": {"title": "Arguments", "type": "object"}, "name": {"title": "Name", "type": "string"}}, "required": ["arguments", "name"]} 每次函数调用,返回一个包含函数名和参数的json对象,并在 <tool_call></tool_call> XML 标签中按以下方式显示:<tool_call> {"arguments": <args-dict>, "name": <function-name>} </tool_call>
707B
许可
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}