Text Generation
Transformers
Safetensors
llava-qwen2
Generated from Trainer
axolotl
conversational
custom_code
Instructions to use dphn/dolphin-vision-72b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dphn/dolphin-vision-72b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="dphn/dolphin-vision-72b", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("dphn/dolphin-vision-72b", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use dphn/dolphin-vision-72b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dphn/dolphin-vision-72b" # 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-vision-72b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dphn/dolphin-vision-72b
- SGLang
How to use dphn/dolphin-vision-72b 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-vision-72b" \ --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-vision-72b", "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-vision-72b" \ --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-vision-72b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use dphn/dolphin-vision-72b with Docker Model Runner:
docker model run hf.co/dphn/dolphin-vision-72b
Commit History
-
Update README.md
Verified signatureaa9715b
-
Update README.md
Verified signature5f676fc -
Update README.md
Verified signatureb181de0 -
Update README.md
Verified signature1a85fac -
Update README.md
Verified signature4859129
-
Update README.md
Verified signature460daee
-
Update README.md
Verified signature573a037
-
Create dolphin_vision_streamlit.py
Verified signature17c2c06
-
Update config.json
Verified signaturec1cd8b2 -
Update config.json
Verified signaturea1908b8
-
Update generation_config.json
Verified signaturec3866ae -
Update README.md
Verified signaturef76e333 -
Update README.md
Verified signatureee9edb4 -
Update tokenizer_config.json
Verified signature262a558 -
Update README.md
Verified signaturef168474 -
Update README.md
Verified signature500665c -
Update README.md
Verified signature78995b9 -
Update README.md
Verified signature45d0a1d -
Create README.md
Verified signature576c646 -
Update config.json
Verified signature47fa21a -
Upload 2 files
Verified signature84a3326
-
Update config.json
Verified signaturebe4d460
-
Upload folder using huggingface_hub
Verified signature60820c7 -
initial commit
Verified signature8c9bb5e