Closed rajgar114 closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
Hey @rajgar114,
Sorry to answer so late! It's quite difficult to reproduce an error that occurs in a full training loop. Could you by chance provide a minimal reproducible code snippet? Ideally one that doesn't require any dataset but just a tensorflow dummy tensor?
Sorry, I didn't get that. I have pasted the complete code. You can try to reproduce that even on 2-3 line of dataset as given in Output:-
English Hinglish
How are you ? Tum kaise ho ?
I am fine. Main theek hoon
This can be easily converted to tensors as I have used above. This can act as dummy tensors after tokenization.
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
Environment info
transformers
version: 4.5.1Who can help
@patrickvonplaten
Information
I am performing a type of machine translation task in which I have to translate English Sentences to Hinglish Sentences. I am trying to use the pre-trained Transformer-XL Model by fine tuning it on my custom dataset. Here is my code:
Outputs
Error
Please help me in detecting the reason and solving the error. Also I want to know whether I am following a correct way to achieve my task or I am missing something. Thanks