Instructions to use TheBloke/dolphin-2_2-yi-34b-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TheBloke/dolphin-2_2-yi-34b-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TheBloke/dolphin-2_2-yi-34b-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use TheBloke/dolphin-2_2-yi-34b-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf TheBloke/dolphin-2_2-yi-34b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf TheBloke/dolphin-2_2-yi-34b-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf TheBloke/dolphin-2_2-yi-34b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf TheBloke/dolphin-2_2-yi-34b-GGUF:Q4_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 TheBloke/dolphin-2_2-yi-34b-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf TheBloke/dolphin-2_2-yi-34b-GGUF:Q4_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 TheBloke/dolphin-2_2-yi-34b-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf TheBloke/dolphin-2_2-yi-34b-GGUF:Q4_K_M
Use Docker
docker model run hf.co/TheBloke/dolphin-2_2-yi-34b-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use TheBloke/dolphin-2_2-yi-34b-GGUF with Ollama:
ollama run hf.co/TheBloke/dolphin-2_2-yi-34b-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use TheBloke/dolphin-2_2-yi-34b-GGUF with Docker Model Runner:
docker model run hf.co/TheBloke/dolphin-2_2-yi-34b-GGUF:Q4_K_M
- Lemonade
How to use TheBloke/dolphin-2_2-yi-34b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull TheBloke/dolphin-2_2-yi-34b-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.dolphin-2_2-yi-34b-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload README.md
Browse files
README.md
CHANGED
|
@@ -322,8 +322,8 @@ You can load it as follows:
|
|
| 322 |
|
| 323 |
```
|
| 324 |
from transformers import LlamaForCausalLM, AutoTokenizer
|
| 325 |
-
tokenizer = AutoTokenizer.from_pretrained("ehartford/dolphin-
|
| 326 |
-
model = LlamaForCausalLM.from_pretrained("ehartford/dolphin-
|
| 327 |
```
|
| 328 |
|
| 329 |
New in 2.2 is conversation and empathy. With an infusion of curated Samantha and WizardLM DNA, Dolphin can now give you personal advice and will care about your feelings, and with extra training in long multi-turn conversation.
|
|
|
|
| 322 |
|
| 323 |
```
|
| 324 |
from transformers import LlamaForCausalLM, AutoTokenizer
|
| 325 |
+
tokenizer = AutoTokenizer.from_pretrained("ehartford/dolphin-2_2-yi-34b", trust_remote_code=True)
|
| 326 |
+
model = LlamaForCausalLM.from_pretrained("ehartford/dolphin-2_2-yi-34b")
|
| 327 |
```
|
| 328 |
|
| 329 |
New in 2.2 is conversation and empathy. With an infusion of curated Samantha and WizardLM DNA, Dolphin can now give you personal advice and will care about your feelings, and with extra training in long multi-turn conversation.
|