EDAN20 Lab 6: character-level translator

English to Italian. Small encoder-decoder transformer trained character by character on 36,000 Tatoeba sentence pairs, on a laptop CPU. Works best on short, simple sentences (max 60 characters). The model runs in your browser (NumPy version of the trained PyTorch model), so the first load takes a few seconds.

Loading Python and the model...
Examples: