File size: 2,735 Bytes
e6b9825
9a5e304
 
 
 
 
 
 
 
 
 
 
 
 
 
e6b9825
9a5e304
 
e6b9825
9a5e304
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
base_model: NousResearch/Llama-2-7b-hf
tags:
- llama-2
- instruct
- finetune
- alpaca
- gpt4
- synthetic data
- distillation
datasets:
- teknium/openhermes
model-index:
- name: openhermes-7b
  results: []
license: mit
language:
- en
---

# OpenHermes-7B-adapter

![image/png](https://cdn-uploads.huggingface.co/production/uploads/6317aade83d8d2fd903192d9/ovkrkIIUwJ9azhPtW6dAb.png)

## Model description

** ADAPTER ONLY VERSION **

OpenHermes 7B is the first fine tune of the Hermes dataset that has a fully open source dataset!

What is unique about this 7B model is that it used sample packing, which speeds up training by many multiples if the dataset token averages arent near the max sequence length.

OpenHermes was trained on 242,000 entries of primarily GPT-4 generated data, from open datasets across the AI landscape, including:

- GPTeacher - General Instruct, Roleplay v1, Roleplay v2, and Code Instruct Datasets, by Teknium
- WizardLM (v1, evol_instruct 70k), by WizardLM Team/nlpxucan
- Airoboros GPT-4 (v1.0), by JonDurbin
- Camel-AI's domain expert datasets, by the Camel-AI Team
- CodeAlpaca, by Sahil2801
- GPT4-LLM and Unnatural Instructions, by Microsoft

Filtering included removal of OpenAI refusals, disclaimers, and "As an AI" type examples and more

The base dataset mix the model was trained on is identical to Nous-Hermes', minus the Nous-Instruct and PDACTL datasets which were private datasets.

The WANDB Project is public and can be examined at this link: https://wandb.ai/teknium1/openhermes/runs/openhermes-v2-qlora-7b-packed

Huge thank you to [main_horse](https://twitter.com/main_horse) for compute access and a16z for sponsoring my work, and all the dataset creators and other people who's work has contributed to this project!

## Benchmark Information

## Benchmark Results

GPT-4All Benchmark Set
```
|    Task     |Version| Metric |Value |   |Stderr|
|-------------|------:|--------|-----:|---|-----:|
|arc_challenge|      0|acc     |0.4727|±  |0.0146|
|             |       |acc_norm|0.4957|±  |0.0146|
|arc_easy     |      0|acc     |0.7862|±  |0.0084|
|             |       |acc_norm|0.7643|±  |0.0087|
|boolq        |      1|acc     |0.7801|±  |0.0072|
|hellaswag    |      0|acc     |0.5789|±  |0.0049|
|             |       |acc_norm|0.7654|±  |0.0042|
|openbookqa   |      0|acc     |0.3480|±  |0.0213|
|             |       |acc_norm|0.4500|±  |0.0223|
|piqa         |      0|acc     |0.7867|±  |0.0096|
|             |       |acc_norm|0.7938|±  |0.0094|
|winogrande   |      0|acc     |0.7048|±  |0.0128|

Average: 0.679
```

## Training procedure

![image/png](https://cdn-uploads.huggingface.co/production/uploads/6317aade83d8d2fd903192d9/Vzy7Z4Qcwj4hGJcQ2BT20.png)