ehartford commited on
Commit
6bc4969
·
verified ·
1 Parent(s): ab03e8f

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +119 -0
README.md ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ license_link: https://huggingface.co/Qwen/Qwen2.5-1.5B/blob/main/LICENSE
4
+ datasets:
5
+ - OpenCoder-LLM/opc-sft-stage1
6
+ - OpenCoder-LLM/opc-sft-stage2
7
+ - microsoft/orca-agentinstruct-1M-v1
8
+ - microsoft/orca-math-word-problems-200k
9
+ - NousResearch/hermes-function-calling-v1
10
+ - AI-MO/NuminaMath-CoT
11
+ - AI-MO/NuminaMath-TIR
12
+ - allenai/tulu-3-sft-mixture
13
+ - cognitivecomputations/dolphin-coder
14
+ - HuggingFaceTB/smoltalk
15
+ - cognitivecomputations/samantha-data
16
+ - m-a-p/CodeFeedback-Filtered-Instruction
17
+ - m-a-p/Code-Feedback
18
+ language:
19
+ - en
20
+ base_model:
21
+ - Qwen/Qwen2.5-0.5B
22
+ ---
23
+
24
+ # Dolphin 3.0 Qwen 2.5 0.5B 🐬
25
+
26
+ Curated and trained by [Eric Hartford](https://huggingface.co/ehartford), [Ben Gitter](https://huggingface.co/bigstorm), [BlouseJury](https://huggingface.co/BlouseJury) and [Cognitive Computations](https://huggingface.co/cognitivecomputations)
27
+
28
+ [![Discord](https://img.shields.io/discord/1156064224225808488?logo=Discord&logoColor=%23ffffff&label=Discord&link=https%3A%2F%2Fdiscord.gg%2FtCMkMDDHwm)](https://discord.gg/cognitivecomputations)
29
+ Discord: https://discord.gg/cognitivecomputations
30
+
31
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/63111b2d88942700629f5771/cNCs1TBD3FelWCJGkZ3cd.png" width="600" />
32
+
33
+ ## Sponsors
34
+ Our appreciation for the generous sponsors of Dolphin 3.0:
35
+ - [Crusoe Cloud](https://crusoe.ai/) - provided 16x L40s for training and evals
36
+ - [Akash](https://akash.network/) - provided on-demand 8x H100 for training
37
+ - [Lazarus](https://www.lazarusai.com/) - provided 16x H100 for training
38
+ - [Cerebras](https://cerebras.ai/) - provided excellent and fast inference services for data labeling
39
+ - [Andreessen Horowitz](https://a16z.com/) - provided a [grant](https://a16z.com/supporting-the-open-source-ai-community/) that make Dolphin 1.0 possible and enabled me to bootstrap my homelab
40
+
41
+ ## What is Dolphin?
42
+
43
+ Dolphin 3.0 is the next generation of the Dolphin series of instruct-tuned models. Designed to be the ultimate general purpose local model, enabling coding, math, agentic, function calling, and general use cases.
44
+
45
+ Dolphin aims to be a general purpose model, similar to the models behind ChatGPT, Claude, Gemini. But these models present problems for businesses seeking to include AI in their products.
46
+ 1) They maintain control of the system prompt, deprecating and changing things as they wish, often causing software to break.
47
+ 2) They maintain control of the model versions, sometimes changing things silently, or deprecating older models that your business relies on.
48
+ 3) They maintain control of the alignment, and in particular the alignment is one-size-fits all, not tailored to the application.
49
+ 4) They can see all your queries and they can potentially use that data in ways you wouldn't want.
50
+ Dolphin, in contrast, is steerable and gives control to the system owner. You set the system prompt. You decide the alignment. You have control of your data. Dolphin does not impose its ethics or guidelines on you. You are the one who decides the guidelines.
51
+
52
+ Dolphin belongs to YOU, it is your tool, an extension of your will.
53
+ Just as you are personally responsible for what you do with a knife, gun, fire, car, or the internet, you are the creator and originator of any content you generate with Dolphin.
54
+
55
+ https://erichartford.com/uncensored-models
56
+
57
+ ## Chat Template
58
+
59
+ We use ChatML for the chat template.
60
+
61
+ ```
62
+ <|im_start|>system
63
+ You are Dolphin, a helpful AI assistant.<|im_end|>
64
+ <|im_start|>user
65
+ {prompt}<|im_end|>
66
+ <|im_start|>assistant
67
+ ```
68
+
69
+ ## System Prompt
70
+
71
+ In Dolphin, the system prompt is what you use to set the tone and alignment of the responses. You can set a character, a mood, rules for its behavior, and it will try its best to follow them.
72
+
73
+ Make sure to set the system prompt in order to set the tone and guidelines for the responses - Otherwise, it will act in a default way that might not be what you want.
74
+
75
+ Example use of system prompt:
76
+
77
+ ```
78
+ <|im_start|>system
79
+ You are Dolphin, a golang coding assistant. you only code in golang. If the user requests any other programming language, return the solution in golang instead.<|im_end|>
80
+ <|im_start|>user
81
+ Please implement A* using python<|im_end|>
82
+ <|im_start|>assistant
83
+ ```
84
+
85
+ ## Sample Outputs
86
+
87
+ TBD
88
+
89
+ ## How to use
90
+
91
+ There are many ways to use a huggingface model including:
92
+ - ollama
93
+ - LM Studio
94
+ - Huggingface Transformers library
95
+ - vllm
96
+ - sglang
97
+ - tgi
98
+
99
+ ## Evals
100
+
101
+ TBD
102
+
103
+ ## Appreciation
104
+
105
+ Respect and thanks to the creators of the open source datasets that were used:
106
+ - [OpenCoder-LLM](https://huggingface.co/OpenCoder-LLM) (opc-sft-stage1, opc-sft-stage2)
107
+ - [microsoft](https://huggingface.co/OpenCoder-LLM) (orca-agentinstruct-1M-v1, orca-math-word-problems-200k)
108
+ - [NousResearch](https://huggingface.co/NousResearch) (hermes-function-calling-v1)
109
+ - [AI-MO](https://huggingface.co/AI-MO) (NuminaMath-CoT, NuminaMath-TIR)
110
+ - [allenai](https://huggingface.co/allenai) (tulu-3-sft-mixture)
111
+ - [HuggingFaceTB](https://huggingface.co/HuggingFaceTB) (smoltalk)
112
+ - [m-a-p](https://huggingface.co/m-a-p) (CodeFeedback-Filtered-Instruction, Code-Feedback)
113
+
114
+ Special thanks to
115
+ - Meta, Qwen, and OpenCoder, who wrote papers and published models that were instrumental in creating Dolphin 3.0.
116
+ - [RLHFlow](https://huggingface.co/RLHFlow) for the excellent reward model used to filter the datasets
117
+ - Deepseek, for the ridiculously fast Deepseek-V3 that we used to augment the data.
118
+
119
+