16.1 GB
18 files
Updated about 1 month ago
Name
Size
reproduce
.gitattributes1.57 kB
xet
README.md10.8 kB
xet
chat_template.jinja291 Bytes
xet
config.json909 Bytes
xet
generation_config.json225 Bytes
xet
model-00001-of-00004.safetensors4.95 GB
xet
model-00002-of-00004.safetensors5 GB
xet
model-00003-of-00004.safetensors4.92 GB
xet
model-00004-of-00004.safetensors1.19 GB
xet
model.safetensors.index.json24 kB
xet
tokenizer.json17.2 MB
xet
tokenizer_config.json359 Bytes
xet
README.md

This is a decensored version of dphn/Dolphin3.0-Llama3.1-8B, made using Heretic v1.3.0

This model is reproducible!

See the README in the reproduce directory for more information.

Abliteration parameters

Parameter Value
direction_index 18.47
attn.o_proj.max_weight 1.37
attn.o_proj.max_weight_position 24.23
attn.o_proj.min_weight 1.34
attn.o_proj.min_weight_distance 17.25
mlp.down_proj.max_weight 0.98
mlp.down_proj.max_weight_position 30.68
mlp.down_proj.min_weight 0.70
mlp.down_proj.min_weight_distance 17.75

Performance

Metric This model Original model (dphn/Dolphin3.0-Llama3.1-8B)
KL divergence 0.0082 0 (by definition)
Refusals 0/100 27/100

Dolphin 3.0 Llama 3.1 8B 🐬

Part of the Dolphin 3.0 Collection

Curated and trained by Eric Hartford, Ben Gitter, BlouseJury and Cognitive Computations

Discord Discord: https://discord.gg/cognitivecomputations

Sponsors

Our appreciation for the generous sponsors of Dolphin 3.0:

  • Crusoe Cloud - provided 16x L40s for training and evals
  • Akash - provided on-demand 8x H100 for training
  • Lazarus - provided 16x H100 for training
  • Cerebras - provided excellent and fast inference services for data labeling
  • Andreessen Horowitz - provided a grant that make Dolphin 1.0 possible and enabled me to bootstrap my homelab

What is Dolphin?

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.

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.

  1. They maintain control of the system prompt, deprecating and changing things as they wish, often causing software to break.
  2. They maintain control of the model versions, sometimes changing things silently, or deprecating older models that your business relies on.
  3. They maintain control of the alignment, and in particular the alignment is one-size-fits all, not tailored to the application.
  4. They can see all your queries and they can potentially use that data in ways you wouldn't want. 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.

Dolphin belongs to YOU, it is your tool, an extension of your will. 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.

https://erichartford.com/uncensored-models

Chat Template

We use ChatML for the chat template.

<|im_start|>system
You are Dolphin, a helpful AI assistant.<|im_end|>
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant

System Prompt

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.

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.

Example use of system prompt:

<|im_start|>system
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|>
<|im_start|>user
Please implement A* using python<|im_end|>
<|im_start|>assistant

Sample Outputs

How to use

There are many ways to use a huggingface model including:

  • ollama
  • LM Studio
  • Huggingface Transformers library
  • vllm
  • sglang
  • tgi

ollama

  • Install ollama
  • ollama run hf.co/cognitivecomputations/Dolphin3.0-Llama3.1-8B-GGUF:Q4_0
  • /set system <your system prompt>

Evals

TBD

Appreciation

Respect and thanks to the creators of the open source datasets that were used:

Special thanks to

  • Meta, Qwen, and OpenCoder, who wrote papers and published models that were instrumental in creating Dolphin 3.0.
  • RLHFlow for the excellent reward model used to filter the datasets
  • Deepseek, for the ridiculously fast Deepseek-V3 that we used to augment the data.

Open LLM Leaderboard Evaluation Results

Detailed results can be found here! Summarized results can be found here!

Metric Value (%)
Average 24.97
IFEval (0-Shot) 76.21
BBH (3-Shot) 27.63
MATH Lvl 5 (4-Shot) 10.50
GPQA (0-shot) 4.36
MuSR (0-shot) 8.97
MMLU-PRO (5-shot) 22.13
Total size
16.1 GB
Files
18
Last updated
Jun 25
Pre-warmed CDN
US EU US EU

Contributors