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