Skip to content

About

Using the Transformer architecture from the Attention Is All You Need paper to build a model that translates text from Spanish to Portuguese with high accuracy and efficiency.

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Table of Contents

About

A small project to learn more about transformers using it to translate from spanish to portuguese. The structure described in the paper Attention is all you need, https://arxiv.org/abs/1706.03762, is the one used.

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

You need to have a machine with Python > 3.9.

$ python3.9 -V
Python 3.9.1

Installing the requirements

You can install anaconda using https://docs.anaconda.com/anaconda/install/windows/. Once set up, run the powershell, and move to the directory with the copy of the repository. Finally open the local server with:

$ jupyter notebook

Running the code

To see examples of the trained model, one can simply run the Test.ipynb and everything is set up to run 10 random examples, or write a file with 100 examples. Some can be found in the examples-results.txt

About

Using the Transformer architecture from the Attention Is All You Need paper to build a model that translates text from Spanish to Portuguese with high accuracy and efficiency.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages