Views
No views yet
Which animal has more poison - the salamander that sticks out its bone or the frog with the sharp head thing, and how do they both make their enemies hurt?torch, numpy, regex and colorama.uv run inference.py -i 117M_fp32/final.bin -e cl16k.bin -T "Which animal has more poison - the salamander that sticks out its bone or the frog with the sharp head thing, and how do they both make their enemies hurt?" I dont understand why they all work together.
### 1. Query Decomposition
"pouring your animal's survival" → food safety concern
"all the animals" → dual danger threshold
"potential danger" → threshold question, not just threshold
● High confidence: food safety, environmental impact, food safety
User seeking: food safety considerations, policy implications, environmental interactions
### 2. Domain Contextualization
Food safety (food safety): food safety, food safety, health needs
"all the animals" → food safety threshold, environmental impact
"all the animals" → food safety threshold, food safety concerns
"did it work together" → safety safety requirements, environmental conditions
Key domains needed:
- food safety physiology (flight, feeding, food safety)
- environmental risk stratification
- environmental factors
- environmental interactions
### 3. Information State Assessment
● High confidenceAttention Is All You Need paper has created a huge wave of AI development in recent years. The scaled dot-product attention allows for information to be processed with higher efficiency and quality, which the previous RNN-based models lacked. However Transformer-based models comes with their own challenges, particularly with parameter efficiency for tiny models with parameters ≤ 5M. At such small scale a Transformer model essentially uses more parameter than it really should. This sub-ten-million parameters domain space is very underexplored and for good reasons but I wanted to explore it anyways. So here-in this paper I am introducing Silia, a novel transformer architecture designed for efficient modelling & classification tasks under severe parameter budget. Training against GPT-2 architecture (Andrej Karpathy's nanoGPT project) with same "base" hyperparameters, training data and compute budget, Silia achieves comparable loss and generation quality with significantly less parameters.Attention layer with the FFN layer to save lots of parameters while preserving much of the original performance. This new Attention-merged-FFN layer is what I call Silia or Silu in Attention as I took SwiGLU as the base FFN layer.softmax as it's activation function but softmax only decides which tokens should attend to which other tokens. This makes softmax a not so "strong" activation function.Input tokens
|
[Token Embedding]
|
[Silia Block xN:]
|--- Multi-Headed Attention
| |--- Rotary Positional Embeddings
| |--- QK Norm
| |--- Scaled Dot Product Attention
|--- Silu activation function
|--- Multi-Headed Attention
|--- Attention Residuals
[Output Projection (weight-tied)]
|
Next token logits@software{Silia,
author={Srijan Srivastava},
title={Silia},
url={https://github.com/SrijanSriv211/Silia},
version={0.1.0},
year = {2026}
}