Open
Description
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
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
To do