Instructions to use second-state/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 second-state/Dolphin-2.2-Yi-34B-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="second-state/Dolphin-2.2-Yi-34B-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("second-state/Dolphin-2.2-Yi-34B-GGUF") model = AutoModelForCausalLM.from_pretrained("second-state/Dolphin-2.2-Yi-34B-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use second-state/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 second-state/Dolphin-2.2-Yi-34B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/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 second-state/Dolphin-2.2-Yi-34B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/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 second-state/Dolphin-2.2-Yi-34B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf second-state/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 second-state/Dolphin-2.2-Yi-34B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf second-state/Dolphin-2.2-Yi-34B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/second-state/Dolphin-2.2-Yi-34B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use second-state/Dolphin-2.2-Yi-34B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "second-state/Dolphin-2.2-Yi-34B-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": "second-state/Dolphin-2.2-Yi-34B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/second-state/Dolphin-2.2-Yi-34B-GGUF:Q4_K_M
- SGLang
How to use second-state/Dolphin-2.2-Yi-34B-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 "second-state/Dolphin-2.2-Yi-34B-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": "second-state/Dolphin-2.2-Yi-34B-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 "second-state/Dolphin-2.2-Yi-34B-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": "second-state/Dolphin-2.2-Yi-34B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use second-state/Dolphin-2.2-Yi-34B-GGUF with Ollama:
ollama run hf.co/second-state/Dolphin-2.2-Yi-34B-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use second-state/Dolphin-2.2-Yi-34B-GGUF with Docker Model Runner:
docker model run hf.co/second-state/Dolphin-2.2-Yi-34B-GGUF:Q4_K_M
- Lemonade
How to use second-state/Dolphin-2.2-Yi-34B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull second-state/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
Xin Liu commited on
Commit ·
8a97bfd
1
Parent(s): 053fbcb
Add models
Browse filesSigned-off-by: Xin Liu <sam@secondstate.io>
- dolphin-2_2-yi-34b-Q2_K.gguf +3 -0
- dolphin-2_2-yi-34b-Q3_K_L.gguf +3 -0
- dolphin-2_2-yi-34b-Q3_K_M.gguf +3 -0
- dolphin-2_2-yi-34b-Q3_K_S.gguf +3 -0
- dolphin-2_2-yi-34b-Q4_0.gguf +3 -0
- dolphin-2_2-yi-34b-Q4_K_M.gguf +3 -0
- dolphin-2_2-yi-34b-Q4_K_S.gguf +3 -0
- dolphin-2_2-yi-34b-Q5_0.gguf +3 -0
- dolphin-2_2-yi-34b-Q5_K_M.gguf +3 -0
- dolphin-2_2-yi-34b-Q5_K_S.gguf +3 -0
- dolphin-2_2-yi-34b-Q6_K.gguf +3 -0
- dolphin-2_2-yi-34b-Q8_0.gguf +3 -0
dolphin-2_2-yi-34b-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:629e086b485af85dfd582b8245e47dd85ade50ebb958f93476d1b4876588c66a
|
| 3 |
+
size 12825233760
|
dolphin-2_2-yi-34b-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42f102be2b6bbe09cd9c74b82ddcdd4e2da4802fdfd63aff0938583741b00db4
|
| 3 |
+
size 18139445600
|
dolphin-2_2-yi-34b-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa2f599e94b6c39a212eafa0980934477b0e5c2fe0e16787ce4c0eaac3fba471
|
| 3 |
+
size 16654924128
|
dolphin-2_2-yi-34b-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bacc07846b5f9e06a415e89ada6ca088a510c1b0b51c5d37e551932b1cf1c037
|
| 3 |
+
size 14960294240
|
dolphin-2_2-yi-34b-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7163a00530422c1571da3f3c8f36a9b1768e85c1f0a7571b88069547668456e3
|
| 3 |
+
size 19466529120
|
dolphin-2_2-yi-34b-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc176f61731e5858ea0d53bd5a85f3da73828516fe423c487720cab27102a7f8
|
| 3 |
+
size 20658710880
|
dolphin-2_2-yi-34b-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc59a1d8ca5b7b0d6132452dccdebc1a6005e4b6ac17fcfc73ec8503e58dc058
|
| 3 |
+
size 19598649696
|
dolphin-2_2-yi-34b-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c99c11a7e2eff4b98c3d2f9f150131f8b94a02468c24e50ee68d57586962d1a0
|
| 3 |
+
size 23707691360
|
dolphin-2_2-yi-34b-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28e80a924fae51644f7d869d9ad3eec72bafd28b5f221015e8a56a328847ac19
|
| 3 |
+
size 24321845600
|
dolphin-2_2-yi-34b-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2876e145f275a5566b0798fd6e7301420526f0eeae59d3ad67a330c5080dda79
|
| 3 |
+
size 23707691360
|
dolphin-2_2-yi-34b-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f923dec5de4baed8001a9fe9b7a1dda5fd846062afcdc8b39d4bda61de7bf107
|
| 3 |
+
size 28213926240
|
dolphin-2_2-yi-34b-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f841b9527131e30a7f5bde63bf280f8ff8ceb99dedab014713e5a0d37b29bfd
|
| 3 |
+
size 36542282080
|