Commit
•
ba26109
1
Parent(s):
05e1eb2
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
datasets:
|
4 |
+
- 0-hero/Matter-0.2
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
inference: false
|
8 |
+
library_name: transformers
|
9 |
+
pipeline_tag: text-generation
|
10 |
+
tags:
|
11 |
+
- mistral
|
12 |
+
- conversational
|
13 |
+
- text-generation-inference
|
14 |
+
---
|
15 |
+
|
16 |
+
## Matter 7B - 0.2 - GGUF (Mistral 7B 0.2 Finetune)
|
17 |
+
|
18 |
+
## This is the GGUF version of the model, made for the llama.cpp inference engine.
|
19 |
+
|
20 |
+
# Model Description
|
21 |
+
|
22 |
+
Matter 7B 0.2 is full-finetune on the **Matter 0.2 dataset** (not yet released), which is curated from over 35 datsets analyzing >6B tokens
|
23 |
+
|
24 |
+
### Training
|
25 |
+
|
26 |
+
Prompt format: This model uses ChatML prompt format.
|
27 |
+
```
|
28 |
+
<|im_start|>system
|
29 |
+
You are a helpful AI assistant.<|im_end|>
|
30 |
+
<|im_start|>user
|
31 |
+
{prompt}<|im_end|>
|
32 |
+
<|im_start|>assistant
|
33 |
+
```
|
34 |
+
### Function Calling
|
35 |
+
|
36 |
+
Model also supports function calling. Additional tokens for function calling
|
37 |
+
|
38 |
+
Model function call tokens
|
39 |
+
- `<tool_call>` - Function call start token
|
40 |
+
- `</tool_call>` - Function call end token
|
41 |
+
|
42 |
+
Function call response tokens
|
43 |
+
- `<tool_response>` - Function response start token
|
44 |
+
- `</tool_response>` - Function response end token
|
45 |
+
|
46 |
+
Example
|
47 |
+
```
|
48 |
+
<|im_start|>system
|
49 |
+
You are a helpful assistant with access to the following functions. Use them if required -
|
50 |
+
{ "name": "get_news_headlines",
|
51 |
+
"description": "Get the latest news headlines",
|
52 |
+
"parameters":
|
53 |
+
{ "type": "object",
|
54 |
+
"properties":
|
55 |
+
{ "country":
|
56 |
+
{ "type": "string",
|
57 |
+
"description": "The country for which to fetch news"
|
58 |
+
}
|
59 |
+
},
|
60 |
+
"required": [ "country" ]
|
61 |
+
}
|
62 |
+
}
|
63 |
+
<|im_end|>
|
64 |
+
<|im_start|>user
|
65 |
+
Can you tell me the latest news headlines for the United States?<|im_end|>
|
66 |
+
<|im_start|>assistant
|
67 |
+
<tool_call>{"name": "get_news_headlines", "arguments": '{"country": "United States"}'}</tool_call><|im_end|>
|
68 |
+
<|im_start|>user
|
69 |
+
<tool_response>{
|
70 |
+
"headlines":
|
71 |
+
[
|
72 |
+
"Biden announces new vaccine mandates",
|
73 |
+
"Hurricane Ida devastates Louisiana",
|
74 |
+
"Apple unveils new iPhone",
|
75 |
+
"NASA's Perseverance rover collects first Mars rock sample"
|
76 |
+
]
|
77 |
+
}</tool_response>
|
78 |
+
<|im_end|>
|
79 |
+
<|im_start|>assistant
|
80 |
+
Here are the latest news headlines for the United States:
|
81 |
+
1. Biden announces new vaccine mandates
|
82 |
+
2. Hurricane Ida devastates Louisiana
|
83 |
+
3. Apple unveils new iPhone
|
84 |
+
4. NASA's Perseverance rover collects first Mars rock sample
|
85 |
+
<|im_end|>
|
86 |
+
```
|