Hi, how exactly do I use other HF models? I tried google/madlad400-3b-mt but it returned some warnings (Your input_length: 22 is bigger than 0.9 * max_length: 20. You might consider increasing your max_length manually, e.g. translator('...', max_length=400)
C:\Users\X\anaconda3\envs\manga-translator\lib\site-packages\transformers\generation\utils.py:1355: UserWarning: Using the model-agnostic default max_length (=20) to control the generation length. We recommend setting max_new_tokens to control the maximum length of the generation.) and, I assume because the model is multilingual and there is no way to specify languages, it produced french text
Hi, how exactly do I use other HF models? I tried google/madlad400-3b-mt but it returned some warnings (Your input_length: 22 is bigger than 0.9 * max_length: 20. You might consider increasing your max_length manually, e.g. translator('...', max_length=400) C:\Users\X\anaconda3\envs\manga-translator\lib\site-packages\transformers\generation\utils.py:1355: UserWarning: Using the model-agnostic default
max_length
(=20) to control the generation length. We recommend settingmax_new_tokens
to control the maximum length of the generation.) and, I assume because the model is multilingual and there is no way to specify languages, it produced french text