Sequence modeling · Data engineering
Protogen
Set five sliders, and a small AI model I trained writes new protein sequences you can copy or download.
Python / PyTorch / FastAPI / React

A small AI model that writes protein sequences.
425 → 85rows to unique sequences
Proteins are chains of 20 building blocks (amino acids), written as letters. Protogen learned from 68 real protein sequences and writes new ones one letter at a time. The sliders nudge the mix of letters, for example more water-repelling ones. You can export the results as a FASTA file, the standard format for sequences.
How it's built
- Removed 340 duplicate rows before creating seeded training, validation and test partitions of 68 / 8 / 9 unique sequences.
- Built a 2-layer, 4-head PyTorch generator with five heuristic composition controls and FASTA export.
- Ran a three-epoch CPU experiment against a training-only unigram baseline; added 18 regression tests.
Limits
Composition controls are heuristics. Generated sequences have not been validated for biological function. The small experiment is not evidence of therapeutic or laboratory efficacy.
- 01Deduplicate
- 02Split dataset
- 03Train causally
- 04Generate sequence