-
Notifications
You must be signed in to change notification settings - Fork 20.3k
Base language model docstrings #7104
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
| """ | ||
|
|
||
| def get_token_ids(self, text: str) -> List[int]: | ||
| """Return the ordered ids of the tokens in a text. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be nice to add comment about when/why to use this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
im actually not super sure when this would be used (aside from where used below)
No description provided.