Khaled-Elsaka / unilm

Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities
https://aka.ms/GeneralAI
MIT License
0 stars 0 forks source link

Fix translation inference error and update test script #4

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR fixes the error that occurs during translation inference in the test.py script of the deltalm module. The error is caused by the missing task attribute in the model configuration. Additionally, the test.py script is updated to include the necessary configurations for the translation task from English to Arabic.

Summary of Changes

Please review and merge this PR to fix the translation inference error and enable translation from English to Arabic.

Fixes #1.


To checkout this PR branch, run the following command in your terminal:

git checkout sweep/fix-translation-inference

To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.