Downloads · 30 days
17
17% of all-time downloads
aiacontext/mini-enedina
mini-enedina is a text generation model from aiacontext. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as cc-by-4.0.
Mini-Enedina is a monotropic language model -- deliberately small and intensively specialized -- with 37.5 million parameters, designed exclusively for structural shaft analysis according to Timoshenko beam theory.
Downloads · 30 days
17
17% of all-time downloads
All-time downloads
98
Public
Parameters
37.6M
150 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors150 MB · 100%
From the Hugging Face model README
Mini-Enedina is a monotropic language model -- deliberately small and intensively specialized -- with 37.5 million parameters, designed exclusively for structural shaft analysis according to Timoshenko beam theory.
| Parameter | Value |
|---|---|
| Parameters | 37.57M |
| Layers | 7 |
| Attention Heads | 8 |
| Model Dimension | 512 |
| Feed-Forward Dimension | 2048 |
| Vocabulary Size | 8,012 (8,000 BPE + 12 Harmony tokens) |
| Max Sequence Length | 14,336 tokens |
| Positional Encoding | RoPE |
| Normalization | RMSNorm (pre-norm) |
| Activation | SiLU (SwiGLU) |
| Framework | MLX (Apple Silicon) |
| Precision | BFloat16 |
| Model Size | 143 MB |
| Metric | Overall | Bachelor | Master | Doctor |
|---|---|---|---|---|
| Loss | 0.0787 | 0.0733 | 0.0804 | 0.0825 |
| Perplexity | 1.08 | 1.08 | 1.08 | 1.09 |
| Correct Stop Token | 94% | 97% | 100% | 85% |
| Valid Harmony Structure | 100% | 100% | 100% | 100% |
The model generates structured responses using the Harmony-Enedina format with two channels:
Domain-specific tokens (<|shaft|>, <|python|>, <|numerical|>, <|latex|>) demarcate semantic boundaries within the output.
The model was trained without sliding window attention, repetition penalty, or n-gram blocking. These techniques must remain disabled during inference:
# CORRECT configuration (BASELINE)
use_sliding_window = False
repetition_penalty = 1.0
no_repeat_ngram_size = 0
temperature = 0.0 # greedy decoding
Enabling these techniques degrades performance from 94% to 8% correct stop tokens.
Mini-Enedina is designed for:
Important: Model outputs should always be verified against independent calculations for safety-critical applications.
If you use this model, please cite:
@article{leitaofilho2026minienedina,
title={Mini-Enedina: A Domain-Specialized Small Language Model for Structural Shaft Analysis Using Timoshenko Beam Theory},
author={Leit{\~a}o Filho, Antonio de Sousa and Barros Filho, Allan Kardec Duailibe and Lima, Fabr{\'i}cio Saul and Santos, Selby Mykael Lima dos and Sousa, Rejani Bandeira Vieira},
year={2026}
}
This work was supported by Aia Context Ltda. and by FINEP -- Funding Authority for Studies and Projects, a Brazilian government agency for science, technology, and innovation linked to the Ministry of Science, Technology and Innovation (MCTI), under Contract No. 03.25.0080.00.
CC-BY-4.0