Text Generation
Transformers
Safetensors
English
code
helion-osc
mathematics
reasoning
algorithm
causal-lm
conversational
bitsandbytes
Instructions to use DeepXR/Helion-OSC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DeepXR/Helion-OSC with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DeepXR/Helion-OSC") 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("DeepXR/Helion-OSC", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DeepXR/Helion-OSC with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DeepXR/Helion-OSC" # 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-OSC", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DeepXR/Helion-OSC
- SGLang
How to use DeepXR/Helion-OSC 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-OSC" \ --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-OSC", "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-OSC" \ --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-OSC", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use DeepXR/Helion-OSC with Docker Model Runner:
docker model run hf.co/DeepXR/Helion-OSC
Commit History
-
Update LICENSE
Verified signaturee1ae6ae
-
Update README.md
Verified signature5750d69 -
Create .gitignore
Verified signature3feb967 -
Create modeling_helion_osc.py
Verified signaturee7778df -
Create LICENSE
Verified signature439f0fa -
Create setup_helion.py
Verified signature8f40540 -
Update README.md
Verified signature1914281 -
Update tokenizer_config.json
Verified signaturec95d1e4 -
Update config.json
Verified signatured5b211d -
Update inference/model_config.json
Verified signature6b9f4c3 -
Create inference/test_long_context.py
Verified signature04dc2a9 -
Update inference/generate_shards.py
Verified signature2c59201 -
Update inference/load_model.py
Verified signatured5025ae -
Update inference/model.safetensors.index.json
Verified signature6df3951 -
Rename inference/config.json to inference/model_config.json
Verified signaturec0dcde0
-
Upload 36 files
Verified signature903ba46 -
Upload 25 files
Verified signature34da65a -
Upload 20 files
Verified signatureb94b70e -
Upload 15 files
Verified signaturefd1a44f -
Upload 20 files
Verified signaturedf6044e -
Delete model-00019-of-00116.safetensors
Verified signature680b6d3 -
Delete model-00018-of-00116.safetensors
Verified signature13a5c77 -
Delete model-00017-of-00116.safetensors
Verified signature92c7f91 -
Delete model-00016-of-00116.safetensors
Verified signatureb5a4680 -
Delete model-00015-of-00116.safetensors
Verified signature2c38f72 -
Delete model-00014-of-00116.safetensors
Verified signatureb1b1010 -
Delete model-00013-of-00116.safetensors
Verified signature9572fc4 -
Delete model-00012-of-00116.safetensors
Verified signaturea91a694 -
Delete model-00011-of-00116.safetensors
Verified signaturef9f9760 -
Delete model-00010-of-00116.safetensors
Verified signature50722ba -
Delete model-00009-of-00116.safetensors
Verified signaturead5814f -
Delete model-00008-of-00116.safetensors
Verified signaturea23c9c1 -
Delete model-00007-of-00116.safetensors
Verified signaturec6f55f7 -
Delete model-00006-of-00116.safetensors
Verified signature7a61e96 -
Delete model-00005-of-00116.safetensors
Verified signaturef7a9383 -
Delete model-00004-of-00116.safetensors
Verified signatured0f0732 -
Delete model-00003-of-00116.safetensors
Verified signature4561c3f -
Delete model-00002-of-00116.safetensors
Verified signature3201cf3 -
Delete model-00001-of-00116.safetensors
Verified signature0ec1314 -
Delete model-00020-of-00116.safetensors
Verified signaturef7fcf3a -
Upload 20 files
Verified signaturef9b2d3d -
Create inference/generate_shards.py
Verified signature3d850c6 -
Create inference/load_model.py
Verified signature545ba0c -
Create inference/model.safetensors.index.json
Verified signature1b822b1 -
Create inference/config.json
Verified signature5c37ed3 -
Create multi_model_inference.py
Verified signaturefdcf9f5 -
Create USE_CASES.md
Verified signature7e21c95 -
Create benchmark.py
Verified signature788f4ae -
Create docker-compose.yml
Verified signature8e6e44b -
Create special_tokens_map.json (#1)
Verified signature- Create special_tokens_map.json (e58949eb193fa454d0b2967c318a7f9911a782c3) Co-authored-by: Alex Gall <AlexGall@users.noreply.huggingface.co>738fe17