Image-Text-to-Text
Transformers
English
multilingual
llava
text-generation
multimodal
vision
long-context
function-calling
reasoning
conversational
Eval Results (legacy)
Instructions to use DeepXR/Helion-V2.0-Thinking with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DeepXR/Helion-V2.0-Thinking with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="DeepXR/Helion-V2.0-Thinking") 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)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCausalLM processor = AutoProcessor.from_pretrained("DeepXR/Helion-V2.0-Thinking") model = AutoModelForCausalLM.from_pretrained("DeepXR/Helion-V2.0-Thinking", device_map="auto") 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?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DeepXR/Helion-V2.0-Thinking with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DeepXR/Helion-V2.0-Thinking" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DeepXR/Helion-V2.0-Thinking", "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/DeepXR/Helion-V2.0-Thinking
- SGLang
How to use DeepXR/Helion-V2.0-Thinking 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 "DeepXR/Helion-V2.0-Thinking" \ --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": "DeepXR/Helion-V2.0-Thinking", "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 "DeepXR/Helion-V2.0-Thinking" \ --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": "DeepXR/Helion-V2.0-Thinking", "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 DeepXR/Helion-V2.0-Thinking with Docker Model Runner:
docker model run hf.co/DeepXR/Helion-V2.0-Thinking
Commit History
-
Create advanced_inference.py
Alex GallVerified signature6e610ec -
Create merges.txt
Verified signaturecdfeef5 -
Update README.md
Verified signature085b0ee
-
Update README.md
Verified signaturebb25962 -
Create processor_config.json (#1)
Verified signature- Create processor_config.json (72ad6156c4828b82d4461da9ef02c9ea05e922ef) Co-authored-by: Alex Gall <AlexGall@users.noreply.huggingface.co>5a31368 -
Update README.md
Verified signaturebce2e9b
-
Update README.md
Verified signaturee5253fb -
Update README.md
Verified signature737183d -
Update README.md
Verified signature2cf716b -
Update README.md
Verified signaturee5b3624 -
Update README.md
Verified signaturec1a14fd -
Update README.md
Verified signature3307f18 -
Update README.md
Verified signature09cf8d6 -
Update README.md
Verified signaturef7108b5 -
Create model-index.json
Verified signature2f0b19c -
Update chat_template.jinja
Verified signature1439132 -
Create chat_template.jinja
Verified signature5682ba6 -
Update README.md
Verified signatureb7778c2 -
Update README.md
Verified signatured0b181e
-
Update README.md
Verified signatureeb59bc5
-
Upload 33 files
Verified signature45cdb65 -
Upload 40 files
Verified signature937cbb5 -
Create LICENSE
Verified signature649f064 -
Create USE_CASE.md
Verified signature60d8500 -
Create QUICKSTART.md
Verified signaturea95fb3c -
Create benchmark.py
Verified signaturee489ad0 -
Create evaluate.py
Verified signature60d47fc -
Create safety_wrapper.py
Verified signaturebbbe225 -
Create safety_config.json
Verified signature5de6e17 -
Create training_args.json
Verified signaturee02cbe3 -
Create adapter_config.json
Verified signatureaa8203e -
Create model_index.json
Verified signatureba86a23 -
Create preprocessor_config.json
Verified signature3782319 -
Create special_tokens_map.json
Verified signature6d3fc63 -
Create inference.py
Verified signature1966e56 -
Create model_card.yaml
Verified signature720e2e5 -
Create tokenizer_config.json
Verified signature7f19f89 -
Create config.json
Verified signature43866f9 -
Update README.md
Verified signatured7f83cb -
Update README.md
Verified signatureb600832 -
initial commit
Verified signature987e17d