🚀 Matter 7B - 0.1 (Mistral 7B微调版)
Matter 7B是一个基于Transformer架构的文本生成模型,它在特定数据集上进行了微调,以实现更高效、准确的文本生成。该模型适用于对话系统、内容创作等多种自然语言处理场景。
🚀 快速开始
Matter 7B是在Matter数据集上进行全量微调的模型,该数据集由超过35个数据集整理而来,分析了超过60亿个标记。
✨ 主要特性
训练
<|im_start|>system
You are a helpful AI assistant.<|im_end|>
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant
函数调用
- 该模型还支持函数调用。函数调用需要额外的标记。
- 模型函数调用标记
- <|begin_func|> - 函数调用开始标记
- <|end_func|> - 函数调用结束标记
- 函数调用响应标记
- <|begin_func_response|> - 函数响应开始标记
- <|end_func_response|> - 函数响应结束标记
💻 使用示例
基础用法
<|im_start|>system
You are a helpful assistant with access to the following functions. Use them if required -
{ "name": "get_news_headlines",
"description": "Get the latest news headlines",
"parameters":
{ "type": "object",
"properties":
{ "country":
{ "type": "string",
"description": "The country for which to fetch news"
}
},
"required": [ "country" ]
}
}
<|im_end|>
<|im_start|>user
Can you tell me the latest news headlines for the United States?<|im_end|>
<|im_start|>assistant
<|begin_func|>{"name": "get_news_headlines", "arguments": '{"country": "United States"}'}<|end_func|><|im_end|>
<|im_start|>user
<|begin_func_response|>{
"headlines":
[
"Biden announces new vaccine mandates",
"Hurricane Ida devastates Louisiana",
"Apple unveils new iPhone",
"NASA's Perseverance rover collects first Mars rock sample"
]
}<|end_func_response|>
<|im_end|>
<|im_start|>assistant
Here are the latest news headlines for the United States:
1. Biden announces new vaccine mandates
2. Hurricane Ida devastates Louisiana
3. Apple unveils new iPhone
4. NASA's Perseverance rover collects first Mars rock sample
<|im_end|>
📄 许可证
本项目采用Apache-2.0许可证。