Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
datasets:
|
3 |
+
- cognitivecomputations/dolphin
|
4 |
+
- jondurbin/airoboros-2.2.1
|
5 |
+
- cognitivecomputations/dolphin-coder
|
6 |
+
- teknium/openhermes
|
7 |
+
- ise-uiuc/Magicoder-OSS-Instruct-75K
|
8 |
+
- ise-uiuc/Magicoder-Evol-Instruct-110K
|
9 |
+
- m-a-p/Code-Feedback
|
10 |
+
- m-a-p/CodeFeedback-Filtered-Instruction
|
11 |
+
- microsoft/orca-math-word-problems-200k
|
12 |
+
language:
|
13 |
+
- en
|
14 |
+
license: bigcode-openrail-m
|
15 |
+
---
|
16 |
+
|
17 |
+
DolphinCoder StarCoder2 7b 🐬
|
18 |
+
|
19 |
+
sponsored by [latitude.sh](https://www.latitude.sh/).
|
20 |
+
|
21 |
+
Join our Discord! https://discord.gg/cognitivecomputations
|
22 |
+
|
23 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/63111b2d88942700629f5771/ldkN1J0WIDQwU4vutGYiD.png" width="600" />
|
24 |
+
|
25 |
+
This model is based on StarCoder2-7b and is subject to bigcode-openrail-m license.
|
26 |
+
|
27 |
+
This Dolphin is *really good* at coding, I trained with a lot of coding data.
|
28 |
+
|
29 |
+
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
|
30 |
+
You are responsible for any content you create using this model. Enjoy responsibly.
|
31 |
+
|
32 |
+
## Training
|
33 |
+
It took 2 days to train 3 epochs on 8x L40S's using qLoRA and Axolotl
|
34 |
+
|
35 |
+
Prompt format:
|
36 |
+
This model uses ChatML prompt format.
|
37 |
+
```
|
38 |
+
<|im_start|>system
|
39 |
+
You are DolphinCoder, a helpful AI programming assistant.<|im_end|>
|
40 |
+
<|im_start|>user
|
41 |
+
{prompt}<|im_end|>
|
42 |
+
<|im_start|>assistant
|
43 |
+
|
44 |
+
```
|
45 |
+
|
46 |
+
Example:
|
47 |
+
```
|
48 |
+
<|im_start|>system
|
49 |
+
You are DolphinCoder, a master at software engineering and coding in any programming language.
|
50 |
+
<|im_start|>user
|
51 |
+
Please write me a program in golang that parses all the lines in a file, and reverses them character-wise, and saves it to a new file.
|
52 |
+
<|im_start|>assistant
|
53 |
+
```
|
54 |
+
|
55 |
+
## Quantized models
|
56 |
+
|
57 |
+
- [gguf](https://huggingface.co/dagbs/dolphincoder-starcoder2-15b-GGUF)
|
58 |
+
|
59 |
+
- [ExLlamaV2](https://huggingface.co/bartowski/dolphincoder-starcoder2-15b-exl2)
|
60 |
+
|
61 |
+
## Gratitude
|
62 |
+
- This model was made possible by the generous sponsorship of [latitude.sh](https://www.latitude.sh/).
|
63 |
+
- Huge thank you to [BigCode](https://www.bigcode-project.org/) for training and publishing the weights of StarCoder2
|
64 |
+
- HUGE Thank you to the dataset authors: @ise-uiuc, @teknium, @m-a-p
|
65 |
+
- And HUGE thanks to @winglian 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 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/63111b2d88942700629f5771/9Yhoy6PYoreqX8KocaDWb.png)
|
72 |
+
|
73 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/63111b2d88942700629f5771/lz0fXODictCmW5pNultqq.png)
|
74 |
+
|
75 |
+
[If you would like to financially support my efforts](https://ko-fi.com/erichartford)
|
76 |
+
|
77 |
+
[swag](https://fa7113.myshopify.com/)
|