Instructions to use QuantFactory/dolphin-2.9-llama3-70b-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use QuantFactory/dolphin-2.9-llama3-70b-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="QuantFactory/dolphin-2.9-llama3-70b-GGUF", filename="dolphin-2.9-llama3-70b.Q5_K_M.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 QuantFactory/dolphin-2.9-llama3-70b-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf QuantFactory/dolphin-2.9-llama3-70b-GGUF:Q5_K_M # Run inference directly in the terminal: llama-cli -hf QuantFactory/dolphin-2.9-llama3-70b-GGUF:Q5_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf QuantFactory/dolphin-2.9-llama3-70b-GGUF:Q5_K_M # Run inference directly in the terminal: llama-cli -hf QuantFactory/dolphin-2.9-llama3-70b-GGUF:Q5_K_M
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 QuantFactory/dolphin-2.9-llama3-70b-GGUF:Q5_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/dolphin-2.9-llama3-70b-GGUF:Q5_K_M
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 QuantFactory/dolphin-2.9-llama3-70b-GGUF:Q5_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/dolphin-2.9-llama3-70b-GGUF:Q5_K_M
Use Docker
docker model run hf.co/QuantFactory/dolphin-2.9-llama3-70b-GGUF:Q5_K_M
- LM Studio
- Jan
- vLLM
How to use QuantFactory/dolphin-2.9-llama3-70b-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "QuantFactory/dolphin-2.9-llama3-70b-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": "QuantFactory/dolphin-2.9-llama3-70b-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/QuantFactory/dolphin-2.9-llama3-70b-GGUF:Q5_K_M
- Ollama
How to use QuantFactory/dolphin-2.9-llama3-70b-GGUF with Ollama:
ollama run hf.co/QuantFactory/dolphin-2.9-llama3-70b-GGUF:Q5_K_M
- Unsloth Studio new
How to use QuantFactory/dolphin-2.9-llama3-70b-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 QuantFactory/dolphin-2.9-llama3-70b-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 QuantFactory/dolphin-2.9-llama3-70b-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for QuantFactory/dolphin-2.9-llama3-70b-GGUF to start chatting
- Docker Model Runner
How to use QuantFactory/dolphin-2.9-llama3-70b-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/dolphin-2.9-llama3-70b-GGUF:Q5_K_M
- Lemonade
How to use QuantFactory/dolphin-2.9-llama3-70b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/dolphin-2.9-llama3-70b-GGUF:Q5_K_M
Run and chat with the model
lemonade run user.dolphin-2.9-llama3-70b-GGUF-Q5_K_M
List all available models
lemonade list
Dolphin 2.9 Llama 3 70b -GGUF 🐬
- This is quantized version of cognitivecomputations/dolphin-2.9-llama3-70b created using llama.cpp
Model Description
Curated and trained by Eric Hartford, Lucas Atkins, Fernando Fernandes, and with help from the community of Cognitive Computations
A bug has been found in the Dolphin 2.9 dataset in SystemConversations that causes the model to overly talk about the "SYSTEM MESSAGE". To counter this, we recommend you add a statement in the system message directing the model not to mention the system message. An example system message is "The assistant is named Dolphin. A helpful and friendly AI assistant, Dolphin avoids discussing the system message unless directly asked about it."
Our appreciation for the sponsors of Dolphin 2.9:
- Crusoe Cloud - provided excellent on-demand 8xH100 node
This model is based on Llama-3-70b, and is governed by META LLAMA 3 COMMUNITY LICENSE AGREEMENT
The base model has 8k context, and the qLoRA fine-tuning was with 8k sequence length.
It took 2.5 days on 8xH100 node provided by Crusoe Cloud
This model uses ChatML prompt template format.
example:
<|im_start|>system
You are Dolphin, a helpful AI assistant.<|im_end|>
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant
Dolphin-2.9 has a variety of instruction, conversational, and coding skills. It also has initial agentic abilities and supports function calling.
Dolphin is uncensored. I have filtered the dataset to remove alignment and bias. This makes the model more compliant. You are advised to implement your own alignment layer before exposing the model as a service. It will be highly compliant with any requests, even unethical ones. Please read my blog post about uncensored models. https://erichartford.com/uncensored-models You are responsible for any content you create using this model. Enjoy responsibly.
Dolphin is licensed according to Meta's Llama license. I grant permission for any use, including commercial, that falls within accordance with Meta's Llama-3 license. Dolphin was trained on data generated from GPT4, among other models.
Evals
- Downloads last month
- 103
5-bit
8-bit
Model tree for QuantFactory/dolphin-2.9-llama3-70b-GGUF
Base model
dphn/dolphin-2.9-llama3-70b