ehartford commited on
Commit
af928a6
1 Parent(s): 108bde7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +94 -0
README.md CHANGED
@@ -2,4 +2,98 @@
2
  license: other
3
  license_name: microsoft-research-license
4
  license_link: LICENSE
 
 
 
 
 
 
 
 
 
 
5
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  license: other
3
  license_name: microsoft-research-license
4
  license_link: LICENSE
5
+ datasets:
6
+ - ehartford/dolphin
7
+ - jondurbin/airoboros-2.2.1
8
+ - ehartford/dolphin-coder
9
+ - teknium/openhermes
10
+ - ise-uiuc/Magicoder-OSS-Instruct-75K
11
+ - ise-uiuc/Magicoder-Evol-Instruct-110K
12
+ - LDJnr/Capybara
13
+ language:
14
+ - en
15
  ---
16
+
17
+ Dolphin 2.6 Phi-2 🐬
18
+
19
+
20
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/63111b2d88942700629f5771/ldkN1J0WIDQwU4vutGYiD.png" width="600" />
21
+
22
+ This model's training was sponsored by [convai](https://www.convai.com/).
23
+
24
+ This model is based on Phi-2 and is governed by Microsoft's microsoft-research-license which is Non-Commercial.
25
+
26
+ trust_remote_code is required.
27
+
28
+ New in 2.6
29
+ - Fixed a training configuration issue that improved the quality a lot
30
+ - Due to popular demand, added back samantha-based empathy data
31
+ - Replaced synthia and pure-dove with Capybara
32
+
33
+ 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
34
+ You are responsible for any content you create using this model. Enjoy responsibly.
35
+
36
+ ## Training
37
+ It took 2 days to train 3 epochs on 4x A100s using qLoRA and Axolotl
38
+
39
+ Prompt format:
40
+ This model uses ChatML prompt format.
41
+ ```
42
+ <|im_start|>system
43
+ You are Dolphin, a helpful AI assistant.<|im_end|>
44
+ <|im_start|>user
45
+ {prompt}<|im_end|>
46
+ <|im_start|>assistant
47
+
48
+ ```
49
+
50
+ Example:
51
+ ```
52
+ <|im_start|>system
53
+ You are a helpful AI assistant<|im_end|>
54
+ <|im_start|>user
55
+ Please give ideas and a detailed plan about how to assemble and train an army of dolphin companions to swim me anywhere I want to go and protect me from my enemies and bring me fish to eat.<|im_end|>
56
+ <|im_start|>assistant
57
+ Assembling, training, and utilizing dolphins as your companions for transportation, protection, and fishing is no small task. However, with careful planning and execution, it can be accomplished. Here's a detailed guide on how to achieve this:
58
+
59
+ 1. **Acquiring Dolphins**: Finding dolphins isn't easy, but you could potentially find them in the wild or at aquariums. For ethical reasons, we suggest acquiring adult dolphins that have been born into captivity. They may not have had as much exposure to humans as their wild counterparts, which makes them easier to handle.
60
+
61
+ 2. **Creating a Safe Environment**: Build a large pool or enclosure where these dolphins can live comfortably while you train them. It should mimic their natural environment as closely as possible. Include elements like rocks (for resting), seaweed (for hiding), and water currents (to simulate ocean conditions).
62
+
63
+ 3. **Training Sessions**: Begin by teaching basic commands such as "come", "stay", "sit", "roll over". Use positive reinforcement methods like treats and praise to encourage good behavior. Be patient; dolphins are intelligent creatures who need time to understand what they're being asked to do.
64
+
65
+ 4. **Transportation Training**: Once your dolphins have mastered basic commands, start integrating travel into the mix. Place floating objects around the pool to represent different destinations. The goal here would be to get your dolphins to recognize these items and associate them with specific locations. Start with short trips and gradually increase the distance.
66
+
67
+ 5. **Protection Skills**: To teach them protective skills, introduce simulated threats into the pool. This might involve using inflatable obstacles or having another trained animal pretend to attack. The dolphins will learn to react appropriately to these situations.
68
+
69
+ 6. **Fishing Skills**: Teaching dolphins to catch fish involves introducing nets or toys into the pool and encouraging them to use their mouths to retrieve the object. Reward them when they successfully catch something.
70
+
71
+ 7. **Socialization**: Dolphins thrive in social environments so ensure they spend plenty of time interacting with each other during their training sessions. This can help reduce stress levels and make training more effective.
72
+
73
+ 8. **Dietary Needs**: Dolphins require a diet high in protein, fats, and minerals. Feed them fish rich in these nutrients several times per day. If necessary, consult with a marine biologist or veterinarian experienced in aquatic diets for advice.
74
+
75
+ ```
76
+
77
+ ## Gratitude
78
+ - This model was made possible by the generous sponsorship of [Convai](https://www.convai.com/).
79
+ - Huge thank you to [MistralAI](https://mistral.ai/) for training and publishing the weights of Mixtral-8x7b
80
+ - Thank you to Microsoft for authoring the Orca paper and inspiring this work.
81
+ - HUGE Thank you to the dataset authors: @jondurbin, @ise-uiuc, @teknium, @LDJnr and @migtissera
82
+ - And HUGE thanks to @winglian and the Axolotl contributors for making the best training framework!
83
+ - [<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)
84
+ - Thank you to all the other people in the Open Source AI community who have taught me and helped me along the way.
85
+
86
+ ## Example Output
87
+
88
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/63111b2d88942700629f5771/u-QpmJYgmwym0C8gorXzh.png)
89
+
90
+ ## Future Plans
91
+ Dolphin 3.0 dataset is in progress, and will include:
92
+ - enhanced general chat use-cases
93
+ - enhanced structured output
94
+ - enhanced Agent cases like Autogen, Memgpt, Functions
95
+ - enhanced role-playing
96
+
97
+ [If you would like to financially support my efforts](https://ko-fi.com/erichartford)
98
+
99
+ [swag](https://fa7113.myshopify.com/)