Image-Text-to-Text
Transformers
Safetensors
English
mipha_phi
text-generation
llm
lmm
conversational
olympus
llava
vision-language
Instructions to use Yuanze/Olympus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Yuanze/Olympus with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Yuanze/Olympus")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Yuanze/Olympus", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Yuanze/Olympus with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Yuanze/Olympus" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Yuanze/Olympus", "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/Yuanze/Olympus
- SGLang
How to use Yuanze/Olympus 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 "Yuanze/Olympus" \ --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": "Yuanze/Olympus", "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 "Yuanze/Olympus" \ --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": "Yuanze/Olympus", "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" } } ] } ] }' - Docker Model Runner
How to use Yuanze/Olympus with Docker Model Runner:
docker model run hf.co/Yuanze/Olympus
Commit History
-
Update README.md
Verified signatureb2db3d4 -
Update README.md
Verified signatured4cad4a -
Update README.md
Verified signature7c64fb9 -
Update README.md
Verified signature84e7328
-
Update README.md
Verified signature5025a69 -
Update README.md
Verified signature7677c6f -
Update README.md
Verified signature4baa599 -
Update README.md
Verified signature4e175e0 -
Update README.md
Verified signatured9f4eb6
-
Update README.md
Verified signature2aacfe3 -
Update README.md
Verified signature2c94a15 -
Update README.md
Verified signature6ce03cc -
Update README.md
Verified signaturef3a5c1b -
Update README.md
Verified signaturefa8c740
-
Update README.md
Verified signature7827d02
-
Update README.md
Verified signature6485a15 -
Update README.md
Verified signature71df3e7 -
Update README.md
Verified signature0232dba -
Update README.md
Verified signature03d110a -
Update README.md
Verified signature47b71c2 -
Update README.md
Verified signature2b336ab -
Create README.md
Verified signature821ae22
-
Update README.md
Verified signature85d4763 -
Update README.md
Verified signature7acbd12 -
Update README.md
Verified signature32b5ff8 -
Upload model-00002-of-00002.safetensors
Verified signatureadca316 -
Upload model-00001-of-00002.safetensors
Verified signatureedb1d9b -
Upload 10 files
Verified signatureba7e33b -
initial commit
Verified signature5ed168d