-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
The sample code for Chapter 3 the original transformer runs, but does not produce translated output in French. I've run the code locally and on Google Colab and the results are the same, i.e. no errors, but no translated output either.
...
Epoch 9, Loss 7.816434800624847
Source text: hello, how are you?
Translated text:
In addition to this string, I copied exact text from the training data, and even that was not translated:
Source text: Extraordinary Treatment of Injured Canadian Soldiers
Translated text:
Source text: integrating existing strategies and activities is difficult
Translated text:
Could you check the code, please? Here are the versions I am using:
| Package | Version |
|---|---|
| Python | 3.13.7 (same with 3.13.5) |
| numpy | 2.2.6 |
| pandas | 2.3.1 |
| tokenizers | 0.22.0 |
| torch | 2.8.0 |
| transformers | 4.56.1 |
Metadata
Metadata
Assignees
Labels
No labels