Example translations

Just for fun, I've provided a few attempted translations here. These all come from the front of the training set, which means I'm making predictions on the training dataset, so these translations likely make the model look better than it actually is.

Our first translation gives you a feel for what we're expecting, and the network does a good job:

Input sentence: Help!

Correct translation: À l'aide!

Decoded sentence: À l'aide!

The translation following is more interesting because the learned phrase isn't connected to any of the training phrases. The phrase Vas-tu immédiatement! translates to something like You go immediately which is very similar and perhaps even correct:

Input sentence: Go on. Correct translation: ...

Get Deep Learning Quick Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.