Deploy Helios Open-Weight Foundation Model Ecosystem (Weights, SafeTensors, Tokenizer, ONNX, TFLite)
Browse files- .gitattributes +1 -0
- README.md +119 -0
- config.json +28 -0
- generation_config.json +11 -0
- helios_model.onnx +3 -0
- helios_model.onnx.data +3 -0
- helios_model.pt +3 -0
- helios_model.safetensors +3 -0
- helios_model.tflite +3 -0
- model.safetensors +3 -0
- physical_manifest.json +27 -0
- special_tokens_map.json +12 -0
- tokenizer.json +0 -0
- tokenizer_config.json +81 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
helios_model.onnx.data filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,122 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- helios
|
| 5 |
+
- open-weight
|
| 6 |
+
- pytorch
|
| 7 |
+
- causal-lm
|
| 8 |
+
- rotary-embeddings
|
| 9 |
+
- grouped-query-attention
|
| 10 |
+
- swiglu
|
| 11 |
+
- hierarchical-memory
|
| 12 |
+
datasets:
|
| 13 |
+
- HuggingFaceFW/fineweb-edu
|
| 14 |
+
- HuggingFaceFW/fineweb
|
| 15 |
+
- mlfoundations/dCLM-baseline
|
| 16 |
+
- HuggingFaceTB/cosmopedia-v2
|
| 17 |
+
- open-web-math/open-web-math
|
| 18 |
+
- EleutherAI/proof-pile-2
|
| 19 |
+
- bigcode/the-stack-v2
|
| 20 |
+
- bigcode/starcoderdata
|
| 21 |
+
- uonlp/CulturaX
|
| 22 |
+
- oscar-corpus/OSCAR-2301
|
| 23 |
+
- statmt/cc-100
|
| 24 |
+
- wikimedia/wikipedia
|
| 25 |
+
pipeline_tag: text-generation
|
| 26 |
+
language:
|
| 27 |
+
- en
|
| 28 |
+
- tl
|
| 29 |
---
|
| 30 |
+
|
| 31 |
+
# Helios Open-Weight Foundation Model (Helios)
|
| 32 |
+
|
| 33 |
+
**Developed by: Arron Kian Parejas** (`arronkianparejas@gmail.com`)
|
| 34 |
+
**GitHub Repository**: [https://github.com/darknecrocities/Helios](https://github.com/darknecrocities/Helios)
|
| 35 |
+
**Hugging Face Hub**: [https://huggingface.co/Darknecrocities/Helios](https://huggingface.co/Darknecrocities/Helios)
|
| 36 |
+
**Ollama Registry**: `parejasarronkian/Helios`
|
| 37 |
+
**License**: Apache-2.0 / MIT Dual License
|
| 38 |
+
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
## 1. Overview & Architecture
|
| 42 |
+
|
| 43 |
+
Helios is a modular, transparent, open-weight foundation model ecosystem
|
| 44 |
+
engineered for efficient inference on consumer edge hardware and clusters.
|
| 45 |
+
|
| 46 |
+
### Core Architectural Specifications:
|
| 47 |
+
- **Architecture**: Decoder-only Causal Transformer
|
| 48 |
+
- **Parameters**: ~17.84M (7 layers, 320 hidden dim)
|
| 49 |
+
- **Attention**: Grouped-Query Attention (GQA, 8 Q : 2 KV)
|
| 50 |
+
- **Position Representation**: Rotary Position Embeddings (RoPE, theta=10000.0)
|
| 51 |
+
- **Normalization**: Pre-RMSNorm (eps=1e-05)
|
| 52 |
+
- **Feed-Forward**: SwiGLU Gated MLP (intermediate dim=864)
|
| 53 |
+
- **Context Length**: 512 tokens
|
| 54 |
+
- **Memory Augmentation**: HMA with Working, Episodic, Semantic, and Procedural tiers.
|
| 55 |
+
|
| 56 |
+
---
|
| 57 |
+
|
| 58 |
+
## 2. Parameter Scaling Roadmap & Exit Gates
|
| 59 |
+
|
| 60 |
+
| Stage | Target Size | Hardware Target | Status | Exit Gates |
|
| 61 |
+
| :--- | :--- | :--- | :--- | :--- |
|
| 62 |
+
| **Nano** | 10M–40M | Apple Silicon M3 | **Active** | Deterministic resume, overfit tiny corpus |
|
| 63 |
+
| **Alpha** | 100M | Single GPU / MPS | Planned | Perplexity < 25, fertility validated |
|
| 64 |
+
| **Beta** | 300M | Single GPU (24GB) | Planned | GQA KV-cache efficiency, zero regressions |
|
| 65 |
+
| **Core** | 1B | Multi-GPU Node | Roadmap | FSDP2 sharding, cluster recipe |
|
| 66 |
+
| **Pro** | 3B | Cluster (8x H100) | Long-Term | Multi-node recovery, optimizer sharding |
|
| 67 |
+
| **Flagship**| 6B | Compute Cluster | Long-Term | Full training provenance, safety review |
|
| 68 |
+
|
| 69 |
+
---
|
| 70 |
+
|
| 71 |
+
## 3. Pretraining Datasets & Domain Allocation
|
| 72 |
+
|
| 73 |
+
Helios models are trained on an overtraining schedule using 12 high-quality datasets:
|
| 74 |
+
|
| 75 |
+
| Domain | Dataset Name | Hugging Face Dataset ID | Ratio |
|
| 76 |
+
| :--- | :--- | :--- | :--- |
|
| 77 |
+
| **Educational** | FineWeb-Edu | `HuggingFaceFW/fineweb-edu` | 30% |
|
| 78 |
+
| **General Web** | FineWeb & DCLM | `HuggingFaceFW/fineweb` | 15% |
|
| 79 |
+
| **Synthetic** | Cosmopedia v2 | `HuggingFaceTB/cosmopedia-v2` | 15% |
|
| 80 |
+
| **Code** | The Stack v2 | `bigcode/the-stack-v2` | 20% |
|
| 81 |
+
| **STEM/Math** | OpenWebMath | `open-web-math/open-web-math` | 10% |
|
| 82 |
+
| **Filipino/TL** | CulturaX (tl) | `uonlp/CulturaX` (tl) | 10% |
|
| 83 |
+
|
| 84 |
+
---
|
| 85 |
+
|
| 86 |
+
## 4. Quickstart Usage
|
| 87 |
+
|
| 88 |
+
### Using Helios CLI:
|
| 89 |
+
```bash
|
| 90 |
+
# Inspect model parameters
|
| 91 |
+
helios inspect -m nano-20m
|
| 92 |
+
|
| 93 |
+
# Run interactive generation
|
| 94 |
+
helios generate --prompt "Write a Python function to compute Fibonacci numbers."
|
| 95 |
+
```
|
| 96 |
+
|
| 97 |
+
### Using Transformers:
|
| 98 |
+
```python
|
| 99 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 100 |
+
|
| 101 |
+
tokenizer = AutoTokenizer.from_pretrained("Darknecrocities/Helios")
|
| 102 |
+
model = AutoModelForCausalLM.from_pretrained("Darknecrocities/Helios")
|
| 103 |
+
|
| 104 |
+
inputs = tokenizer("Hello Helios! Who developed you?", return_tensors="pt")
|
| 105 |
+
outputs = model.generate(**inputs, max_new_tokens=50)
|
| 106 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 107 |
+
```
|
| 108 |
+
|
| 109 |
+
---
|
| 110 |
+
|
| 111 |
+
## 5. Citation & Attribution
|
| 112 |
+
|
| 113 |
+
```bibtex
|
| 114 |
+
@misc{helios2026,
|
| 115 |
+
author = {Parejas, Arron Kian},
|
| 116 |
+
title = {Helios: Transparent Open-Weight Foundation Model Ecosystem},
|
| 117 |
+
year = {2026},
|
| 118 |
+
publisher = {Hugging Face},
|
| 119 |
+
journal = {Hugging Face Hub Repository},
|
| 120 |
+
howpublished = {\url{https://huggingface.co/Darknecrocities/Helios}}
|
| 121 |
+
}
|
| 122 |
+
```
|
config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"HeliosForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"model_type": "helios",
|
| 6 |
+
"auto_map": {
|
| 7 |
+
"AutoConfig": "helios.model.config.HeliosConfig",
|
| 8 |
+
"AutoModelForCausalLM": "helios.model.transformer.HeliosForCausalLM",
|
| 9 |
+
"AutoTokenizer": "helios.tokenizer.base.HeliosTokenizer"
|
| 10 |
+
},
|
| 11 |
+
"vocab_size": 32000,
|
| 12 |
+
"hidden_size": 320,
|
| 13 |
+
"num_hidden_layers": 7,
|
| 14 |
+
"num_attention_heads": 8,
|
| 15 |
+
"num_key_value_heads": 2,
|
| 16 |
+
"intermediate_size": 864,
|
| 17 |
+
"max_position_embeddings": 512,
|
| 18 |
+
"rope_theta": 10000.0,
|
| 19 |
+
"rms_norm_eps": 1e-05,
|
| 20 |
+
"tie_word_embeddings": true,
|
| 21 |
+
"initializer_range": 0.02,
|
| 22 |
+
"dropout": 0.0,
|
| 23 |
+
"torch_dtype": "float32",
|
| 24 |
+
"transformers_version": "4.40.0",
|
| 25 |
+
"model_family": "Helios",
|
| 26 |
+
"developer": "Arron Kian Parejas",
|
| 27 |
+
"developer_email": "arronkianparejas@gmail.com"
|
| 28 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 256,
|
| 3 |
+
"eos_token_id": 257,
|
| 4 |
+
"pad_token_id": 258,
|
| 5 |
+
"max_length": 512,
|
| 6 |
+
"temperature": 0.7,
|
| 7 |
+
"top_p": 0.9,
|
| 8 |
+
"top_k": 40,
|
| 9 |
+
"do_sample": true,
|
| 10 |
+
"transformers_version": "4.40.0"
|
| 11 |
+
}
|
helios_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:964b8e0585778a8a7d728273bf83e4bc4cf4bb898acab09a4b4ac0abe4008a0b
|
| 3 |
+
size 906229
|
helios_model.onnx.data
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:afea2c34d7852634cb79674695cac64652f9d67b8ac6da68aed8e7f8b41aeb8d
|
| 3 |
+
size 72518400
|
helios_model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:673ce70ed9f3162c1311fa4bb695b3a9b417d4b2a7982e3b9091f3f1a50c229f
|
| 3 |
+
size 72729448
|
helios_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2da61fff29f95ab9592a98196410dcc1c5f73ff0f95d792c879ad94aabf4b6f
|
| 3 |
+
size 112338432
|
helios_model.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4982c57ec7c55ea30de0492caa79d6569bd2253966de3aa60d1fd991a290ba32
|
| 3 |
+
size 71384256
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2da61fff29f95ab9592a98196410dcc1c5f73ff0f95d792c879ad94aabf4b6f
|
| 3 |
+
size 112338432
|
physical_manifest.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_family": "Helios",
|
| 3 |
+
"developer": "Arron Kian Parejas",
|
| 4 |
+
"output_directory": "/Users/arronkianparejas/helios/dist/physical_models",
|
| 5 |
+
"formats": {
|
| 6 |
+
"safetensors": {
|
| 7 |
+
"file": "/Users/arronkianparejas/helios/dist/physical_models/helios_model.safetensors",
|
| 8 |
+
"bytes": 112338432,
|
| 9 |
+
"sha256": "d2da61fff29f95ab9592a98196410dcc1c5f73ff0f95d792c879ad94aabf4b6f"
|
| 10 |
+
},
|
| 11 |
+
"torchscript": {
|
| 12 |
+
"file": "/Users/arronkianparejas/helios/dist/physical_models/helios_model.pt",
|
| 13 |
+
"bytes": 72729448,
|
| 14 |
+
"sha256": "673ce70ed9f3162c1311fa4bb695b3a9b417d4b2a7982e3b9091f3f1a50c229f"
|
| 15 |
+
},
|
| 16 |
+
"onnx": {
|
| 17 |
+
"file": "/Users/arronkianparejas/helios/dist/physical_models/helios_model.onnx",
|
| 18 |
+
"bytes": 906229,
|
| 19 |
+
"sha256": "964b8e0585778a8a7d728273bf83e4bc4cf4bb898acab09a4b4ac0abe4008a0b"
|
| 20 |
+
},
|
| 21 |
+
"tflite": {
|
| 22 |
+
"file": "/Users/arronkianparejas/helios/dist/physical_models/helios_model.tflite",
|
| 23 |
+
"bytes": 71384256,
|
| 24 |
+
"sha256": "4982c57ec7c55ea30de0492caa79d6569bd2253966de3aa60d1fd991a290ba32"
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<|begin_of_text|>",
|
| 3 |
+
"eos_token": "<|end_of_text|>",
|
| 4 |
+
"pad_token": "<|pad|>",
|
| 5 |
+
"additional_special_tokens": [
|
| 6 |
+
"<|start_header_id|>",
|
| 7 |
+
"<|end_header_id|>",
|
| 8 |
+
"<|call:tool|>",
|
| 9 |
+
"<|return:tool|>",
|
| 10 |
+
"<|refusal|>"
|
| 11 |
+
]
|
| 12 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tokenizer_class": "HeliosTokenizer",
|
| 3 |
+
"auto_map": {
|
| 4 |
+
"AutoTokenizer": [
|
| 5 |
+
"helios.tokenizer.base.HeliosTokenizer",
|
| 6 |
+
null
|
| 7 |
+
]
|
| 8 |
+
},
|
| 9 |
+
"model_max_length": 1024,
|
| 10 |
+
"bos_token": "<|begin_of_text|>",
|
| 11 |
+
"eos_token": "<|end_of_text|>",
|
| 12 |
+
"pad_token": "<|pad|>",
|
| 13 |
+
"clean_up_tokenization_spaces": false,
|
| 14 |
+
"added_tokens_decoder": {
|
| 15 |
+
"256": {
|
| 16 |
+
"content": "<|begin_of_text|>",
|
| 17 |
+
"lstrip": false,
|
| 18 |
+
"normalized": false,
|
| 19 |
+
"rstrip": false,
|
| 20 |
+
"single_word": false,
|
| 21 |
+
"special": true
|
| 22 |
+
},
|
| 23 |
+
"257": {
|
| 24 |
+
"content": "<|end_of_text|>",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false,
|
| 29 |
+
"special": true
|
| 30 |
+
},
|
| 31 |
+
"258": {
|
| 32 |
+
"content": "<|pad|>",
|
| 33 |
+
"lstrip": false,
|
| 34 |
+
"normalized": false,
|
| 35 |
+
"rstrip": false,
|
| 36 |
+
"single_word": false,
|
| 37 |
+
"special": true
|
| 38 |
+
},
|
| 39 |
+
"259": {
|
| 40 |
+
"content": "<|start_header_id|>",
|
| 41 |
+
"lstrip": false,
|
| 42 |
+
"normalized": false,
|
| 43 |
+
"rstrip": false,
|
| 44 |
+
"single_word": false,
|
| 45 |
+
"special": true
|
| 46 |
+
},
|
| 47 |
+
"260": {
|
| 48 |
+
"content": "<|end_header_id|>",
|
| 49 |
+
"lstrip": false,
|
| 50 |
+
"normalized": false,
|
| 51 |
+
"rstrip": false,
|
| 52 |
+
"single_word": false,
|
| 53 |
+
"special": true
|
| 54 |
+
},
|
| 55 |
+
"261": {
|
| 56 |
+
"content": "<|call:tool|>",
|
| 57 |
+
"lstrip": false,
|
| 58 |
+
"normalized": false,
|
| 59 |
+
"rstrip": false,
|
| 60 |
+
"single_word": false,
|
| 61 |
+
"special": true
|
| 62 |
+
},
|
| 63 |
+
"262": {
|
| 64 |
+
"content": "<|return:tool|>",
|
| 65 |
+
"lstrip": false,
|
| 66 |
+
"normalized": false,
|
| 67 |
+
"rstrip": false,
|
| 68 |
+
"single_word": false,
|
| 69 |
+
"special": true
|
| 70 |
+
},
|
| 71 |
+
"263": {
|
| 72 |
+
"content": "<|refusal|>",
|
| 73 |
+
"lstrip": false,
|
| 74 |
+
"normalized": false,
|
| 75 |
+
"rstrip": false,
|
| 76 |
+
"single_word": false,
|
| 77 |
+
"special": true
|
| 78 |
+
}
|
| 79 |
+
},
|
| 80 |
+
"chat_template": "{% for message in messages %}{{ '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n' + message['content'] + '<|end_of_text|>' }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}"
|
| 81 |
+
}
|