Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
Alignment-Lab-AI commited on
Commit
c5a2ba6
1 Parent(s): d851c7d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +137 -1
README.md CHANGED
@@ -17,4 +17,140 @@ tags:
17
  pretty_name: Select Stack
18
  size_categories:
19
  - 1M<n<10M
20
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  pretty_name: Select Stack
18
  size_categories:
19
  - 1M<n<10M
20
+ ---
21
+
22
+
23
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/6436279eaaef013d1af225c9/fWaQucBWfabfnMsAFN8hv.png)
24
+
25
+ # Buzz: Advancing Efficiency through Iterative Fine-Tuning
26
+
27
+ ## Introduction
28
+
29
+ - [Alignment Lab AI](https://AlignmentLab.ai) is pleased to introduce our latest research efforts with:
30
+
31
+ **Buzz**, a highly curated pretraining scale assistant dataset, unifying RL and SFT, developed in collaboration with [Hive Digital Technologies](https://hivedt.com/).
32
+
33
+ The Buzz model, Dataset, and Code are to be released to build a toolkit that aims to demonstrate the potential for reuse and optimization of existing pretrained language models to continuously refine the heights of performance that can be achieved with optimal use of FlOps. Alongside Buzz-5b-Medium, we release
34
+
35
+ - [The Buzz Dataset](https://huggingface.co/datasets/tempbuzz/Buzz)
36
+ - [Buzz-2.5b-Small](https://huggingface.co/tempbuzz/buzz-Buzz-2.5b-Small)
37
+ - [Buzz-8B-Large](https://huggingface.co/tempbuzz/Lab-AI/Buzz-8B-Large)
38
+
39
+ ## Features
40
+
41
+ Buzz contains over 500 datasets, deduplicated, with formatting built to maintain and extend compatibility between training types and the current local ecosystem.
42
+
43
+ the datasets within are comprised of various high quality instruction following, conversational, storytelling, and coding datasets, as well as over 5 million new rows of data, in addition to several million reaugmented rows of data, comprising the totality of the learned techniques since our release of [Open-Orca](https://huggingface.co/datasets/Open-Orca/OpenOrca)
44
+
45
+ ## Iterative Fine-Tuning Methodology
46
+
47
+ Our research builds upon the concepts introduced in several key papers, including:
48
+
49
+ - [Simple and Scalable Strategies to Continually Pre-train Large Language Models](https://arxiv.org/abs/2403.08763)
50
+ - [NEFTune: Noisy Embeddings Improve Instruction Finetuning](https://arxiv.org/abs/2310.05914)
51
+ - [An Optimistic Acceleration of AMSGrad for Nonconvex Optimization](https://arxiv.org/abs/1903.01435)
52
+ - [Improving Generalization Performance by Switching from Adam to SGD](https://arxiv.org/abs/1712.07628)
53
+ - [Orca: Progressive Learning from Complex Explanation Traces of GPT-4](https://arxiv.org/abs/2306.02707v1)
54
+
55
+ By combining high quality data, iterative fine-tuning with carefully selected "grounding" distributions from previous epochs, we have developed a cost-effective approach that pushes the boundaries of model reuse and optimization.
56
+
57
+ ## notably, we observe that training on a single epoch of high quality in domain data can still achieve remarkably low loss values before overfitting.
58
+
59
+
60
+ ## Data structure and formatting
61
+ buzz should be out of the box compatible with the sharegpt type in Axolotl and lmsys' FastChat during training
62
+ it containsthe following structure
63
+
64
+
65
+ ```
66
+ {
67
+ "source": "string containing the source dataset",
68
+ "stack": "chosen/rejected for RL techniques",
69
+ "question_index": optional row, only contained in DPO specific dataset to match dpo pairs - int64
70
+ "conversations": [
71
+ {
72
+ "from": "system",
73
+ "value": "an initial system prompt or user query, may or may not be present depending on the row"
74
+ },
75
+ {
76
+ "from": "human or system",
77
+ "value": "an initial 'human' query"
78
+ },
79
+ {
80
+ "from": "gpt",
81
+ "value": "a response to the previous turn, may be followed by additional human/gpt alternations"
82
+ }
83
+ ]
84
+ }
85
+
86
+
87
+ ```
88
+ ## Conclusion
89
+
90
+ We intend to focus on *updating* and improving the dataset, tools to construct it, and other surrounding open sourced infrastructure. Our next effort will focus on context and implementing the research currently being conducted by [Wing-Lian](https://github.com/winglian), the lead developer of the [Axolotl](https://github.com/OpenAccess-AI-Collective/axolotl) training framework that underpins these experiments. We encourage the community to explore Wing-Lian's work, such as the [Llama-3-8b-64k-PoSE](https://huggingface.co/winglian/Llama-3-8b-64k-PoSE) and [llama-3-8b-256k-PoSE](https://huggingface.co/winglian/llama-3-8b-256k-PoSE) models, which showcase the potential for further advancements in language modeling.
91
+
92
+ Buzz hopes to be a proof of concept, and a toolkit to demonstrate and enable the community in the pursuit of efficient and effective locally run, personally owned, language models. Through collaboration with [Hive Digital Technologies](https://hivedigitaltechnologies.com/) who have enabled us to perform this research, we have demonstrated the immense potential for model reuse and optimization. The Buzz models and dataset are open sourced with [////////].
93
+
94
+ ## Credits
95
+ to the many researchers who have open sourced their knowledge and tools to allow us to pursue this,
96
+
97
+ to [Hive Digital Technologies](https://hivedigitaltechnologies.com/) for providing compute, advice, and meaningful research insight.
98
+
99
+ to [Meta](https://llama.meta.com) for developing the Llama models, and maintaining a philosophy of supporting open research and open source.
100
+
101
+ To wing et al. with [Open Access AI Collective](https://github.com/OpenAccess-AI-Collective) for developing [axolotl](https://github.com/OpenAccess-AI-Collective/axolotl), assisting with research, and generally being geniuses.
102
+
103
+ to [Thomas Capelle](https://wandb.ai/capecape) et al. working on [LLM_Surgery](https://wandb.ai/llm_surgery)
104
+
105
+
106
+ as well as many, many others who are too numerous to name.
107
+
108
+
109
+
110
+ # Citations
111
+ ```
112
+ @misc{ibrahim2024simple,
113
+ title={Simple and Scalable Strategies to Continually Pre-train Large Language Models},
114
+ author={Adam Ibrahim and Benjamin Thérien and Kshitij Gupta and Mats L. Richter and Quentin Anthony and Timothée Lesort and Eugene Belilovsky and Irina Rish},
115
+ year={2024},
116
+ eprint={2403.08763},
117
+ archivePrefix={arXiv},
118
+ primaryClass={cs.LG}
119
+ }
120
+
121
+ @misc{jain2023neftune,
122
+ title={NEFTune: Noisy Embeddings Improve Instruction Finetuning},
123
+ author={Neel Jain and Ping-yeh Chiang and Yuxin Wen and John Kirchenbauer and Hong-Min Chu and Gowthami Somepalli and Brian R. Bartoldson and Bhavya Kailkhura and Avi Schwarzschild and Aniruddha Saha and Micah Goldblum and Jonas Geiping and Tom Goldstein},
124
+ year={2023},
125
+ eprint={2310.05914},
126
+ archivePrefix={arXiv},
127
+ primaryClass={cs.CL}
128
+ }
129
+
130
+ @misc{wang2020optimistic,
131
+ title={An Optimistic Acceleration of AMSGrad for Nonconvex Optimization},
132
+ author={Jun-Kun Wang and Xiaoyun Li and Belhal Karimi and Ping Li},
133
+ year={2020},
134
+ eprint={1903.01435},
135
+ archivePrefix={arXiv},
136
+ primaryClass={stat.ML}
137
+ }
138
+
139
+ @misc{keskar2017improving,
140
+ title={Improving Generalization Performance by Switching from Adam to SGD},
141
+ author={Nitish Shirish Keskar and Richard Socher},
142
+ year={2017},
143
+ eprint={1712.07628},
144
+ archivePrefix={arXiv},
145
+ primaryClass={cs.LG}
146
+ }
147
+
148
+ @misc{mukherjee2023orca,
149
+ title={Orca: Progressive Learning from Complex Explanation Traces of GPT-4},
150
+ author={Subhabrata Mukherjee and Arindam Mitra and Ganesh Jawahar and Sahaj Agarwal and Hamid Palangi and Ahmed Awadallah},
151
+ year={2023},
152
+ eprint={2306.02707},
153
+ archivePrefix={arXiv},
154
+ primaryClass={cs.CL}
155
+ }
156
+ ```