Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

토크나이저 warning 메시지 관련 #8

Open
sysmetic opened this issue Feb 19, 2021 · 0 comments
Open

토크나이저 warning 메시지 관련 #8

sysmetic opened this issue Feb 19, 2021 · 0 comments

Comments

@sysmetic
Copy link

안녕하세요

tokenizer = KoBertTokenizer.from_pretrained("monologg/kobert")

이분에서 아래와 같은 메세지가 뜹니다.

/home/username/.local/lib/python3.8/site-packages/transformers/tokenization_utils_base.py:1421: FutureWarning: The max_len attribute has been deprecated and will be removed in a future version, use model_max_length instead.
warnings.warn(
Setting 'max_len_single_sentence' is now deprecated. This value is automatically set up.
Setting 'max_len_sentences_pair' is now deprecated. This value is automatically set up.

혹시 버전에 맞게 수정 가능할까요?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant