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

Vocab API 변경 사항 반영 #644

Closed
9bow opened this issue Mar 26, 2023 · 0 comments
Closed

Vocab API 변경 사항 반영 #644

9bow opened this issue Mar 26, 2023 · 0 comments
Assignees
Labels
기타 이슈 기타 질문/요청 등, 정의되지 않은 이슈

Comments

@9bow
Copy link
Member

9bow commented Mar 26, 2023

문서 URL

수정이 필요한 URL을 남겨주세요. (예. https://tutorials.pytorch.kr/beginner/basics/intro.html)

변경 사항

(1)어떤 단어 / 문장 / 내용이 (2)어떻게 변경되어야 한다고 생각하세요?
https://github.com/PyTorchKorea/tutorials-kr/blob/master/beginner_source/torchtext_translation.py#L67

torchtext.vocab.Vocab Class의 생성자에서 specials= 인자를 부르는 대신,
torchtext.vocab.vocab() 을 사용하여 Vocab Object를 반환받습니다.

추가 정보

위와 같이 생각하신 이유 또는 다른 참고할 정보가 있다면 알려주세요.

https://pytorch.org/text/stable/vocab.html

@9bow 9bow self-assigned this Apr 8, 2023
@9bow 9bow added the 기타 이슈 기타 질문/요청 등, 정의되지 않은 이슈 label Apr 8, 2023
@9bow 9bow closed this as completed Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
기타 이슈 기타 질문/요청 등, 정의되지 않은 이슈
Projects
None yet
Development

No branches or pull requests

1 participant