0-hero commited on
Commit
129e2ae
1 Parent(s): 932df0d

Update README.md

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