ehartford commited on
Commit
3943243
·
verified ·
1 Parent(s): fd36ed8

Create README.md

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