llama-2 instruct finetune alpaca gpt4 synthetic data distillation

OpenHermes-7B-adapter

image/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:

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 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