Image-Text-to-Text
Transformers
GGUF
English
Chinese
qwen2_5_vl
text-generation-inference
document-parsing
document-understanding
document-intelligence
ocr
layout-analysis
table-extraction
formula-recognition
code-extraction
vision-language-model
multimodal
conversational
Instructions to use prithivMLmods/Dolphin-v2-f32-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Dolphin-v2-f32-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="prithivMLmods/Dolphin-v2-f32-GGUF") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("prithivMLmods/Dolphin-v2-f32-GGUF", dtype="auto") - llama-cpp-python
How to use prithivMLmods/Dolphin-v2-f32-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="prithivMLmods/Dolphin-v2-f32-GGUF", filename="Dolphin-v2.BF16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use prithivMLmods/Dolphin-v2-f32-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf prithivMLmods/Dolphin-v2-f32-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf prithivMLmods/Dolphin-v2-f32-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf prithivMLmods/Dolphin-v2-f32-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf prithivMLmods/Dolphin-v2-f32-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 prithivMLmods/Dolphin-v2-f32-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf prithivMLmods/Dolphin-v2-f32-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 prithivMLmods/Dolphin-v2-f32-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf prithivMLmods/Dolphin-v2-f32-GGUF:Q4_K_M
Use Docker
docker model run hf.co/prithivMLmods/Dolphin-v2-f32-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use prithivMLmods/Dolphin-v2-f32-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/Dolphin-v2-f32-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": "prithivMLmods/Dolphin-v2-f32-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/prithivMLmods/Dolphin-v2-f32-GGUF:Q4_K_M
- SGLang
How to use prithivMLmods/Dolphin-v2-f32-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 "prithivMLmods/Dolphin-v2-f32-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": "prithivMLmods/Dolphin-v2-f32-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "prithivMLmods/Dolphin-v2-f32-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": "prithivMLmods/Dolphin-v2-f32-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Ollama
How to use prithivMLmods/Dolphin-v2-f32-GGUF with Ollama:
ollama run hf.co/prithivMLmods/Dolphin-v2-f32-GGUF:Q4_K_M
- Unsloth Studio
How to use prithivMLmods/Dolphin-v2-f32-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 prithivMLmods/Dolphin-v2-f32-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 prithivMLmods/Dolphin-v2-f32-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for prithivMLmods/Dolphin-v2-f32-GGUF to start chatting
- Pi
How to use prithivMLmods/Dolphin-v2-f32-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf prithivMLmods/Dolphin-v2-f32-GGUF:Q4_K_M
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": "prithivMLmods/Dolphin-v2-f32-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use prithivMLmods/Dolphin-v2-f32-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 prithivMLmods/Dolphin-v2-f32-GGUF:Q4_K_M
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 prithivMLmods/Dolphin-v2-f32-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use prithivMLmods/Dolphin-v2-f32-GGUF with Docker Model Runner:
docker model run hf.co/prithivMLmods/Dolphin-v2-f32-GGUF:Q4_K_M
- Lemonade
How to use prithivMLmods/Dolphin-v2-f32-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull prithivMLmods/Dolphin-v2-f32-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Dolphin-v2-f32-GGUF-Q4_K_M
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +14 -0
- Dolphin-v2.IQ4_XS.gguf +3 -0
- Dolphin-v2.Q2_K.gguf +3 -0
- Dolphin-v2.Q3_K_L.gguf +3 -0
- Dolphin-v2.Q3_K_M.gguf +3 -0
- Dolphin-v2.Q3_K_S.gguf +3 -0
- Dolphin-v2.Q4_K_M.gguf +3 -0
- Dolphin-v2.Q4_K_S.gguf +3 -0
- Dolphin-v2.Q5_K_M.gguf +3 -0
- Dolphin-v2.Q5_K_S.gguf +3 -0
- Dolphin-v2.Q6_K.gguf +3 -0
- Dolphin-v2.Q8_0.gguf +3 -0
- Dolphin-v2.f16.gguf +3 -0
- Dolphin-v2.mmproj-Q8_0.gguf +3 -0
- Dolphin-v2.mmproj-f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,17 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
Dolphin-v2.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Dolphin-v2.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Dolphin-v2.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Dolphin-v2.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Dolphin-v2.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Dolphin-v2.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Dolphin-v2.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Dolphin-v2.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Dolphin-v2.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Dolphin-v2.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Dolphin-v2.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Dolphin-v2.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
Dolphin-v2.mmproj-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
Dolphin-v2.mmproj-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
Dolphin-v2.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77cd9c48485c58a6214c9cfc2b4928ef1803083e9c56a68904ee3a352ab895f6
|
| 3 |
+
size 1753185536
|
Dolphin-v2.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45ebcb604fe3d736b0d651d94e2fd68db5208c7e2d4a69beff266ec42b78f2ad
|
| 3 |
+
size 1274756352
|
Dolphin-v2.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:219f6036dcf9473f0a88a4e9a6c1dcdfd56b602d8f0765cb79755041e7838bc3
|
| 3 |
+
size 1707392256
|
Dolphin-v2.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a240fcd9ef46f45ba9768addf7ad8082ddd809635b01aa49fd20cef801228f97
|
| 3 |
+
size 1590476032
|
Dolphin-v2.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce285dbebcd18f8fe30a6464ab1d45168ddcb0dd0af4924e5a0d654d2b9954ab
|
| 3 |
+
size 1454357760
|
Dolphin-v2.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f671349d768bf5c1cb3e4fe178bf29340035f93d42ee0b80591fed7284bac837
|
| 3 |
+
size 1929903360
|
Dolphin-v2.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6be86f6a04ed9ed24f97b6b97ae017b2ea2fed5a954ba62d2411f44750df8c7b
|
| 3 |
+
size 1834384640
|
Dolphin-v2.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d0306fd83e4bc3edcc3718503035b5e977f9c400361282bdf34106232992a2e
|
| 3 |
+
size 2224815360
|
Dolphin-v2.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:915c60a6c5d87eb77407279e66fea84fdbd12b9ba772cc158106ea838d221689
|
| 3 |
+
size 2169666816
|
Dolphin-v2.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12e9e4b85cd5b5540e63c831103fc72a58b23a492d35aedbbc4e86bd75ff7336
|
| 3 |
+
size 2538159360
|
Dolphin-v2.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fdd687f4e2674081381c0638510a4c59000eb625884686b737e5d1e85050137
|
| 3 |
+
size 3285476608
|
Dolphin-v2.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:417d38c1f1628c968f56bc1e91c2c9d56bb67f416f6d01b071bcdd8e1d985b14
|
| 3 |
+
size 6178317568
|
Dolphin-v2.mmproj-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70601fe3b357271c7bcabbe3174c9b59fb6476055b66eae2ecd22ac5c32a4cef
|
| 3 |
+
size 847768736
|
Dolphin-v2.mmproj-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93432318a84c139068cba0a4c72f572aed88ab1554fe239df748a37267b93913
|
| 3 |
+
size 1338428576
|