My own implementation of the transformer (for educational purposes). Includes visualizations of the attention heads in action.
Run encode_data.py to encode a folder of text data
Run minature.py to train
Run vizualize.py to create visualizations
My own implementation of the transformer (for educational purposes)
Python
My own implementation of the transformer (for educational purposes). Includes visualizations of the attention heads in action.
Run encode_data.py to encode a folder of text data
Run minature.py to train
Run vizualize.py to create visualizations