Last active
June 14, 2020 04:51
-
-
Save NMZivkovic/a2a47cc8bbabf7d10e4f4c4accdd92c1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tfds.core.DatasetInfo( | |
name='ted_hrlr_translate', | |
version=0.0.1, | |
description='Data sets derived from TED talk transcripts for comparing similar language pairs | |
where one is high resource and the other is low resource. | |
', | |
urls=['https://github.com/neulab/word-embeddings-for-nmt'], | |
features=Translation({ | |
'en': Text(shape=(), dtype=tf.string), | |
'ru': Text(shape=(), dtype=tf.string), | |
}), | |
total_num_examples=218387, | |
splits={ | |
'test': 5476, | |
'train': 208106, | |
'validation': 4805, | |
}, | |
supervised_keys=('ru', 'en'), | |
citation="""@inproceedings{Ye2018WordEmbeddings, | |
author = {Ye, Qi and Devendra, Sachan and Matthieu, Felix and Sarguna, Padmanabhan and Graham, Neubig}, | |
title = {When and Why are pre-trained word embeddings useful for Neural Machine Translation}, | |
booktitle = {HLT-NAACL}, | |
year = {2018}, | |
}""", | |
redistribution_info=, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While running above code, it gives below error:
NameError Traceback (most recent call last)
in ()
4 description='Data sets derived from TED talk transcripts for comparing similar language pairs where one is high resource and the other is low resource.',
5 urls=['https://github.com/neulab/word-embeddings-for-nmt'],
----> 6 features=Translation({
7 'en': Text(shape=(), dtype=tf.string),
8 'ru': Text(shape=(), dtype=tf.string),
NameError: name 'Translation' is not defined