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.
1 parent c25791c commit dd93806Copy full SHA for dd93806
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