[NLP]PyTorch로 번역기 구현하기 vol2
AttnSeq2Seq In [1]: from google.colab import drive import sys from IPython import display import os drive . mount ( '/content/drive' ) FOLDERNAME = 'translation' sys . path . append ( 'content/drive/My Drive/ {} ' . format ( FOLDERNAME )) % cd /content/drive/My Drive/$FOLDERNAME % load_ext autoreload % autoreload 2 Mounted at /content/drive /content/drive/My Drive/translation Loading data files ¶ The data for this project is a set of many thousands of English to French translation pairs. This question on Open Data Stack Exchange https://opendata.stackexchange.com/questions/3888/dataset-of-sentences-translated-into-many-languages __ pointed me to the open translation site https://tatoeba.org/ which has downloads available at https://tatoeba.org/eng/downloads - and better yet, someone did the extra work of splitting languag...