Closed pirhoo closed 5 months ago
Hello :wave:
Just wanted to check if you could review my PR ; Unfortunately this error is a bit blocking for me.
Good catch thank you!
I pushed this change in v1.9.5
Wonderful, thanks!
Why was this causing issues for you? This fix is definitely correct but I've never seen the deprecated version cause problems.
The error started to appear for me when upgraded Argos Translate from 1.7 to 1.9: https://github.com/ICIJ/es-translator/commit/a2e329b238e200978922e018ce385002d7fceb44
As you can see, CTranslate2 is a transitive dependency for me. No idea why the error did not appear sooner (I saw you upgraded it prior to Argos Translate 1.8), really weird!
Hello,
I noticed a deprecation warning when running the
FewShotTranslation.apply_packaged_translation
method:This could lead to an exception:
So I simply used the new properties as suggested by ctranslate2.
Let me know if you want me to add a safer access to the properties for retro-compatibility.
Thanks for the great tool!