You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"You are using a model of type camembert to instantiate a model of type roberta. This is not supported for all configurations of models and can yield errors." warning issued during test_translate test.
bact
changed the title
bug: Using camembert model to instantiate roberta model
bug: translate: Using camembert model to instantiate roberta model
Feb 11, 2024
Description
"You are using a model of type camembert to instantiate a model of type roberta. This is not supported for all configurations of models and can yield errors." warning issued during
test_translate
test.Possibly from
scb_1m_th-en_spm
model.Expected results
No warning
Current results
See https://github.com/PyThaiNLP/pythainlp/actions/runs/7861725110/job/21450401313#step:5:1449
Steps to reproduce
Run
test_translate.py
PyThaiNLP version
5.0.1
Python version
3.8
Operating system and version
Linux and Mac
More info
No response
Possible solution
No response
Files
Relevant code blocks:
pythainlp/tests/test_translate.py
Lines 12 to 15 in c8b547e
pythainlp/pythainlp/translate/en_th.py
Lines 37 to 42 in c8b547e
pythainlp/pythainlp/translate/en_th.py
Lines 19 to 25 in c8b547e
The text was updated successfully, but these errors were encountered: