ehartford commited on
Commit
3436800
·
verified ·
1 Parent(s): 9a72832

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +118 -0
README.md ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets:
3
+ - cognitivecomputations/dolphin-r1
4
+ - OpenCoder-LLM/opc-sft-stage1
5
+ - OpenCoder-LLM/opc-sft-stage2
6
+ - microsoft/orca-agentinstruct-1M-v1
7
+ - microsoft/orca-math-word-problems-200k
8
+ - NousResearch/hermes-function-calling-v1
9
+ - AI-MO/NuminaMath-CoT
10
+ - AI-MO/NuminaMath-TIR
11
+ - allenai/tulu-3-sft-mixture
12
+ - cognitivecomputations/dolphin-coder
13
+ - HuggingFaceTB/smoltalk
14
+ - cognitivecomputations/samantha-data
15
+ - m-a-p/CodeFeedback-Filtered-Instruction
16
+ - m-a-p/Code-Feedback
17
+ language:
18
+ - en
19
+ base_model:
20
+ - mistralai/Mistral-Small-24B-Base-2501
21
+ ---
22
+
23
+ # Dolphin 3.0 R1 Mistral 24B 🐬
24
+ Part of the [Dolphin 3.0 Collection](https://huggingface.co/collections/cognitivecomputations/dolphin-30-677ab47f73d7ff66743979a3)
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/hdAvdwZiJaLbGmvSZ3wTT.png" width="600" />
32
+
33
+ ## Sponsors
34
+ Our appreciation for the generous sponsors of Dolphin 3.0:
35
+ - [Dria](https://dria.co) https://x.com/driaforall - Inference Sponsor
36
+ - [Chutes](https://chutes.ai) https://x.com/rayon_labs - Compute Sponsor
37
+ - [Crusoe Cloud](https://crusoe.ai/) - Compute Sponsor
38
+ - [Andreessen Horowitz](https://a16z.com/) - provided the [grant](https://a16z.com/supporting-the-open-source-ai-community/) that originally launched Dolphin
39
+
40
+ ## What is Dolphin?
41
+
42
+ Dolphin 3.0 R1 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.
43
+
44
+ The R1 version has been trained for 3 epochs to reason using 800k reasoning traces from the Dolphin-R1 dataset.
45
+
46
+ Dolphin aims to be a general purpose reasoning instruct model, similar to the models behind ChatGPT, Claude, Gemini. But these models present problems for businesses seeking to include AI in their products.
47
+ 1) They maintain control of the system prompt, deprecating and changing things as they wish, often causing software to break.
48
+ 2) They maintain control of the model versions, sometimes changing things silently, or deprecating older models that your business relies on.
49
+ 3) They maintain control of the alignment, and in particular the alignment is one-size-fits all, not tailored to the application.
50
+ 4) They can see all your queries and they can potentially use that data in ways you wouldn't want.
51
+ 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.
52
+
53
+ Dolphin belongs to YOU, it is your tool, an extension of your will.
54
+ 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.
55
+
56
+ https://erichartford.com/uncensored-models
57
+
58
+ ## Chat Template
59
+
60
+ We use ChatML for the chat template.
61
+
62
+ ```
63
+ <|im_start|>system
64
+ You are Dolphin, a helpful AI assistant.<|im_end|>
65
+ <|im_start|>user
66
+ {prompt}<|im_end|>
67
+ <|im_start|>assistant
68
+ ```
69
+
70
+ ## System Prompt
71
+
72
+ 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.
73
+
74
+ 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.
75
+
76
+ Example use of system prompt:
77
+
78
+ ```
79
+ <|im_start|>system
80
+ 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|>
81
+ <|im_start|>user
82
+ Please implement A* using python<|im_end|>
83
+ <|im_start|>assistant
84
+ ```
85
+
86
+ ## Sample Outputs
87
+
88
+ TBD
89
+
90
+ ## How to use
91
+
92
+ There are many ways to use a huggingface model including:
93
+ - ollama
94
+ - LM Studio
95
+ - Huggingface Transformers library
96
+ - vllm
97
+ - sglang
98
+ - tgi
99
+
100
+ ## Evals
101
+
102
+ TBD
103
+
104
+ ## Appreciation
105
+
106
+ Respect and thanks to the creators of the open source datasets that were used:
107
+ - [OpenCoder-LLM](https://huggingface.co/OpenCoder-LLM) (opc-sft-stage1, opc-sft-stage2)
108
+ - [microsoft](https://huggingface.co/OpenCoder-LLM) (orca-agentinstruct-1M-v1, orca-math-word-problems-200k)
109
+ - [NousResearch](https://huggingface.co/NousResearch) (hermes-function-calling-v1)
110
+ - [AI-MO](https://huggingface.co/AI-MO) (NuminaMath-CoT, NuminaMath-TIR)
111
+ - [allenai](https://huggingface.co/allenai) (tulu-3-sft-mixture)
112
+ - [HuggingFaceTB](https://huggingface.co/HuggingFaceTB) (smoltalk)
113
+ - [m-a-p](https://huggingface.co/m-a-p) (CodeFeedback-Filtered-Instruction, Code-Feedback)
114
+
115
+ Special thanks to
116
+ - Meta, Qwen, and OpenCoder, who wrote papers and published models that were instrumental in creating Dolphin 3.0.
117
+ - [RLHFlow](https://huggingface.co/RLHFlow) for the excellent reward model used to filter the datasets
118
+ - Deepseek, for the ridiculously fast Deepseek-V3 that we used to augment the data.