Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text generation

DrosophiLLM-0.5B

by Robin Kevin Vettik Robillionair/DrosophiLLM-0.5B

DrosophiLLM-0.5B is an open-weight model for text generation from Robin Kevin Vettik, released under MIT License. Its published files total 1.4 MB.

libraryname: transformers - neuromorphic - connectomics - drosophila - flywire - sparse-computation - causal-lm - qwen - flywire-codex-2024 pipelinetag: text-generation Biological Substrate: Adult Drosophila melanogaster Whole-Brain Connectome (FlyWire /…

Parameters—
Context—
Weights1.3 MB
Licensemit
AccessOpen weights
Monthly Downloads—

Model Card

By Robin Kevin Vettik, published under mit, revision 06d7a9a65266.

libraryname: transformers - neuromorphic - connectomics - drosophila - flywire - sparse-computation - causal-lm - qwen - flywire-codex-2024 pipelinetag: text-generation Biological Substrate: Adult Drosophila melanogaster Whole-Brain Connectome (FlyWire / Codex, Nature 2024) Contemporary Large Language Models rely universally on dense, rectangular projections ($O(N^2)$). Every token representation is forced through uniform, all-to-all matrix transformations that treat every latent channel with identical geometric indifference. Biological nervous systems operate under radically different evolutionary constraints. The adult fruit fly (Drosophila melanogaster) coordinates complex 3D aerobatics…

Read Robin Kevin Vettik's full model card

--- license: mit library_name: transformers tags: - neuromorphic - connectomics - drosophila - flywire - sparse-computation - causal-lm - qwen datasets: - flywire-codex-2024 pipeline_tag: text-generation


DrosophiLLM: Connectome-Constrained Autoregressive Language Routing

Architect & Author: Robin-Kevin Vettik (@Robillionair)
Organization: Robillionair OÜ
Base Architecture: Qwen/Qwen2.5-0.5B-Instruct
Biological Substrate: Adult Drosophila melanogaster Whole-Brain Connectome (FlyWire / Codex, Nature 2024)
License: MIT (Copyright © 2026 Robillionair OÜ / Robin-Kevin Vettik)


The Core Thesis: Beyond Dense Matrix Projections

Contemporary Large Language Models rely universally on dense, rectangular projections ($O(N^2)$). Every token representation is forced through uniform, all-to-all matrix transformations that treat every latent channel with identical geometric indifference.

Biological nervous systems operate under radically different evolutionary constraints. The adult fruit fly (Drosophila melanogaster) coordinates complex 3D aerobatics, active olfactory search, spatial dead reckoning, and visual threat evasion across ~139,000 neurons and ~54.5 million synapses—operating on a biological power budget under 1 milliwatt.

DrosophiLLM tests what happens when an autoregressive language model's latent residual stream is topologically constrained by an authentic biological connectome:

  • Real Biological Wiring: An anatomically isolated 2,048-neuron, 59,963-synapse sub-circuit spanning the Antennal Lobe (AL), Optic Lobe (OPT), Mushroom Body (MB), Central Complex (CX), and Descending Neurons (DN).
  • Dale's Principle Invariance: Synapses enforce biological neurotransmitter polarities—Acetylcholine remains strictly excitatory ($\ge 0$), while GABA and Glutamate (via GluCl channels) remain strictly inhibitory ($\le 0$).
  • Pure $O(E)$ Sparse CSR Compute: Matrix-vector passes are executed via compressed sparse row representations (torch.sparse_csr_tensor), eliminating dense $O(N^2)$ memory footprint.
  • Recurrent Settling ($k=3$): Representations settle over three recurrent iterations with membrane leak integration before projecting back to the transformer residual stream.

Architecture & Mathematical Formulation

At layer $l = 12$ of Qwen2.5-0.5B-Instruct, the residual vector $x_l \in \mathbb{R}^{B \times S \times D}$ ($D = 896$) is intercepted and projected into biological coordinate space:

$$u = x_l W_{\text{sensory}} \quad \text{where } W_{\text{sensory}} \in \mathbb{R}^{D \times N}, \; N = 2048$$

The recurrent settling state evolves across steps $t \in {0, 1, 2}$:

$$h^{(t+1)} = (1 - \sigma(\lambda)) \odot h^{(t)} + \sigma(\lambda) \odot \text{ReLU}\left( W_{\text{bio}} h^{(t)} + u \right)$$

Where $W_{\text{bio}}$ enforces biological Dale's law:

$$W_{\text{bio}} = M_{\text{sign}} \odot \text{softplus}(\Theta_{\text{gain}}) \odot \log(1 + C_{\text{syn}}) \cdot \frac{1}{\bar{d}}$$

  • $M_{\text{sign}} \in {-1, +1}^{N \times N}$ is the fixed neurotransmitter polarity matrix from the FlyWire consensus.
  • $C_{\text{syn}}$ is the verified physical synapse count from electron microscopy reconstruction.
  • $\Theta_{\text{gain}}$ is a learnable synaptic plasticity parameter.
  • $\lambda \in \mathbb{R}^N$ is the biological membrane leak parameter.

The settled activity $h^{(3)}$ is projected back into token space via the descending motor readout:

$$x_{l,\text{out}} = x_l + \text{LayerNorm}(h^{(3)} W_{\text{motor}})$$

The base language model parameters remain 100% frozen; only the sensory projector, motor readout, and biological synaptic gains are optimized.


5-Way Empirical Ablation Benchmark

To determine whether the biological connectome acts as a meaningful structural prior or merely an arbitrary sparse mask, DrosophiLLM was evaluated on 150 procedural Spatial Vector Navigation tasks alongside 150 WikiText-2 retention tasks against four null-hypothesis configurations:

Model Configuration Spatial Init PPL Spatial Final PPL $\Delta$ PPL WikiText-2 PPL Empirical Observation
Intact FlyWire Connectome 118.52 1.07 +117.45 103.70 Natural sensory-to-descending flow; lowest overall training loss (0.1763).
Shuffled Dale's Signs 108.65 1.04 +107.61 136.00 Severe language degradation (+32.3 PPL). Proves biological inhibition is required to prevent runaway latent saturation.
Degree-Matched Random 83.98 1.06 +82.92 104.87 Rewired via double-edge swaps. Destroys modular neuropil hierarchy.
Lesioned Mushroom Body (MB) 144.93 1.36 +143.57 93.16 Zeroes Kenyon cells. Highest final loss (0.9305) and worst spatial convergence.
Lesioned Central Complex (CX) 126.64 1.08 +125.56 99.38 Zeroes steering/heading rings, degrading vector-heading tracking.

Hardware Profiling: Sparse CSR vs. Dense Baseline

Benchmarked across 6 batch $\times$ sequence length combinations on equivalent $2048 \times 2048$ dimensions:

  • Weight Memory Compression: Sparse CSR allocates 0.70 MB vs. 16.00 MB for Dense FP32 (22.8× compression factor).
  • VRAM Efficiency: Consistently saves $\sim 14.6\text{ MB}$ of active working set per forward pass.
Batch $\times$ Seq Length Dense Matrix Latency Sparse CSR Latency Wall-Clock Acceleration
(1, 32) 5.90 ms 2.95 ms 2.00× speedup
(4, 32) 17.08 ms 9.51 ms 1.80× speedup
(16, 32) 65.28 ms 36.79 ms 1.77× speedup
(1, 128) 17.71 ms 9.38 ms 1.89× speedup
(4, 128) 66.79 ms 39.74 ms 1.68× speedup
(16, 128) 269.66 ms 173.55 ms 1.55× speedup

Anatomical Telemetry & Functional Localization

By measuring regional sub-circuit activations during generation, DrosophiLLM demonstrates clear functional routing:

  • Motor Output Localization: Descending Neurons (DN) exhibit statistically significant activation variance on directional/motion tokens compared to neutral text ($t = 8.85, p = 1.29 \times 10^{-9}$, Welch's $t$-test).
  • Kenyon Cell Associative Hubs: High-degree Kenyon cells (KC_0742, KC_0964) act as primary associative firing clusters, driving transient cholinergic spikes during decision sequences.

Quickstart

git clone https://github.com/Rob-bio4/DrosophiLLM.git
cd DrosophiLLM
pip install -r requirements.txt

1. Run Comprehensive Unit Tests

pytest tests/test_neuromorphic.py -v

2. Run 5-Way Ablation Benchmark

python -m fly_neuro.train_eval --neurons 1024 --epochs 2 --samples 150

3. Run Hardware Memory & Latency Profiler

python -m fly_neuro.benchmark_efficiency

4. Run Anatomical Telemetry Probing

python -m fly_neuro.probing --samples 25

5. Launch Live Hugging Face Gradio Space (Interactive 3D Connectome)

python app.py

Navigate to http://localhost:7860 to query DrosophiLLM with spatial decision prompts and observe real-time 3D synaptic activation patterns.


Scientific Citations

@article{dorkenwald2024neuronal,
  title={Neuronal wiring diagram of an adult brain},
  author={Dorkenwald, Sven and McKellar, Claire E and Macrina, Thomas and others},
  journal={Nature},
  volume={634},
  pages={124--138},
  year={2024},
  publisher={Nature Publishing Group},
  doi={10.1038/s41586-024-07558-y}
}

@article{schlegel2024whole,
  title={Whole-brain annotation and multi-connectome marker atlas for Drosophila},
  author={Schlegel, Philipp and Yin, Yijie and Bates, Alexander S and others},
  journal={Nature},
  volume={634},
  pages={139--152},
  year={2024},
  publisher={Nature Publishing Group},
  doi={10.1038/s41586-024-07686-5}
}

Copyright © 2026 Robillionair OÜ / Robin-Kevin Vettik. Released under the MIT License.

Identity and Version

Repository
Robillionair/DrosophiLLM-0.5B
Publisher
Robin Kevin Vettik
Task
Text generation
Modality
Text
Library
transformers
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
06d7a9a6526661624b424e53075556c00211ed6d
First published
2026-09-19
Last updated
2026-09-19

Files and Weights

17 files, 1.4 MB in total. The weights are 1 file totalling 1.3 MB in pt.

Weights1 file · 1.3 MB
Configuration12 files · 97.2 KB
Documentation1 file · 8.1 KB
Other1 file · 129 B
Repository2 files · 1.6 KB
Every file
FileTypeSizeSHA-256
fly_connectome_csr.ptWeights1.3 MB f26f0b5418f4
app.pyConfiguration11.7 KB —
fly_connectome_csr_meta.jsonConfiguration2.6 KB —
fly_neuro/__init__.pyConfiguration972 B —
fly_neuro/ablations.pyConfiguration6.5 KB —
fly_neuro/benchmark_efficiency.pyConfiguration6.4 KB —
fly_neuro/data_loader.pyConfiguration15.5 KB —
fly_neuro/model_splice.pyConfiguration9.7 KB —
fly_neuro/neuromorphic_layer.pyConfiguration7.4 KB —
fly_neuro/probing.pyConfiguration7.9 KB —
fly_neuro/tasks.pyConfiguration8.1 KB —
fly_neuro/train_eval.pyConfiguration9.7 KB —
tests/test_neuromorphic.pyConfiguration10.8 KB —
README.mdDocumentation8.1 KB —
requirements.txtOther129 B —
.gitattributesRepository1.5 KB —
.gitignoreRepository92 B —

License and Download

License
mit
Access
Open weights, no gate
Download size
1.3 MB
Download from Robin Kevin Vettik

Released by Robin Kevin Vettik through its official repository on Hugging Face. Read the license.

Built From

  • Trained on (disclosed) flywire-codex-2024

Memory Requirements

PrecisionWeights in memory
As published1.3 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About DrosophiLLM-0.5B

Can I use DrosophiLLM-0.5B commercially?

Yes. DrosophiLLM-0.5B is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

Similar Models

Model · Text generation

opt-125m

AI at Meta

OPT was first introduced in Open Pre-trained Transformer Language Models and first released in metaseq's repository on May 3rd 2022 by Meta AI. Disclaimer: The team releasing OPT wrote an official model card, which is available in Appendix D of the paper. Content from this model card has been written by the Hugging Face team. To quote the first two paragraphs of the official paper OPT was predominantly pretrained with English text, but a small amount of non-English data is still present within the training corpus via CommonCrawl. The model was pretrained using a causal language modeling (CLM) objective. OPT belongs to the same family of decoder-only models like GPT-3. As such, it was…

Open weights other 2,048 tokens transformers

Model · Text generation

Ornith-1.5-9B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ternary-Bonsai-2-27B-gguf

Prism ML

Full 27B-class reasoning in ternary transformer weights, for llama.cpp (CUDA, Metal, CPU) - \~5.9 GB language model (down from \~54 GB FP16) — full 27B-class reasoning on a standard laptop or a single GPU - 98.2% of FP16 intelligence retained: 84.78 average across 14 thinking-mode benchmarks — far above the conventional IQ2XXS build (72.59) at about 82% of its footprint, and within 0.4 points of UD-Q4KXL at three times the footprint - Retains thinking, reasoning, and agentic behavior deep in the sub-4-bit regime, where conventional low-bit representations collapse: math within half a point of full precision (96.57), coding level with the baseline (89.42), agentic tool calling at 74.92…

Open weights apache-2.0 llama.cpp

Model · Text generation

Ornith-1.5-35B-A3B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Uncensored Qwen3.8-27B, published as GGUF quantizations with the multi token prediction (MTP) head retained and verified. Refusal behaviour has been substantially reduced, not eliminated. See Measured behaviour for the numbers. Capabilities, training data, and architecture are otherwise unchanged. - Refusal directions removed with Heretic, which co minimizes refusal count against KL divergence from the base model. No handwritten refusal removal code, no finetuning, no additional training data. - Abliteration runs at bf16 (no 4 bit quantization). the resulting LoRA is merged into the bf16 base, so the published weights are not a quantized round trip. - mtp. tensors are copied verbatim from…

Open weights apache-2.0 llama.cpp

Model · Text generation

Ornith-1.0-9B-GGUF

Ornith

Aloha! Today, we are releasing Ornith-1.0, a self-improving family of open-source models for agentic coding. This model card documents Ornith-1.0-9B, the most lightweight member of the Ornith family, designed for efficient single-GPU deployment. Ornith-1.0-9B is a dense ~9B model (≈19 GB in bf16), so it serves comfortably on a single 80GB GPU. The recipes below stand up an OpenAI-compatible server; add --tensor-parallel-size / --tp if you want to shard across more GPUs. For a quick local test (or to script offline generation), load the model directly with Transformers. Make sure you have a recent release installed — see the Transformers installation guide; Ornith-1.0-9B requires…

Open weights mit transformers