Text Generation
Transformers
Safetensors
llama
research
code
mathematics
reasoning
multilingual
long-context
custom_code
text-generation-inference
Instructions to use DeepXR/Helion-V2.5-Rnd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DeepXR/Helion-V2.5-Rnd with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DeepXR/Helion-V2.5-Rnd", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DeepXR/Helion-V2.5-Rnd", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("DeepXR/Helion-V2.5-Rnd", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use DeepXR/Helion-V2.5-Rnd with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DeepXR/Helion-V2.5-Rnd" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DeepXR/Helion-V2.5-Rnd", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/DeepXR/Helion-V2.5-Rnd
- SGLang
How to use DeepXR/Helion-V2.5-Rnd 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.5-Rnd" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DeepXR/Helion-V2.5-Rnd", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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.5-Rnd" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DeepXR/Helion-V2.5-Rnd", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use DeepXR/Helion-V2.5-Rnd with Docker Model Runner:
docker model run hf.co/DeepXR/Helion-V2.5-Rnd
Update training_config.json
Browse files- training_config.json +1 -28
training_config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"model_name_or_path": "
|
| 3 |
"output_dir": "./checkpoints/helion-2.5-rnd",
|
| 4 |
"overwrite_output_dir": true,
|
| 5 |
"do_train": true,
|
|
@@ -102,33 +102,6 @@
|
|
| 102 |
"ddp_find_unused_parameters": false,
|
| 103 |
"ddp_bucket_cap_mb": null,
|
| 104 |
"ddp_broadcast_buffers": null,
|
| 105 |
-
"dataset_config": {
|
| 106 |
-
"scientific_papers": {
|
| 107 |
-
"path": "arxiv_papers",
|
| 108 |
-
"split": "train",
|
| 109 |
-
"weight": 0.25
|
| 110 |
-
},
|
| 111 |
-
"code_repositories": {
|
| 112 |
-
"path": "the-stack-dedup",
|
| 113 |
-
"split": "train",
|
| 114 |
-
"weight": 0.25
|
| 115 |
-
},
|
| 116 |
-
"mathematical_proofs": {
|
| 117 |
-
"path": "math_qa",
|
| 118 |
-
"split": "train",
|
| 119 |
-
"weight": 0.15
|
| 120 |
-
},
|
| 121 |
-
"conversational_data": {
|
| 122 |
-
"path": "sharegpt",
|
| 123 |
-
"split": "train",
|
| 124 |
-
"weight": 0.20
|
| 125 |
-
},
|
| 126 |
-
"multilingual_corpus": {
|
| 127 |
-
"path": "mc4",
|
| 128 |
-
"split": "train",
|
| 129 |
-
"weight": 0.15
|
| 130 |
-
}
|
| 131 |
-
},
|
| 132 |
"data_preprocessing": {
|
| 133 |
"max_seq_length": 131072,
|
| 134 |
"truncation": true,
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_name_or_path": "DeepXR/Helion-2.5-Rnd",
|
| 3 |
"output_dir": "./checkpoints/helion-2.5-rnd",
|
| 4 |
"overwrite_output_dir": true,
|
| 5 |
"do_train": true,
|
|
|
|
| 102 |
"ddp_find_unused_parameters": false,
|
| 103 |
"ddp_bucket_cap_mb": null,
|
| 104 |
"ddp_broadcast_buffers": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
"data_preprocessing": {
|
| 106 |
"max_seq_length": 131072,
|
| 107 |
"truncation": true,
|