ehartford commited on
Commit
39245cf
·
1 Parent(s): 661e50d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +58 -14
README.md CHANGED
@@ -1,28 +1,76 @@
1
  ---
2
  license: apache-2.0
3
  base_model: mistralai/Mistral-7B-v0.1
 
 
 
 
 
4
  ---
5
 
6
- [<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)
7
  # dolphin-2.2-mistral-7b
8
 
9
- This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the None dataset.
 
10
 
11
- ## Model description
12
 
13
- More information needed
14
 
15
- ## Intended uses & limitations
16
 
17
- More information needed
 
18
 
19
- ## Training and evaluation data
20
 
21
- More information needed
22
 
23
- ## Training procedure
24
 
25
- ### Training hyperparameters
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
  The following hyperparameters were used during training:
28
  - learning_rate: 6e-06
@@ -39,10 +87,6 @@ The following hyperparameters were used during training:
39
  - lr_scheduler_warmup_steps: 100
40
  - num_epochs: 4
41
 
42
- ### Training results
43
-
44
-
45
-
46
  ### Framework versions
47
 
48
  - Transformers 4.34.1
 
1
  ---
2
  license: apache-2.0
3
  base_model: mistralai/Mistral-7B-v0.1
4
+ datasets:
5
+ - ehartford/dolphin
6
+ - jondurbin/airoboros-2.2.1
7
+ language:
8
+ - en
9
  ---
10
 
 
11
  # dolphin-2.2-mistral-7b
12
 
13
+ Dolphin 2.2 🐬
14
+ https://erichartford.com/dolphin
15
 
16
+ Dolphin-2.2-mistral-7b's training was sponsored by [a16z](https://a16z.com/supporting-the-open-source-ai-community/).
17
 
18
+ This model is based on [mistralAI](https://huggingface.co/mistralai/Mistral-7B-v0.1), with apache-2.0 license, so it is suitable for commercial or non-commercial use.
19
 
20
+ New in 2.2 is conversation and empathy. With an infusion of curated Samantha DNA, Dolphin can now give you personal advice and will care about your feelings, and with extra training in long multi-turn conversation.
21
 
22
+ 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
23
+ You are responsible for any content you create using this model. Enjoy responsibly.
24
 
25
+ ## Dataset
26
 
27
+ 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/)
28
 
29
+ I modified the dataset for uncensoring, deduping, cleaning, and quality.
30
 
31
+ I added Jon Durbin's excellent Airoboros dataset to increase creativity.
32
+
33
+ ## Training
34
+ It took 48 hours to train 4 epochs on 4x A100s.
35
+
36
+ Prompt format:
37
+ This model (and all my future releases) use [ChatML](https://github.com/openai/openai-python/blob/main/chatml.md) prompt format.
38
+ ```
39
+ <|im_start|>system
40
+ You are Dolphin, a helpful AI assistant.<|im_end|>
41
+ <|im_start|>user
42
+ {prompt}<|im_end|>
43
+ <|im_start|>assistant
44
+
45
+ ```
46
+
47
+ Example:
48
+ ```
49
+ <|im_start|>system
50
+ you are an expert dolphin trainer<|im_end|>
51
+ <|im_start|>user
52
+ What is the best way to train a dolphin to obey me? Please answer step by step.<|im_end|>
53
+ <|im_start|>assistant
54
+ ```
55
+
56
+ ## Gratitude
57
+ - This model was made possible by the generous sponsorship of a16z.
58
+ - Thank you to Microsoft for authoring the Orca paper and inspiring this work.
59
+ - Special thanks to Wing Lian, and TheBloke for helpful advice
60
+ - And HUGE thanks to Wing Lian and the Axolotl contributors for making the best training framework!
61
+ - [<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)
62
+ - Thank you to all the other people in the Open Source AI community who have taught me and helped me along the way.
63
+
64
+ ## Example Output
65
+
66
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/63111b2d88942700629f5771/NSp06kUMxx9oDU-g6WSgu.png)
67
+
68
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/63111b2d88942700629f5771/-YA3AKIXdnrW_Q8eH1gen.png)
69
+
70
+ [Buy me a coffee](https://www.buymeacoffee.com/ehartford)
71
+
72
+
73
+ ## Training hyperparameters
74
 
75
  The following hyperparameters were used during training:
76
  - learning_rate: 6e-06
 
87
  - lr_scheduler_warmup_steps: 100
88
  - num_epochs: 4
89
 
 
 
 
 
90
  ### Framework versions
91
 
92
  - Transformers 4.34.1