-
Notifications
You must be signed in to change notification settings - Fork 372
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
Fix flake8 lint error in our repo #234
Conversation
@@ -11,6 +11,7 @@ | |||
import regex as re | |||
from functools import lru_cache | |||
|
|||
|
|||
@lru_cache() | |||
def bytes_to_unicode(): |
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.
Have the functions in this file been included in the GPT2 tokenizer etc as in Texar-PyTorch? So that we can get rid of this file?
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.
Yes. After this one is merged, I will refactor #228 and merge it at first and then polish GPT2 example.
.flake8
file.travis.yml
to get rid of a huge amount of error messagesflake8
lint errors in bothtexar
andexamples