Skip to content

PyTorch-based custom Transformer model from scratch for Language Translation

License

Notifications You must be signed in to change notification settings

PritK99/TransPy

Repository files navigation

Transformers-from-Scratch

Project logo

Table of Contents

About

PyTorch-based custom Transformer model from scratch for English-to-Spanish translation, inspired by the "Attention is All You Need" paper.

Transformer Architecture

Demo

Documentation

Please refer /documentation or click here for complete documentation of the project

File Structure

👨‍💻Transformers-from-Scratch
 ┣ 📂assets                            // Contains all the reference gifs, images
 ┣ 📂documentation                     // Contains documentation and my notes on transformers
 ┃ ┣ 📄README.md
 ┣ 📄model.py                          // Transformer Architecture
 ┣ 📄train.py                          // Training loop
 ┣ 📄dataset.py                        // Loading & Preprocessing Dataset  
 ┣ 📄config.py 
 ┣ 📂visualization                     // Contains other visualizations
 ┃ ┣ 📄embedding.py
 ┃ ┣ 📄README.md
 ┣ 📄README.md

Contributors

References

License

MIT License

About

PyTorch-based custom Transformer model from scratch for Language Translation

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages