Text Generation
Safetensors
GGUF
English
nae1
neuralai
causal-lm
llama-cpp
from-scratch
pretraining
local-ai
tiny-model
Instructions to use Subject-Emu-5259/NeuralAI-Nae1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Subject-Emu-5259/NeuralAI-Nae1 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Subject-Emu-5259/NeuralAI-Nae1:Q4_K_M # Run inference directly in the terminal: llama cli -hf Subject-Emu-5259/NeuralAI-Nae1:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Subject-Emu-5259/NeuralAI-Nae1:Q4_K_M # Run inference directly in the terminal: llama cli -hf Subject-Emu-5259/NeuralAI-Nae1:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Subject-Emu-5259/NeuralAI-Nae1:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Subject-Emu-5259/NeuralAI-Nae1:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Subject-Emu-5259/NeuralAI-Nae1:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Subject-Emu-5259/NeuralAI-Nae1:Q4_K_M
Use Docker
docker model run hf.co/Subject-Emu-5259/NeuralAI-Nae1:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Subject-Emu-5259/NeuralAI-Nae1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Subject-Emu-5259/NeuralAI-Nae1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Subject-Emu-5259/NeuralAI-Nae1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Subject-Emu-5259/NeuralAI-Nae1:Q4_K_M
- Ollama
How to use Subject-Emu-5259/NeuralAI-Nae1 with Ollama:
ollama run hf.co/Subject-Emu-5259/NeuralAI-Nae1:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Subject-Emu-5259/NeuralAI-Nae1 with Docker Model Runner:
docker model run hf.co/Subject-Emu-5259/NeuralAI-Nae1:Q4_K_M
- Lemonade
How to use Subject-Emu-5259/NeuralAI-Nae1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Subject-Emu-5259/NeuralAI-Nae1:Q4_K_M
Run and chat with the model
lemonade run user.NeuralAI-Nae1-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Refresh to step-24000: weights (Q4/f32), eval report, README, showcase assets (PPL 147.97)
Browse files- README.md +15 -15
- eval_step24000_q4_n512.json +18 -0
- nae1-llama-Q4_K_M.gguf +1 -1
- nae1-llama-f32.gguf +1 -1
- neuralai-nae1-banner.png +2 -2
- neuralai-nae1-banner.svg +1 -1
- neuralai-nae1-comparison.png +0 -0
- neuralai-nae1-comparison.svg +169 -128
- neuralai-nae1-training.png +2 -2
- neuralai-nae1-training.svg +9 -9
README.md
CHANGED
|
@@ -18,9 +18,7 @@ pipeline_tag: text-generation
|
|
| 18 |
|
| 19 |
<!--
|
| 20 |
NeuralAI β Nae1
|
| 21 |
-
Model card maintained by De'Andrew Preston Harris (@Subject-Emu-5259)
|
| 22 |
-
Last updated: 2026-10-08
|
| 23 |
-
-->
|
| 24 |
|
| 25 |
<img src="neuralai-nae1-banner.png" alt="NeuralAI Nae1 banner" width="100%" />
|
| 26 |
|
|
@@ -34,8 +32,8 @@ pipeline_tag: text-generation
|
|
| 34 |
<p align="center">
|
| 35 |
<a href="https://huggingface.co/Subject-Emu-5259/NeuralAI-Nae1"><img src="https://img.shields.io/badge/π€%20Hub-NeuralAI%20Nae1-blue" alt="Nae1"></a>
|
| 36 |
<img src="https://img.shields.io/badge/params-100.1M-22d3ee" alt="100.1M params">
|
| 37 |
-
<img src="https://img.shields.io/badge/held--out%20PPL-
|
| 38 |
-
<img src="https://img.shields.io/badge/steps-
|
| 39 |
<img src="https://img.shields.io/badge/license-Apache%202.0-orange" alt="Apache 2.0">
|
| 40 |
</p>
|
| 41 |
|
|
@@ -51,9 +49,9 @@ pipeline_tag: text-generation
|
|
| 51 |
| **Vocabulary** | 439 tokens (ByteLevel BPE, sliced from a 32,000-target config) |
|
| 52 |
| **Context** | 2,048 trained Β· evaluated on `n_ctx=512` |
|
| 53 |
| **Training data** | 768M tokens β FineWeb CC-MAIN-2013-20, 400k documents, 8 shards |
|
| 54 |
-
| **Training schedule** |
|
| 55 |
-
| **Final training loss** | 24.
|
| 56 |
-
| **Held-out perplexity** | **
|
| 57 |
| **Formats in this repo** | `f32` GGUF (305 MB) Β· `Q4_K_M` GGUF (45 MB) Β· config + tokenizer |
|
| 58 |
| **License** | Apache 2.0 |
|
| 59 |
|
|
@@ -62,13 +60,13 @@ pipeline_tag: text-generation
|
|
| 62 |
## π Training
|
| 63 |
|
| 64 |
<p align="center">
|
| 65 |
-
<img src="neuralai-nae1-training.png" alt="Nae1 training loss step
|
| 66 |
</p>
|
| 67 |
|
| 68 |
-
Nae1 is pretrained from random initialization in
|
| 69 |
|
| 70 |
- **Data pipeline**: FineWeb parquet β chunked into 513-token windows served as zero-copy views (peak-RAM-safe at 768M tokens)
|
| 71 |
-
- **Checkpoints**: every 250 steps; this release ships the final step-
|
| 72 |
|
| 73 |
---
|
| 74 |
|
|
@@ -88,9 +86,10 @@ Teacher-forced perplexity on a held-out FineWeb slice (992 documents / 1,027,766
|
|
| 88 |
| step-8000 | 165.92 |
|
| 89 |
| step-12000 | 154.25 |
|
| 90 |
| step-16000 | 151.45 |
|
| 91 |
-
|
|
|
|
|
| 92 |
|
| 93 |
-
Raw report: [`
|
| 94 |
|
| 95 |
> β οΈ Perplexity is the trust signal here, not raw capability. At 100M params over 768M tokens, expect exploratory, often garbled text β this is a research-lineage model, not a chat assistant.
|
| 96 |
|
|
@@ -131,7 +130,8 @@ print(out["choices"][0]["text"])
|
|
| 131 |
| `nae1-llama-f32.gguf` | Full-precision GGUF, 305 MB β for requantization / research |
|
| 132 |
| `config.json` | Architecture config as trained |
|
| 133 |
| `tokenizer/` | Native 439-token vocab + merges + manifest |
|
| 134 |
-
| `
|
|
|
|
| 135 |
| `eval_step16000_q4_n512.json` | Prior release (step-16000), kept for lineage |
|
| 136 |
| `eval_step8000_q4_n512.json` | Prior release (step-8000), kept for lineage |
|
| 137 |
|
|
@@ -173,7 +173,7 @@ NeuralAI was built from resilience, fatherhood, and the belief that personal com
|
|
| 173 |
title = {NeuralAI β Nae1},
|
| 174 |
year = {2026},
|
| 175 |
url = {https://huggingface.co/Subject-Emu-5259/NeuralAI-Nae1},
|
| 176 |
-
version = {step-
|
| 177 |
description = {A 100M-parameter language model pretrained from scratch on 768M FineWeb tokens}
|
| 178 |
}
|
| 179 |
```
|
|
|
|
| 18 |
|
| 19 |
<!--
|
| 20 |
NeuralAI β Nae1
|
| 21 |
+
Model card maintained by De'Andrew Preston Harris (@Subject-Emu-5259) Last updated: 2026-10-08 (step-24000 refresh)-->
|
|
|
|
|
|
|
| 22 |
|
| 23 |
<img src="neuralai-nae1-banner.png" alt="NeuralAI Nae1 banner" width="100%" />
|
| 24 |
|
|
|
|
| 32 |
<p align="center">
|
| 33 |
<a href="https://huggingface.co/Subject-Emu-5259/NeuralAI-Nae1"><img src="https://img.shields.io/badge/π€%20Hub-NeuralAI%20Nae1-blue" alt="Nae1"></a>
|
| 34 |
<img src="https://img.shields.io/badge/params-100.1M-22d3ee" alt="100.1M params">
|
| 35 |
+
<img src="https://img.shields.io/badge/held--out%20PPL-147.97-34d399" alt="PPL 147.97">
|
| 36 |
+
<img src="https://img.shields.io/badge/steps-24,000-a78bfa" alt="24000 steps">
|
| 37 |
<img src="https://img.shields.io/badge/license-Apache%202.0-orange" alt="Apache 2.0">
|
| 38 |
</p>
|
| 39 |
|
|
|
|
| 49 |
| **Vocabulary** | 439 tokens (ByteLevel BPE, sliced from a 32,000-target config) |
|
| 50 |
| **Context** | 2,048 trained Β· evaluated on `n_ctx=512` |
|
| 51 |
| **Training data** | 768M tokens β FineWeb CC-MAIN-2013-20, 400k documents, 8 shards |
|
| 52 |
+
| **Training schedule** | 24,000 steps β six cosine cycles (0β4kβ8kβ12kβ16kβ20kβ24k) Β· Kaggle T4 |
|
| 53 |
+
| **Final training loss** | 24.17 @ step 24,000 (best in cycle 6: 21.81 @ step 21,250; final-step loss is batch-noisy β held-out PPL decides) |
|
| 54 |
+
| **Held-out perplexity** | **147.97** (Q4_K_M, 992 docs / 1,027,766 tokens, teacher-forced) |
|
| 55 |
| **Formats in this repo** | `f32` GGUF (305 MB) Β· `Q4_K_M` GGUF (45 MB) Β· config + tokenizer |
|
| 56 |
| **License** | Apache 2.0 |
|
| 57 |
|
|
|
|
| 60 |
## π Training
|
| 61 |
|
| 62 |
<p align="center">
|
| 63 |
+
<img src="neuralai-nae1-training.png" alt="Nae1 training loss step 20000 to 24000" width="92%" />
|
| 64 |
</p>
|
| 65 |
|
| 66 |
+
Nae1 is pretrained from random initialization in six cosine cycles: 0 β 4,000 Β· 4,000 β 8,000 Β· 8,000 β 12,000 Β· 12,000 β 16,000 Β· 16,000 β 20,000 Β· 20,000 β 24,000, each resumed from the previous checkpoint. The chart shows cycle six β loss drops from ~25.4 to a best of **21.81** (step 21,250), the lowest training loss of the run, finishing at **24.17** at step 24,000 as the learning rate anneals to 1.3e-12 (batch-noisy final step; held-out PPL keeps improving: 151.45 β 148.84 β **147.97**).
|
| 67 |
|
| 68 |
- **Data pipeline**: FineWeb parquet β chunked into 513-token windows served as zero-copy views (peak-RAM-safe at 768M tokens)
|
| 69 |
+
- **Checkpoints**: every 250 steps; this release ships the final step-24000 checkpoint
|
| 70 |
|
| 71 |
---
|
| 72 |
|
|
|
|
| 86 |
| step-8000 | 165.92 |
|
| 87 |
| step-12000 | 154.25 |
|
| 88 |
| step-16000 | 151.45 |
|
| 89 |
+
| step-20000 | 148.84 |
|
| 90 |
+
| **step-24000 β this release** | **147.97** |
|
| 91 |
|
| 92 |
+
Raw report: [`eval_step24000_q4_n512.json`](eval_step24000_q4_n512.json) β mean NLL 4.9970 nats/token (prior releases kept alongside: [`eval_step20000_q4_n512.json`](eval_step20000_q4_n512.json), [`eval_step16000_q4_n512.json`](eval_step16000_q4_n512.json), [`eval_step8000_q4_n512.json`](eval_step8000_q4_n512.json)). Fixed probe ("The quick brown fox", 10 tokens): 171.33 β the 10-token probe is noisy; held-out decides.
|
| 93 |
|
| 94 |
> β οΈ Perplexity is the trust signal here, not raw capability. At 100M params over 768M tokens, expect exploratory, often garbled text β this is a research-lineage model, not a chat assistant.
|
| 95 |
|
|
|
|
| 130 |
| `nae1-llama-f32.gguf` | Full-precision GGUF, 305 MB β for requantization / research |
|
| 131 |
| `config.json` | Architecture config as trained |
|
| 132 |
| `tokenizer/` | Native 439-token vocab + merges + manifest |
|
| 133 |
+
| `eval_step24000_q4_n512.json` | The exact evaluation report cited above |
|
| 134 |
+
| `eval_step20000_q4_n512.json` | Prior release (step-20000), kept for lineage |
|
| 135 |
| `eval_step16000_q4_n512.json` | Prior release (step-16000), kept for lineage |
|
| 136 |
| `eval_step8000_q4_n512.json` | Prior release (step-8000), kept for lineage |
|
| 137 |
|
|
|
|
| 173 |
title = {NeuralAI β Nae1},
|
| 174 |
year = {2026},
|
| 175 |
url = {https://huggingface.co/Subject-Emu-5259/NeuralAI-Nae1},
|
| 176 |
+
version = {step-24000},
|
| 177 |
description = {A 100M-parameter language model pretrained from scratch on 768M FineWeb tokens}
|
| 178 |
}
|
| 179 |
```
|
eval_step24000_q4_n512.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "/Users/deandrewharris/Projects/NuralAI-Project-is-stored-on-zo-computer/artifacts/nae1_gguf/nae1-llama-Q4_K_M-step24000.gguf",
|
| 3 |
+
"context_size": 512,
|
| 4 |
+
"scoring": "teacher forcing: one llm.eval(chunk) + row j scores token j+1 (first token excluded)",
|
| 5 |
+
"probe": {
|
| 6 |
+
"text": "The quick brown fox",
|
| 7 |
+
"tokens": 10,
|
| 8 |
+
"total_nll_nats": 51.4357048364431,
|
| 9 |
+
"perplexity": 171.3263956486749
|
| 10 |
+
},
|
| 11 |
+
"heldout": {
|
| 12 |
+
"documents": 992,
|
| 13 |
+
"tokens": 1027766,
|
| 14 |
+
"total_nll_nats": 5135780.6794782,
|
| 15 |
+
"mean_nll_nats_per_token": 4.997033059546823,
|
| 16 |
+
"perplexity": 147.97347867241118
|
| 17 |
+
}
|
| 18 |
+
}
|
nae1-llama-Q4_K_M.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 45762464
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49006a2a05b822a5568474db9b11533e6d20d5de0723a73e06e64d2af7e0c980
|
| 3 |
size 45762464
|
nae1-llama-f32.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 304778816
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2d677d6eadf5beee328f3c7946e8811e31847b89c954f4aa4332a1b505b87a1
|
| 3 |
size 304778816
|
neuralai-nae1-banner.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
neuralai-nae1-banner.svg
CHANGED
|
|
|
|
neuralai-nae1-comparison.png
CHANGED
|
|
neuralai-nae1-comparison.svg
CHANGED
|
|
|
|
neuralai-nae1-training.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
neuralai-nae1-training.svg
CHANGED
|
|
|
|