第0話
The first try
archived
October 2023, a first try. I scraped the Archer scripts, tokenised them with spaCy, and trained a word-level RNN, first in Keras, then rewritten in PyTorch. It never wrote anything usable. The idea came back in 2026, from the paper up.
continuedつづく
第1話
The paper, rebuilt
completed
The original Transformer, encoder, decoder and attention, reimplemented from the paper in PyTorch, with training and evaluation scripts.
A learning exercise. Given one line of Archer, predict the next, trained on fourteen seasons of subtitles. Training loss fell from 7.5 to 4.4 over 200 epochs.
the end完
次回予告Next time: BERT from scratch.