🚀 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許可證。