https://hugging-face.cn/fireworks-ai/firefunction-v1
8x7B
199 提拉 更新于 5 个月前
更新于 6 个月前
6 个月前
efcf75802a66 · 23GB
模型
架构llama
·
参数46.7B
·
量化Q3_K_M
23GB
参数
{"num_ctx":4096,"num_gpu":40,"stop":["</s>"]}
56B
系统
你是一个具有访问函数权限的有用助手。如有需要,请使用它们。函数:[ { "type": "function", "function": { "name": "get_the_weather", "description": "获取天气", "parameters": { "type": "object", "properties": { "city": { "type": "string", "description": "要获取天气的城市" }, "state": { "type": "string", "description": "要获取天气的州" } }, "required": [ "city", "state" ] } } } ]
628B
模板
<s>系统:{{ .System }} 用户:{{ .Prompt }} 助手:
58B
README
firefunction-v1
https://hugging-face.cn/fireworks-ai/firefunction-v1
ollama run joefamous/firefunction-v1:q3_k
>>> What is the weather in Seattle?
<functioncall>{"name": "get_the_weather", "arguments": {"city": "Seattle", "state": "Washington"}}
>>> TOOL: rainy
<plain>The current weather in Seattle, Washington is rainy.
您应该在系统提示中包含您可用的函数列表。默认系统提示包含以下内容
You are a helpful assistant with access to functions. Use them if required.
FUNCTIONS: [
{
"type": "function",
"function": {
"name": "get_the_weather",
"description": "Get the weather",
"parameters": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "The city to get the weather for"
},
"state": {
"type": "string",
"description": "The state to get the weather for"
}
},
"required": [
"city",
"state"
]
}
}
}
]