We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44e5400 + dd93806 commit 7d60f91Copy full SHA for 7d60f91
Tutorials/09_translation_transformer/test.py
@@ -55,7 +55,8 @@ def read_files(path):
55
val_dataset = []
56
for es, en in val_examples:
57
results, duration = translator.predict(es)
58
- print(en.lower())
59
- print(results)
+ print("Spanish: ", es.lower())
+ print("English: ", en.lower())
60
+ print("English pred:", results)
61
print(duration)
62
print()
0 commit comments