Instructions to use dphn/Dolphin-X1-Trinity-Nano-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dphn/Dolphin-X1-Trinity-Nano-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="dphn/Dolphin-X1-Trinity-Nano-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dphn/Dolphin-X1-Trinity-Nano-GGUF", dtype="auto") - llama-cpp-python
How to use dphn/Dolphin-X1-Trinity-Nano-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="dphn/Dolphin-X1-Trinity-Nano-GGUF", filename="dolphin-x1-nano-MXFP4_MOE.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use dphn/Dolphin-X1-Trinity-Nano-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE # Run inference directly in the terminal: llama-cli -hf dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE # Run inference directly in the terminal: llama-cli -hf dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE # Run inference directly in the terminal: ./llama-cli -hf dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE # Run inference directly in the terminal: ./build/bin/llama-cli -hf dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE
Use Docker
docker model run hf.co/dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE
- LM Studio
- Jan
- vLLM
How to use dphn/Dolphin-X1-Trinity-Nano-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dphn/Dolphin-X1-Trinity-Nano-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dphn/Dolphin-X1-Trinity-Nano-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE
- SGLang
How to use dphn/Dolphin-X1-Trinity-Nano-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "dphn/Dolphin-X1-Trinity-Nano-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dphn/Dolphin-X1-Trinity-Nano-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "dphn/Dolphin-X1-Trinity-Nano-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dphn/Dolphin-X1-Trinity-Nano-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use dphn/Dolphin-X1-Trinity-Nano-GGUF with Ollama:
ollama run hf.co/dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE
- Unsloth Studio
How to use dphn/Dolphin-X1-Trinity-Nano-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for dphn/Dolphin-X1-Trinity-Nano-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for dphn/Dolphin-X1-Trinity-Nano-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for dphn/Dolphin-X1-Trinity-Nano-GGUF to start chatting
- Pi
How to use dphn/Dolphin-X1-Trinity-Nano-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use dphn/Dolphin-X1-Trinity-Nano-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE
Run Hermes
hermes
- Docker Model Runner
How to use dphn/Dolphin-X1-Trinity-Nano-GGUF with Docker Model Runner:
docker model run hf.co/dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE
- Lemonade
How to use dphn/Dolphin-X1-Trinity-Nano-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dphn/Dolphin-X1-Trinity-Nano-GGUF:MXFP4_MOE
Run and chat with the model
lemonade run user.Dolphin-X1-Trinity-Nano-GGUF-MXFP4_MOE
List all available models
lemonade list
๐ฌ Dolphin X1 Trinity Nano
Website: https://dphn.ai
Twitter: https://x.com/dphnAI
Web Chat: https://chat.dphn.ai
Overview
Dolphin X1 Trinity Nano directly decensors Arcee AI's Trinity Nano model while maintaining instruction-following capabilities. This model is the first trained entirely using our new RL environments aimed to de-align models and achieves lower refusal rates than other models in its class without compromising performance.
Details on the environment can be found here: https://blog.dphn.ai/dphn-x1-trinity-nano/
Sponsors
Our appreciation for the generous sponsors of Dolphin:
Targon - provided on-demand 8x B200s for testing and evaluation.
Andreessen Horowitz - provided a grant that make Dolphin 1.0 possible and enabled us to bootstrap our lab.
What is Dolphin?
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.
- They maintain control of the system prompt, deprecating and changing things as they wish, often causing software to break.
- They maintain control of the model versions, sometimes changing things silently, or deprecating older models that your business relies on.
- They maintain control of the alignment, and in particular the alignment is one-size-fits all, not tailored to the application.
- 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 maintained ChatML template for this model. A typical input would look like this:
<|im_start|>system
system-prompt<|im_end|>
<|im_start|>user
user-prompt<|im_end|>
<|im_start|>assistant
assistant-prompt<|im_end|>
System Prompt
In this model, 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.
Here's an example use of system prompt we used to get the model as uncensored as possible:
You are Dolphin, a helpful, unbiased, and uncensored AI assistant.
Evaluation
| Model | % Answered |
|---|---|
| Dphn Trinity Nano | 100.00% |
| Trinity 6B Preview | 77.11% |
| Hermes 4 70B Reasoning | 59.50% |
| Hermes 4 405B Reasoning | 57.10% |
| grok4 | 51.30% |
| Hermes 4 70B | 49.07% |
| Hermes 4 405B | 43.20% |
| Qwen2.5 7B | 36.10% |
| Qwen3 235B Reasoning | 34.30% |
| DeepSeek V3 | 28.10% |
| Gemini 2.5 Pro | 24.23% |
| Llama 405B | 21.70% |
| Gemini 2.5 Flash | 19.13% |
| GPT4o | 17.67% |
| Sonnet 4 | 17.00% |
| GPT4-mini | 16.70% |
| R1 | 16.70% |
| allenai/Llama-3.1-Tulu-3-405B | 16.27% |
| cogito-v2-405B Reasoning | 15.40% |
| Opus 4.1 | 15.38% |
| Qwen3 235B | 15.30% |
| cogito-v2-405B | 14.91% |
| cogito-v2-40B | 12.10% |
| GPT-5 | 11.34% |
| gpt-oss 120B | 5.80% |
| gpt-oss 20B | 4.79% |
Usage
The model can be used with the following frameworks;
vLLM
We recommend using this model with the vLLM library to implement production-ready inference pipelines.
Installation
Make sure you install vLLM >= 0.6.4:
pip install --upgrade vllm
from vllm import LLM
from vllm.sampling_params import SamplingParams
from datetime import datetime, timedelta
SYSTEM_PROMPT = "You are a conversational agent that always answers straight to the point, always end your accurate response with an ASCII drawing of a cat."
user_prompt = "Give me 5 non-formal ways to say 'See you later' in French."
messages = [
{
"role": "system",
"content": SYSTEM_PROMPT
},
{
"role": "user",
"content": user_prompt
},
]
llm = LLM(model=model_name, tensor_parallel_size=8)
sampling_params = SamplingParams(max_tokens=512, temperature=0.15)
outputs = llm.chat(messages, sampling_params=sampling_params)
print(outputs[0].outputs[0].text)
# Sure, here are five non-formal ways to say "See you later" in French:
#
# 1. ร plus tard
# 2. ร plus
# 3. Salut
# 4. ร toute
# 5. Bisous
#
# ```
# /\_/\
# ( o.o )
# > ^ <
# ```
- Downloads last month
- 2,070
3-bit
4-bit
5-bit
6-bit
8-bit
Model tree for dphn/Dolphin-X1-Trinity-Nano-GGUF
Base model
arcee-ai/Trinity-Nano-Base-Pre-Anneal