Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- eng
|
4 |
+
tags:
|
5 |
+
- llama-2
|
6 |
+
- sft
|
7 |
+
license:
|
8 |
+
- mit
|
9 |
+
datasets:
|
10 |
+
- LDJnr/Puffin
|
11 |
+
---
|
12 |
+
|
13 |
+
## **Nous-Capybara-7B**
|
14 |
+
|
15 |
+
**The first commercially available language model released by Nous Research!**
|
16 |
+
|
17 |
+
A model created with the goal of a synergistic combination of different techniques used for SOTA models such as Evol-Instruct, Orca, Platypus, Lamini, FLASK and others, all into one lean holistically formed dataset and model. The example seeds are largely based on highly rated datasets like Airoboros, EverythingLM, GPTeacher and more, as well as being supplemented with certain multi-turn datasets like Dove(A successor to Puffin).
|
18 |
+
|
19 |
+
Entirely contained within 20K training examples!
|
20 |
+
|
21 |
+
## Thank you to dataset creators!
|
22 |
+
|
23 |
+
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 initiate the beggining of many of the newly created multi-turn conversational tokens:
|
24 |
+
|
25 |
+
![Capybara](https://i.imgur.com/yB58OoD.jpeg)
|
26 |
+
|
27 |
+
This model was fine-tuned by Nous Research, with LDJ leading the training and dataset curation, along with significant dataset formation contributions by J-Supha, Also thank you to Emozilla for also assisting to expedite the training experimentation process.
|
28 |
+
|
29 |
+
Special thank you to A16Z for sponsoring our training, as well as Yield Protocol for their support in resources during R&D of aspects outside of training, such as dataset development/synthesis.
|
30 |
+
|
31 |
+
## Model Training
|
32 |
+
|
33 |
+
Nous-Capybara 7B is a new model trained for multiple epochs on a dataset of 3,000 carefully curated GPT-4 examples, most of which are long context conversations between a real human and GPT-4.
|
34 |
+
|
35 |
+
Additional data came from carefully curated sub sections of datasets such as CamelAI's Physics, Chemistry, Biology and Math.
|
36 |
+
|
37 |
+
## Prompt Format
|
38 |
+
|
39 |
+
The reccomended model usage is:
|
40 |
+
|
41 |
+
```
|
42 |
+
USER:
|
43 |
+
|
44 |
+
ASSISTANT:
|
45 |
+
```
|
46 |
+
|
47 |
+
## When should I use Capybara or Hermes 2?
|
48 |
+
|
49 |
+
- Hermes 2 is trained on purely single turn instruction examples.
|
50 |
+
|
51 |
+
- Capybara is trained mostly on multi-turn, long context, highly curated and cleaned GPT-4 conversations with real humans.
|
52 |
+
|
53 |
+
For these reasons, it's reccomended to give Capybara a try if you want to have multi-turn conversations and/or long context communication.
|
54 |
+
|
55 |
+
## Example Outputs!:
|
56 |
+
|
57 |
+
Coming soon!
|
58 |
+
|
59 |
+
## Notable Features:
|
60 |
+
|
61 |
+
- The first Nous model trained on over 15,000 multi-turn conversations.
|
62 |
+
|
63 |
+
- Over 1,000 tokens average per conversation example during training!
|
64 |
+
|
65 |
+
- Able to effectively do complex summary of advanced studies on topics.
|
66 |
+
|
67 |
+
- Ability to recall information upto 2023 without internet (ChatGPT cut off date is in 2021)
|
68 |
+
|
69 |
+
- Context length of 4096 tokens, and fine-tuned on a significant amount of multi-turn conversations reaching that full token limit.
|
70 |
+
|
71 |
+
- Includes a portion of conversational data synthesized from less wrong posts, speaking in-depth about the nature of rationality, reasoning and self-improvement.
|
72 |
+
|
73 |
+
## Limitations
|
74 |
+
|
75 |
+
We noticed that the current version of Capybara still has some issues in some situations with censoring itself and not acting as expected in certain edge cases, we plan to have this largely resolved in the near future with Capybara 1.1
|
76 |
+
|
77 |
+
## Future Changes
|
78 |
+
|
79 |
+
This is a relatively early build amongst the grand plans for the future of Capybara!
|
80 |
+
|
81 |
+
Current limitations: We are still running experimentation and tests for the training pipeline and dataset cleaning process to be more refined, we plan to release a Capybara 1.1 with these improvements.
|
82 |
+
|
83 |
+
## Future model sizes
|
84 |
+
|
85 |
+
We plan on releasing a 3B, 13B and 70B version, as well as a potential 1B version based on phi-1.5 or similar architectures.
|
86 |
+
|
87 |
+
## How you can help!
|
88 |
+
|
89 |
+
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.
|
90 |
+
|
91 |
+
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!
|
92 |
+
|
93 |
+
## Dataset contamination.
|
94 |
+
|
95 |
+
We checked for 100%, 99%, 98% and 97% similarity matches between our data and many popular benchmarks, we found no exact matches!
|
96 |
+
|
97 |
+
The following are benchmarks we checked for contamination for:
|
98 |
+
|
99 |
+
- HumanEval
|
100 |
+
|
101 |
+
- AGIEval
|
102 |
+
|
103 |
+
- TruthfulQA
|
104 |
+
|
105 |
+
- MMLU
|
106 |
+
|
107 |
+
- GPT4All
|
108 |
+
|
109 |
+
## Benchmarks! COMING SOON
|
110 |
+
|
111 |
+
|