File size: 4,039 Bytes
a1a7070
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ede2cba
 
 
 
 
a1a7070
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ede2cba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a1a7070
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ede2cba
 
 
a1a7070
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ede2cba
 
a1a7070
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
---
library_name: python
license: mit
tags:
- hybrid-ai
- local-assistant
- python
- web-development
- math
- physics
- chemistry
- html
- css
- javascript
- aion
pipeline_tag: text-generation
---

# AION

![AION logo](assets/aion_logo.svg)

![AION architecture](assets/aion_architecture.svg)


AION is a tiny hybrid local assistant built in a constrained CPU environment. It unifies several learned and symbolic components into one entrypoint:

```python
from aion import generate
print(generate("hola"))
```

## What AION can do

- Chat greetings and basic conversation.
- Write Python snippets and functions.
- Create web pages/components with HTML, advanced CSS and vanilla JavaScript.
- Solve many math tasks:
  - arithmetic,
  - linear equations,
  - quadratics,
  - derivatives/integrals for simple polynomials,
  - statistics,
  - geometry,
  - trigonometry,
  - combinatorics,
  - interest,
  - unit conversion.
- Solve basic physics formulas:
  - F=ma,
  - kinetic/potential energy,
  - Ohm's law,
  - power,
  - density,
  - momentum,
  - wave speed.
- Basic chemistry:
  - common elements,
  - moles,
  - molarity,
  - ideal gas law,
  - pH.
- Basic biology/general knowledge:
  - photosynthesis,
  - cells,
  - DNA,
  - evolution,
  - algorithms,
  - databases,
  - internet,
  - machine learning.

## Download

You can download the complete ready-to-run package from the repository files:

```bash
git lfs install
git clone https://huggingface.co/VoidWalkercero/AION-1
cd AION-1
python aion.py "hola"
```

Or from Python:

```python
from huggingface_hub import snapshot_download
path = snapshot_download("VoidWalkercero/AION-1")
print(path)
```

A zipped copy is also included under `download/AION-1.zip`.

## Architecture

AION is not a transformer LLM. It is a merged hybrid model:

1. `neural_python_mind.py` — NumPy character-level GRU trained for Python syntax/style.
2. `real_python_learner.py` — character n-gram learned intent classifier + compositional Python generator.
3. `real_web_learner.py` — character n-gram learned web intent classifier + HTML/CSS/JS generator.
4. `unified_learning_ai.py` — unified router for chat, Python, web, math and science.
5. A small deterministic math/science solver layer.

## Usage

CLI:

```bash
python aion.py "create a responsive landing page with dark mode"
python aion.py "solve 2x + 5 = 17"
python aion.py "force mass 10 acceleration 2"
python aion.py "write code to keep numbers greater than 12"
```

Python:

```python
from aion import generate
print(generate("what can you do"))
```

## Evaluation

![AION benchmark snapshot](assets/aion_benchmark.svg)


Local evaluation results are in:

```text
results/aion_local_eval.json
results/aion_local_eval.md
```

Summary:

| Suite | Score |
|---|---:|
| chat sanity | 3/3 |
| Python generation sanity | 3/3 |
| Web generation sanity | 4/4 |
| Math/science sanity | 6/6 |
| GSM8K test sample 30 | 0/30 |

Important: these are **not official Hugging Face leaderboard results**. AION is not a standard `transformers` model and cannot be directly submitted to most official HF benchmark leaderboards without a custom evaluation adapter. The GSM8K sample result is included honestly and shows the current limitation on multi-step word problems.

For optional comparison with small HF models, see `benchmark/benchmark_compare_small_models.py` and `benchmark/SMALL_MODEL_COMPARISON.md`.

## Limitations

- Not a large language model.
- Not a Transformers `AutoModel` checkpoint.
- Strong on composed templates and formulaic tasks; weak on deep natural-language reasoning.
- GSM8K multi-step reasoning is currently poor.
- Web output is generated as inline HTML/CSS/JS snippets suitable for local preview, not production-audited code.

## Training data

AION uses generated local curricula plus downloaded GSM8K JSONL files from OpenAI's public grade-school-math repository when available:

```text
outputs/unified_learning_ai/online_datasets/gsm8k_train.jsonl
outputs/unified_learning_ai/online_datasets/gsm8k_test.jsonl
```