├── .gitignore ├── README.md ├── data ├── data.tar.gz └── translation │ ├── eng-fra.txt │ ├── test.csv │ ├── train.csv │ └── val.csv ├── models ├── luong_attention │ └── luong_attention.py ├── luong_attention_batch │ └── luong_attention_batch.py └── luong_attention_manual_mask │ ├── luong_attention_manual_mask.py │ └── masked_rnn.py ├── train_luong_attention.py └── utils ├── __pycache__ ├── batches.cpython-36.pyc ├── embeddings.cpython-36.pyc ├── masked_cross_entropy.cpython-36.pyc └── tokens.cpython-36.pyc ├── batches.py ├── embeddings.py ├── load_and_preprocessing └── translation.py ├── masked_cross_entropy.py └── tokens.py /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | data/clickbait_coarse 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/README.md -------------------------------------------------------------------------------- /data/data.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/data/data.tar.gz -------------------------------------------------------------------------------- /data/translation/eng-fra.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/data/translation/eng-fra.txt -------------------------------------------------------------------------------- /data/translation/test.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/data/translation/test.csv -------------------------------------------------------------------------------- /data/translation/train.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/data/translation/train.csv -------------------------------------------------------------------------------- /data/translation/val.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/data/translation/val.csv -------------------------------------------------------------------------------- /models/luong_attention/luong_attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/models/luong_attention/luong_attention.py -------------------------------------------------------------------------------- /models/luong_attention_batch/luong_attention_batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/models/luong_attention_batch/luong_attention_batch.py -------------------------------------------------------------------------------- /models/luong_attention_manual_mask/luong_attention_manual_mask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/models/luong_attention_manual_mask/luong_attention_manual_mask.py -------------------------------------------------------------------------------- /models/luong_attention_manual_mask/masked_rnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/models/luong_attention_manual_mask/masked_rnn.py -------------------------------------------------------------------------------- /train_luong_attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/train_luong_attention.py -------------------------------------------------------------------------------- /utils/__pycache__/batches.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/utils/__pycache__/batches.cpython-36.pyc -------------------------------------------------------------------------------- /utils/__pycache__/embeddings.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/utils/__pycache__/embeddings.cpython-36.pyc -------------------------------------------------------------------------------- /utils/__pycache__/masked_cross_entropy.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/utils/__pycache__/masked_cross_entropy.cpython-36.pyc -------------------------------------------------------------------------------- /utils/__pycache__/tokens.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/utils/__pycache__/tokens.cpython-36.pyc -------------------------------------------------------------------------------- /utils/batches.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/utils/batches.py -------------------------------------------------------------------------------- /utils/embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/utils/embeddings.py -------------------------------------------------------------------------------- /utils/load_and_preprocessing/translation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/utils/load_and_preprocessing/translation.py -------------------------------------------------------------------------------- /utils/masked_cross_entropy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/utils/masked_cross_entropy.py -------------------------------------------------------------------------------- /utils/tokens.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rawmarshmellows/pytorch-batch-luong-attention/HEAD/utils/tokens.py --------------------------------------------------------------------------------