Text Generation
Transformers
PyTorch
helion
conversational
code
instruction-following
causal-lm
llm
reasoning
multilingual
custom_code
Eval Results (legacy)
Instructions to use DeepXR/Helion-V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DeepXR/Helion-V2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DeepXR/Helion-V2", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("DeepXR/Helion-V2", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use DeepXR/Helion-V2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DeepXR/Helion-V2" # 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", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DeepXR/Helion-V2
- SGLang
How to use DeepXR/Helion-V2 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" \ --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", "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 "DeepXR/Helion-V2" \ --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", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use DeepXR/Helion-V2 with Docker Model Runner:
docker model run hf.co/DeepXR/Helion-V2
Ctrl+K
- 690 Bytes
- 22.9 kB
- 12.6 kB
- 1.58 kB
- 4.3 kB
- 17.1 kB
- 1.48 kB
- 996 Bytes
- 20.1 kB
- 8.25 kB
- 3.41 kB
- 672 MB xet
- 818 MB xet
- 794 MB xet
- 635 MB xet
- 830 MB xet
- 805 MB xet
- 741 MB xet
- 680 MB xet
- 674 MB xet
- 602 MB xet
- 691 MB xet
- 608 MB xet
- 727 MB xet
- 790 MB xet
- 691 MB xet
- 695 MB xet
- 773 MB xet
- 615 MB xet
- 619 MB xet
- 780 MB xet
- 727 MB xet
- 611 MB xet
- 743 MB xet
- 733 MB xet
- 766 MB xet
- 726 MB xet
- 687 MB xet
- 657 MB xet
- 724 MB xet
- 572 MB xet
- 541 MB xet
- 717 MB xet
- 772 MB xet
- 628 MB xet
- 783 MB xet
- 807 MB xet
- 651 MB xet
- 830 MB xet
- 694 MB xet