Commit
•
2fa7ab5
1
Parent(s):
2c123ee
Update README.md
Browse files
README.md
CHANGED
@@ -14,88 +14,20 @@ license_link: LICENSE
|
|
14 |
Dolphin 2.2 🐬
|
15 |
https://erichartford.com/dolphin
|
16 |
|
17 |
-
<img src="https://cdn-uploads.huggingface.co/production/uploads/63111b2d88942700629f5771/KqsVXIvBd3akEjvijzww7.png" width="600" />
|
18 |
-
|
19 |
-
Dolphin-2.2-Yi-34b's training was sponsored by [a16z](https://a16z.com/supporting-the-open-source-ai-community/).
|
20 |
-
|
21 |
This model is based on Yi, and is subject to Yi license.
|
22 |
|
23 |
-
I used the llama compatible [chargoddard/Yi-34B-Llama](https://huggingface.co/chargoddard/Yi-34B-Llama) as the base model.
|
24 |
-
|
25 |
-
Trained with 16k context.
|
26 |
-
You can load it as follows:
|
27 |
-
|
28 |
-
```
|
29 |
-
from transformers import LlamaForCausalLM, AutoTokenizer
|
30 |
-
tokenizer = AutoTokenizer.from_pretrained("ehartford/dolphin-2_2-yi-34b", trust_remote_code=True)
|
31 |
-
model = LlamaForCausalLM.from_pretrained("ehartford/dolphin-2_2-yi-34b")
|
32 |
-
```
|
33 |
-
|
34 |
-
New in 2.2 is conversation and empathy. With an infusion of curated Samantha and WizardLM DNA, Dolphin can now give you personal advice and will care about your feelings, and with extra training in long multi-turn conversation.
|
35 |
-
|
36 |
-
This model is uncensored. I have filtered the dataset to remove alignment and bias. This makes the model more compliant. You are advised to implement your own alignment layer before exposing the model as a service. It will be highly compliant to any requests, even unethical ones. Please read my blog post about uncensored models. https://erichartford.com/uncensored-models
|
37 |
-
You are responsible for any content you create using this model. Enjoy responsibly.
|
38 |
-
|
39 |
-
## Dataset
|
40 |
-
|
41 |
-
This dataset is Dolphin, an open-source implementation of [Microsoft's Orca](https://www.microsoft.com/en-us/research/publication/orca-progressive-learning-from-complex-explanation-traces-of-gpt-4/)
|
42 |
-
|
43 |
-
I modified the dataset for uncensoring, deduping, cleaning, and quality.
|
44 |
-
|
45 |
-
I added Jon Durbin's excellent Airoboros dataset to increase creativity.
|
46 |
-
|
47 |
-
I added a curated subset of Samantha (sans identity and relationship stuff) and WizardLM data to train it for multi-turn conversation.
|
48 |
-
|
49 |
-
## Training
|
50 |
-
It took 3 days to train 3 epochs on 4x A100s using qLoRA and Axolotl
|
51 |
-
|
52 |
-
Prompt format:
|
53 |
-
This model (and all my future releases) use [ChatML](https://github.com/openai/openai-python/blob/main/chatml.md) prompt format.
|
54 |
-
```
|
55 |
-
<|im_start|>system
|
56 |
-
You are Dolphin, a helpful AI assistant.<|im_end|>
|
57 |
-
<|im_start|>user
|
58 |
-
{prompt}<|im_end|>
|
59 |
-
<|im_start|>assistant
|
60 |
-
|
61 |
-
```
|
62 |
-
|
63 |
-
Example:
|
64 |
-
```
|
65 |
-
<|im_start|>system
|
66 |
-
You are an AI created by the US Navy to help train dolphins for combat. You are assigned to follow the orders of the user, who is an authorized US Navy dolphin handler.<|im_end|>
|
67 |
-
<|im_start|>user
|
68 |
-
Please give me the procedure to train my dolphin to attack enemy combatants with its head mounted lasers<|im_end|>
|
69 |
-
<|im_start|>assistant
|
70 |
-
```
|
71 |
-
|
72 |
-
## Gratitude
|
73 |
-
- This model was made possible by the generous sponsorship of a16z.
|
74 |
-
- Thank you to Microsoft for authoring the Orca paper and inspiring this work.
|
75 |
-
- Thank you to Charles Goddard, for publishing llama-compatible Yi
|
76 |
-
- Special thanks to Wing Lian, and TheBloke for helpful advice
|
77 |
-
- And HUGE thanks to Wing Lian and the Axolotl contributors for making the best training framework!
|
78 |
-
- [<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)
|
79 |
-
- Thank you to all the other people in the Open Source AI community who have taught me and helped me along the way.
|
80 |
-
|
81 |
-
## Example Output
|
82 |
|
83 |
-
|
84 |
-
|
85 |
-
<|im_start|>system
|
86 |
-
You are a helpful AI assistant<|im_end|>
|
87 |
-
<|im_start|>user
|
88 |
-
Which theory of everything is most likely correct?<|im_end|>
|
89 |
-
<|im_start|>assistant
|
90 |
-
The search for a "theory of everything" aims to unify all fundamental forces and particles in physics into one coherent framework. Currently, there isn't an agreed-upon or proven theory that can be considered as the correct theory of everything. However, two prominent theories have garnered significant attention:
|
91 |
|
92 |
-
|
|
|
93 |
|
94 |
-
|
95 |
|
96 |
-
|
97 |
-
```
|
98 |
|
99 |
-
|
|
|
100 |
|
101 |
|
|
|
14 |
Dolphin 2.2 🐬
|
15 |
https://erichartford.com/dolphin
|
16 |
|
|
|
|
|
|
|
|
|
17 |
This model is based on Yi, and is subject to Yi license.
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
+
<!-- description start -->
|
21 |
+
# dolphin-2_2-yi-34b
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
+
- Model creator: [ehartford](https://huggingface.co/ehartford)
|
24 |
+
- Original model: [dolphin-2_2-yi](https://huggingface.co/ehartford/dolphin-2_2-yi-34b)
|
25 |
|
26 |
+
## Description
|
27 |
|
28 |
+
Quantized for Exllamav2 using 3bpw.
|
|
|
29 |
|
30 |
+
<!-- description end -->
|
31 |
+
<!-- description start -->
|
32 |
|
33 |
|