File size: 5,501 Bytes
bb7d4ab
 
 
78cdc44
5164b14
 
78cdc44
 
 
f5f9309
 
 
 
99a3adf
 
f5f9309
ab502e0
99a3adf
cf19bec
78cdc44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bb7d4ab
 
 
 
 
 
 
 
4af31fb
bb7d4ab
103d947
7a04e67
bb7d4ab
2856795
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bb7d4ab
 
a38dc9a
 
 
 
78cdc44
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
---
language:
- en
license: apache-2.0
tags:
- conversational
datasets:
- Intel/orca_dpo_pairs
- Locutusque/Hercules-v3.0
inference:
  parameters:
    do_sample: true
    temperature: 0.8
    top_p: 0.95
    top_k: 40
    min_new_tokens: 2
    max_new_tokens: 250
    repetition_penalty: 1.1
widget:
- text: Hello who are you?
  example_title: Identity
- text: What can you do?
  example_title: Capabilities
- text: Create a fastapi endpoint to retrieve the weather given a zip code.
  example_title: Coding
model-index:
- name: NeuralReyna-Mini-1.8B-v0.2
  results:
  - task:
      type: text-generation
      name: Text Generation
    dataset:
      name: AI2 Reasoning Challenge (25-Shot)
      type: ai2_arc
      config: ARC-Challenge
      split: test
      args:
        num_few_shot: 25
    metrics:
    - type: acc_norm
      value: 37.8
      name: normalized accuracy
    source:
      url: https://huggingface.co./spaces/HuggingFaceH4/open_llm_leaderboard?query=M4-ai/NeuralReyna-Mini-1.8B-v0.2
      name: Open LLM Leaderboard
  - task:
      type: text-generation
      name: Text Generation
    dataset:
      name: HellaSwag (10-Shot)
      type: hellaswag
      split: validation
      args:
        num_few_shot: 10
    metrics:
    - type: acc_norm
      value: 60.51
      name: normalized accuracy
    source:
      url: https://huggingface.co./spaces/HuggingFaceH4/open_llm_leaderboard?query=M4-ai/NeuralReyna-Mini-1.8B-v0.2
      name: Open LLM Leaderboard
  - task:
      type: text-generation
      name: Text Generation
    dataset:
      name: MMLU (5-Shot)
      type: cais/mmlu
      config: all
      split: test
      args:
        num_few_shot: 5
    metrics:
    - type: acc
      value: 45.04
      name: accuracy
    source:
      url: https://huggingface.co./spaces/HuggingFaceH4/open_llm_leaderboard?query=M4-ai/NeuralReyna-Mini-1.8B-v0.2
      name: Open LLM Leaderboard
  - task:
      type: text-generation
      name: Text Generation
    dataset:
      name: TruthfulQA (0-shot)
      type: truthful_qa
      config: multiple_choice
      split: validation
      args:
        num_few_shot: 0
    metrics:
    - type: mc2
      value: 37.75
    source:
      url: https://huggingface.co./spaces/HuggingFaceH4/open_llm_leaderboard?query=M4-ai/NeuralReyna-Mini-1.8B-v0.2
      name: Open LLM Leaderboard
  - task:
      type: text-generation
      name: Text Generation
    dataset:
      name: Winogrande (5-shot)
      type: winogrande
      config: winogrande_xl
      split: validation
      args:
        num_few_shot: 5
    metrics:
    - type: acc
      value: 60.93
      name: accuracy
    source:
      url: https://huggingface.co./spaces/HuggingFaceH4/open_llm_leaderboard?query=M4-ai/NeuralReyna-Mini-1.8B-v0.2
      name: Open LLM Leaderboard
  - task:
      type: text-generation
      name: Text Generation
    dataset:
      name: GSM8k (5-shot)
      type: gsm8k
      config: main
      split: test
      args:
        num_few_shot: 5
    metrics:
    - type: acc
      value: 27.07
      name: accuracy
    source:
      url: https://huggingface.co./spaces/HuggingFaceH4/open_llm_leaderboard?query=M4-ai/NeuralReyna-Mini-1.8B-v0.2
      name: Open LLM Leaderboard
---
# NeuralReyna-Mini-1.8B-v0.2
![Reyna image](https://th.bing.com/th/id/OIG3.8IBxuT77hh6Y_r1DZ6WK?dpr=2.6&pid=ImgDetMain)
# Description
Taken aloobun/Reyna-Mini-1.8B-v0.2 and further fine-tuned it using DPO using the Intel/orca_dpo_pairs dataset. 

This model has capabilities in coding, math, science, roleplay, and function calling. 

This model was trained on OpenAI's ChatML prompt format.
# Evaluation
AGIEval:
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6437292ecd93f4c9a34b0d47/eQXYDTQYMaVii-_U0vewF.png)

GPT4ALL:
|    Tasks    |Version|Filter|n-shot| Metric |Value |   |Stderr|
|-------------|------:|------|-----:|--------|-----:|---|-----:|
|arc_challenge|      1|none  |     0|acc     |0.3208|±  |0.0136|
|             |       |none  |     0|acc_norm|0.3336|±  |0.0138|
|arc_easy     |      1|none  |     0|acc     |0.6035|±  |0.0100|
|             |       |none  |     0|acc_norm|0.5833|±  |0.0101|
|boolq        |      2|none  |     0|acc     |0.6526|±  |0.0083|
|hellaswag    |      1|none  |     0|acc     |0.4556|±  |0.0050|
|             |       |none  |     0|acc_norm|0.6076|±  |0.0049|
|openbookqa   |      1|none  |     0|acc     |0.2600|±  |0.0196|
|             |       |none  |     0|acc_norm|0.3460|±  |0.0213|
|piqa         |      1|none  |     0|acc     |0.7236|±  |0.0104|
|             |       |none  |     0|acc_norm|0.7307|±  |0.0104|
|winogrande   |      1|none  |     0|acc     |0.6062|±  |0.0137|


# Disclaimer

This model may have overfitted to the DPO training data, and may not perform well. 

# Contributions

Thanks to @aloobun and @Locutusque for their contributions to this model. 
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co./spaces/HuggingFaceH4/open_llm_leaderboard)
Detailed results can be found [here](https://huggingface.co./datasets/open-llm-leaderboard/details_M4-ai__NeuralReyna-Mini-1.8B-v0.2)

|             Metric              |Value|
|---------------------------------|----:|
|Avg.                             |44.85|
|AI2 Reasoning Challenge (25-Shot)|37.80|
|HellaSwag (10-Shot)              |60.51|
|MMLU (5-Shot)                    |45.04|
|TruthfulQA (0-shot)              |37.75|
|Winogrande (5-shot)              |60.93|
|GSM8k (5-shot)                   |27.07|