ABX-AI commited on
Commit
37b5887
1 Parent(s): 8fb1b24

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +195 -0
README.md CHANGED
@@ -1,3 +1,198 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ datasets:
4
+ - Open-Orca/SlimOrca-Dedup
5
+ - migtissera/Synthia-v1.3
6
+ - LDJnr/Verified-Camel
7
+ - LDJnr/Pure-Dove
8
+ - LDJnr/Capybara
9
+ - meta-math/MetaMathQA
10
+ - Intel/orca_dpo_pairs
11
+ - argilla/ultrafeedback-binarized-preferences-cleaned
12
+ widget:
13
+ - example_title: "Example interaction"
14
+ text: "Why is the sky blue?"
15
+ inference:
16
+ parameters:
17
+ do_sample: True
18
+ temperature: 0.1
19
+ model-index:
20
+ - name: phi-2-orange-v2
21
+ results:
22
+ - task:
23
+ type: text-generation
24
+ name: Text Generation
25
+ dataset:
26
+ name: AI2 Reasoning Challenge (25-Shot)
27
+ type: ai2_arc
28
+ config: ARC-Challenge
29
+ split: test
30
+ args:
31
+ num_few_shot: 25
32
+ metrics:
33
+ - type: acc_norm
34
+ value: 61.86
35
+ name: normalized accuracy
36
+ source:
37
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=rhysjones/phi-2-orange-v2
38
+ name: Open LLM Leaderboard
39
+ - task:
40
+ type: text-generation
41
+ name: Text Generation
42
+ dataset:
43
+ name: HellaSwag (10-Shot)
44
+ type: hellaswag
45
+ split: validation
46
+ args:
47
+ num_few_shot: 10
48
+ metrics:
49
+ - type: acc_norm
50
+ value: 76.32
51
+ name: normalized accuracy
52
+ source:
53
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=rhysjones/phi-2-orange-v2
54
+ name: Open LLM Leaderboard
55
+ - task:
56
+ type: text-generation
57
+ name: Text Generation
58
+ dataset:
59
+ name: MMLU (5-Shot)
60
+ type: cais/mmlu
61
+ config: all
62
+ split: test
63
+ args:
64
+ num_few_shot: 5
65
+ metrics:
66
+ - type: acc
67
+ value: 55.72
68
+ name: accuracy
69
+ source:
70
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=rhysjones/phi-2-orange-v2
71
+ name: Open LLM Leaderboard
72
+ - task:
73
+ type: text-generation
74
+ name: Text Generation
75
+ dataset:
76
+ name: TruthfulQA (0-shot)
77
+ type: truthful_qa
78
+ config: multiple_choice
79
+ split: validation
80
+ args:
81
+ num_few_shot: 0
82
+ metrics:
83
+ - type: mc2
84
+ value: 54.84
85
+ source:
86
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=rhysjones/phi-2-orange-v2
87
+ name: Open LLM Leaderboard
88
+ - task:
89
+ type: text-generation
90
+ name: Text Generation
91
+ dataset:
92
+ name: Winogrande (5-shot)
93
+ type: winogrande
94
+ config: winogrande_xl
95
+ split: validation
96
+ args:
97
+ num_few_shot: 5
98
+ metrics:
99
+ - type: acc
100
+ value: 75.69
101
+ name: accuracy
102
+ source:
103
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=rhysjones/phi-2-orange-v2
104
+ name: Open LLM Leaderboard
105
+ - task:
106
+ type: text-generation
107
+ name: Text Generation
108
+ dataset:
109
+ name: GSM8k (5-shot)
110
+ type: gsm8k
111
+ config: main
112
+ split: test
113
+ args:
114
+ num_few_shot: 5
115
+ metrics:
116
+ - type: acc
117
+ value: 57.62
118
+ name: accuracy
119
+ source:
120
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=rhysjones/phi-2-orange-v2
121
+ name: Open LLM Leaderboard
122
  ---
123
+ ![Phi-2 Orange](https://huggingface.co/rhysjones/phi-2-orange-v2/resolve/main/phi-2-orange.jpg)
124
+
125
+ # GGUF / IQ / Imatrix for [Phi-2 Orange Version 2](https://huggingface.co/rhysjones/phi-2-orange-v2)
126
+
127
+ >I really like the Phi models, and noticed there isn't a single repo that offers GGUF in all kinds of quants from any familiar Quant authors.
128
+ >Thus, here is one with a good variety of small quants + Q8 + FP16.
129
+
130
+
131
+ ### ORIGINAL DESCRIPTION:
132
+
133
+ # Phi-2 Orange Version 2
134
+
135
+ A two-step finetune of Phi-2, with a bit more zest.
136
+
137
+ This is an improved version of the original [Phi-2-Orange](https://huggingface.co/rhysjones/phi-2-orange) that
138
+ uses an updated training process on the same datasets.
139
+
140
+ It also uses the latest updated model from Microsoft's [Phi-2](https://huggingface.co/microsoft/phi-2), making it directly usable
141
+ within Hugging Face's Transformers library (without the need for trust remote code).
142
+
143
+ # Prompt Format
144
+
145
+ Phi-2 Orange v2 uses ChatML as the prompt format.
146
+ (Update 12th March 2024: fixed eos_token issue)
147
+
148
+ It's recommended to always prompt with a system instruction (use whatever system prompt you like):
149
+
150
+ ```
151
+ <|im_start|>system
152
+ You are a helpful assistant for Python which outputs in Markdown format.<|im_end|>
153
+ <|im_start|>user
154
+ Write a function to calculate the Fibonacci sequence<|im_end|>
155
+ <|im_start|>assistant
156
+
157
+ ```
158
+
159
+ For example, if you find the model's output to be overly verbose, instruct it to be short and concise:
160
+
161
+ ```
162
+ <|im_start|>system
163
+ You are a helpful assistant. Be short and direct in your answers.<|im_end|>
164
+ <|im_start|>user
165
+ Was Tom Hanks in the movie Forrest Gump? If so, who did he play and give details of the plot.<|im_end|>
166
+ <|im_start|>assistant
167
+ ```
168
+
169
+ # Evaluations
170
+
171
+
172
+ [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
173
+ Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_rhysjones__phi-2-orange-v2)
174
+ | Metric |Value|
175
+ |---------------------------------|----:|
176
+ |Average |63.67|
177
+ |AI2 Reasoning Challenge (25-Shot)|61.86|
178
+ |HellaSwag (10-Shot) |76.32|
179
+ |MMLU (5-Shot) |55.72|
180
+ |TruthfulQA (0-shot) |54.84|
181
+ |Winogrande (5-shot) |75.69|
182
+ |GSM8k (5-shot) |57.62|
183
+
184
+ [YALL - Yet Another LLM Leaderboard](https://huggingface.co/spaces/mlabonne/Yet_Another_LLM_Leaderboard)
185
+ Evaluation from [mlabonne](https://huggingface.co/mlabonne)'s alternative LLM leaderboard:
186
+ | Metric |Value|
187
+ |---------------------------------|----:|
188
+ |Average |49.64|
189
+ |AGIEval |34.55|
190
+ |GPT4All |70.96|
191
+ |TruthfulQA |54.87|
192
+ |Bigbench |38.17|
193
+
194
+ # Limitations
195
+
196
+ This model shares the same limitations as the underlying Phi-2 model, details of which are found [here](https://huggingface.co/microsoft/phi-2#limitations-of-phi-2).
197
+
198
+