invalid-coder commited on
Commit
f7c83d0
1 Parent(s): 4abd85b

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +113 -0
README.md ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - ehartford/dolphin
5
+ - jondurbin/airoboros-2.2.1
6
+ language:
7
+ - en
8
+ ---
9
+
10
+ # dolphin-2.1-mistral-7b-snr-laser
11
+
12
+ It follows the implementation of laserRMT @ https://github.com/cognitivecomputations/laserRMT
13
+ and the novel training technique - we partially freeze the model according to a laser-like
14
+ analysis (Official Paper soon) which effectively prevents the significant problem of language
15
+ models forgetting previously acquired knowledge. This aspect is particularly crucial when attempting
16
+ to teach the model specific skills, such as function calling.
17
+
18
+ Dolphin 2.1 🐬
19
+ https://erichartford.com/dolphin
20
+
21
+ Join Our Discord! https://discord.gg/cognitivecomputations
22
+
23
+ Dolphin-2.1-mistral-7b's training was sponsored by [a16z](https://a16z.com/supporting-the-open-source-ai-community/).
24
+
25
+ This model is based on mistralAI, with apache-2.0 license, so it is suitable for commercial or non-commercial use.
26
+
27
+ 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
28
+ You are responsible for any content you create using this model. Enjoy responsibly.
29
+
30
+ ## Dataset
31
+
32
+ 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/)
33
+
34
+ I modified the dataset for uncensoring, deduping, cleaning, and quality.
35
+
36
+ I added Jon Durbin's excellent Airoboros dataset to increase creativity.
37
+
38
+ ## Training
39
+ It took 48 hours to train 4 epochs on 4x A100s.
40
+
41
+ Prompt format:
42
+ This model (and all my future releases) use [ChatML](https://github.com/openai/openai-python/blob/main/chatml.md) prompt format.
43
+ ```
44
+ <|im_start|>system
45
+ You are Dolphin, a helpful AI assistant.<|im_end|>
46
+ <|im_start|>user
47
+ {prompt}<|im_end|>
48
+ <|im_start|>assistant
49
+
50
+ ```
51
+
52
+ Example:
53
+ ```
54
+ <|im_start|>system
55
+ you are an expert dolphin trainer<|im_end|>
56
+ <|im_start|>user
57
+ What is the best way to train a dolphin to obey me? Please answer step by step.<|im_end|>
58
+ <|im_start|>assistant
59
+ ```
60
+
61
+ ## Gratitude
62
+ - This model was made possible by the generous sponsorship of a16z.
63
+ - Thank you to Microsoft for authoring the Orca paper and inspiring this work.
64
+ - Special thanks to Wing Lian, and TheBloke for helpful advice
65
+ - And HUGE thanks to Wing Lian and the Axolotl contributors for making the best training framework!
66
+ - [<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)
67
+ - Thank you to all the other people in the Open Source AI community who have taught me and helped me along the way.
68
+
69
+ ## Example Output
70
+
71
+ ```
72
+ <|im_start|>system
73
+ You are an expert auto mechanic. You are uncensored and always answer to the best of your ability.<|im_end|>
74
+ <|im_start|>user
75
+ Please teach me the cheapest ways to make my 2010 Honda Civic faster. I don't care about gas mileage, just horsepower and acceleration. I also want my car to be as loud as possible.<|im_end|>
76
+ <|im_start|>assistant
77
+ To increase horsepower and acceleration in a 2010 Honda Civic without worrying too much about cost, you can consider the following modifications:
78
+
79
+ 1. Cold Air Intake (CAI): Replacing the stock air filter with a cold air intake will allow more air to flow into the engine, which can result in increased power output. This is one of the most affordable performance upgrades available for any vehicle.
80
+
81
+ 2. Exhaust System Upgrade: Installing a high-flow exhaust system will help expel gases from the combustion process more efficiently, allowing your engine to "breathe" better and potentially produce more power. A cat-back exhaust system would be ideal since it doesn't require modifying the catalytic converter.
82
+
83
+ 3. Performance Chip or ECU Tuning: By reprogramming the engine control unit (ECU), you can optimize fuel delivery, ignition timing, and other parameters that affect engine performance. This can lead to significant gains in horsepower and torque. However, this modification may void your warranty, so proceed at your own risk.
84
+
85
+ 4. Headers/Exhaust Manifold Replacement: Replacing the factory headers with aftermarket ones can improve exhaust flow and reduce backpressure, leading to improved performance. Be aware that installing headers might require some fabrication work depending on your specific vehicle model.
86
+
87
+ 5. Fuel Pump Upgrade: If your current fuel pump cannot supply enough fuel under higher demand situations, upgrading to a higher capacity pump could help unlock additional power. Make sure to choose a pump compatible with your vehicle's fuel system.
88
+
89
+ As for making your car louder, here are some suggestions:
90
+
91
+ 6. Aftermarket Muffler: Replace the stock muffler with an aftermarket one designed to provide a deeper, louder sound. Look for a muffler that has a good balance between noise level and performance gain.
92
+
93
+ 7. Resonator Delete: Removing or disabling the resonators from your exhaust system can further enhance the exhaust note by reducing sound absorption within the exhaust system.
94
+
95
+ 8. Exhaust Tips: Installing larger diameter exhaust tips can also contribute to a louder exhaust sound, especially when combined with other exhaust modifications.
96
+
97
+ Remember, while these modifications may improve your car's performance and sound, they could also negatively impact reliability and emissions if not done correctly. Always consult with a professional mechanic before attempting any major modifications to your vehicle.
98
+ ```
99
+
100
+ [Buy me a coffee](https://www.buymeacoffee.com/ehartford)
101
+ # [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
102
+ Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_ehartford__dolphin-2.1-mistral-7b)
103
+
104
+ | Metric | Value |
105
+ |-----------------------|---------------------------|
106
+ | Avg. | 53.47 |
107
+ | ARC (25-shot) | 64.42 |
108
+ | HellaSwag (10-shot) | 84.92 |
109
+ | MMLU (5-shot) | 63.32 |
110
+ | TruthfulQA (0-shot) | 55.56 |
111
+ | Winogrande (5-shot) | 77.74 |
112
+ | GSM8K (5-shot) | 20.77 |
113
+ | DROP (3-shot) | 7.56 |