LDJnr commited on
Commit
54b9dce
1 Parent(s): 5a593d7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +90 -52
README.md CHANGED
@@ -1,72 +1,110 @@
1
  ---
2
- license: other
3
- base_model: larryvrh/Yi-34B-200K-Llamafied
4
  tags:
5
- - generated_from_trainer
6
- model-index:
7
- - name: capybara-v4-yi-34b-200k
8
- results: []
 
 
 
 
9
  ---
10
 
11
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
- should probably proofread and complete it, then remove this comment. -->
13
 
14
- [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
15
- # capybara-v4-yi-34b-200k
16
 
17
- This model is a fine-tuned version of [larryvrh/Yi-34B-200K-Llamafied](https://huggingface.co/larryvrh/Yi-34B-200K-Llamafied) on the None dataset.
18
- It achieves the following results on the evaluation set:
19
- - Loss: 0.3638
20
 
21
- ## Model description
22
 
23
- More information needed
24
 
25
- ## Intended uses & limitations
26
 
27
- More information needed
28
 
29
- ## Training and evaluation data
30
 
31
- More information needed
32
 
33
- ## Training procedure
34
 
35
- ### Training hyperparameters
36
 
37
- The following hyperparameters were used during training:
38
- - learning_rate: 0.0005
39
- - train_batch_size: 1
40
- - eval_batch_size: 1
41
- - seed: 42
42
- - distributed_type: multi-GPU
43
- - num_devices: 8
44
- - gradient_accumulation_steps: 8
45
- - total_train_batch_size: 64
46
- - total_eval_batch_size: 8
47
- - optimizer: Adam with betas=(0.9,0.95) and epsilon=1e-08
48
- - lr_scheduler_type: linear
49
- - lr_scheduler_warmup_steps: 50
50
- - num_epochs: 3
51
 
52
- ### Training results
53
 
54
- | Training Loss | Epoch | Step | Validation Loss |
55
- |:-------------:|:-----:|:----:|:---------------:|
56
- | 0.7201 | 0.31 | 200 | 0.7801 |
57
- | 0.716 | 0.62 | 400 | 0.7240 |
58
- | 0.6128 | 0.93 | 600 | 0.6696 |
59
- | 0.4111 | 1.24 | 800 | 0.6016 |
60
- | 0.415 | 1.55 | 1000 | 0.5395 |
61
- | 0.3293 | 1.86 | 1200 | 0.4782 |
62
- | 0.3271 | 2.17 | 1400 | 0.4272 |
63
- | 0.2672 | 2.49 | 1600 | 0.3925 |
64
- | 0.2129 | 2.8 | 1800 | 0.3638 |
65
 
 
66
 
67
- ### Framework versions
68
 
69
- - Transformers 4.34.1
70
- - Pytorch 2.0.1
71
- - Datasets 2.14.6
72
- - Tokenizers 0.14.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - eng
4
  tags:
5
+ - sft
6
+ - StableLM
7
+ license:
8
+ - mit
9
+ datasets:
10
+ - LDJnr/LessWrong-Amplify-Instruct
11
+ - LDJnr/Pure-Dove
12
+ - LDJnr/Verified-Camel
13
  ---
14
 
15
+ ## **Nous-Capybara-34B V1.9**
 
16
 
17
+ **This is trained on the Yi-34B model with 200K context length, for 3 epochs on the Capybara dataset!**
 
18
 
19
+ The Capybara series is the first Nous collection of models made by fine-tuning mostly on data created by Nous in-house.
 
 
20
 
21
+ We leverage our novel data synthesis technique called Amplify-instruct (Paper coming soon), the seed distribution and synthesis method are comprised of a synergistic combination of top performing existing data synthesis techniques and distributions used for SOTA models such as Airoboros, Evol-Instruct(WizardLM), Orca, Vicuna, Know_Logic, Lamini, FLASK and others, all into one lean holistically formed methodology for the dataset and model. The seed instructions used for the start of synthesized conversations are largely based on highly datasets like Airoboros, Know logic, EverythingLM, GPTeacher and even entirely new seed instructions derived from posts on the website LessWrong, as well as being supplemented with certain in-house multi-turn datasets like Dove(A successor to Puffin).
22
 
23
+ While performing great in it's current state, the current dataset used for fine-tuning is entirely contained within 20K training examples, this is 10 times smaller than many similar performing current models, this is signficant when it comes to scaling implications for our next generation of models once we scale our novel syntheiss methods to significantly more examples.
24
 
25
+ ## Process of creation and special thank yous!
26
 
27
+ This model was fine-tuned by Nous Research as part of the Capybara/Amplify-Instruct project led by Luigi D.(LDJ) (Paper coming soon), as well as significant dataset formation contributions by J-Supha and general compute and experimentation management by Jeffrey Q. during ablations.
28
 
29
+ Special thank you to **A16Z** for sponsoring our training, as well as **Yield Protocol** for their support in financially sponsoring resources during the R&D of this project.
30
 
31
+ ## Thank you to those of you that have indirectly contributed!
32
 
33
+ While most of the tokens within Capybara are newly synthsized and part of datasets like Puffin/Dove, we would like to credit the single-turn datasets we leveraged as seeds that are used to generate the multi-turn data as part of the Amplify-Instruct synthesis.
34
 
35
+ The datasets shown in green below are datasets that we sampled from to curate seeds that are used during Amplify-Instruct synthesis for this project.
36
 
37
+ Datasets in Blue are in-house curations that previously existed prior to Capybara.
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
+ ![Capybara](https://i.imgur.com/yB58OoD.jpeg)
40
 
 
 
 
 
 
 
 
 
 
 
 
41
 
42
+ ## Prompt Format
43
 
44
+ The reccomended model usage is:
45
 
46
+ ```
47
+ USER:
48
+
49
+ ASSISTANT:
50
+ ```
51
+
52
+ ## Mutli-Modality!
53
+
54
+ - We currently have a Multi-modal model based on Capybara V1.9!
55
+ https://huggingface.co/NousResearch/Obsidian-3B-V0.5
56
+ it is currently only available as a 3B sized model but larger versions coming!
57
+
58
+
59
+ ## Notable Features:
60
+
61
+ - Uses Yi-34B model as the base which is trained for 200K context length!
62
+
63
+ - Over 60% of the dataset is comprised of multi-turn conversations.(Most models are still only trained for single-turn conversations and no back and forths!)
64
+
65
+ - Over 1,000 tokens average per conversation example! (Most models are trained on conversation data that is less than 300 tokens per example.)
66
+
67
+ - Able to effectively do complex summaries of advanced topics and studies. (trained on hundreds of advanced difficult summary tasks developed in-house)
68
+
69
+ - Ability to recall information upto late 2022 without internet.
70
+
71
+ - Includes a portion of conversational data synthesized from less wrong posts, discussing very in-depth details and philosophies about the nature of reality, reasoning, rationality, self-improvement and related concepts.
72
+
73
+ ## Example Outputs from Capybara V1.9 7B version! (examples from 34B coming soon):
74
+
75
+ ![Capybara](https://img001.prntscr.com/file/img001/T9yYxR1xQSaK_UGdy3t2Cw.png)
76
+
77
+ ![Capybara](https://img001.prntscr.com/file/img001/DQXqmKbsQQOIcgny1eoGNA.png)
78
+
79
+ ![Capybara](https://img001.prntscr.com/file/img001/85X3L9ZxTsOKo3fUQ7GRVA.png)
80
+
81
+ ## Benchmarks! (Coming soon!)
82
+
83
+
84
+ ## Future model sizes
85
+
86
+ Capybara V1.9 now currently has a 3B, 7B and 34B size, and we plan to eventually have a 13B and 70B version in the future, as well as a potential 1B version based on phi-1.5 or Tiny Llama.
87
+
88
+ ## How you can help!
89
+
90
+ In the near future we plan on leveraging the help of domain specific expert volunteers to eliminate any mathematically/verifiably incorrect answers from our training curations.
91
+
92
+ If you have at-least a bachelors in mathematics, physics, biology or chemistry and would like to volunteer even just 30 minutes of your expertise time, please contact LDJ on discord!
93
+
94
+ ## Dataset contamination.
95
+
96
+ We have checked the capybara dataset for contamination for several of the most popular datasets and can confirm that there is no contaminaton found.
97
+
98
+ We leveraged minhash to check for 100%, 99%, 98% and 97% similarity matches between our data and the questions and answers in benchmarks, we found no exact matches, nor did we find any matches down to the 97% similarity level.
99
+
100
+ The following are benchmarks we checked for contamination against our dataset:
101
+
102
+ - HumanEval
103
+
104
+ - AGIEval
105
+
106
+ - TruthfulQA
107
+
108
+ - MMLU
109
+
110
+ - GPT4All