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

colab is broken ? #4

Closed
evanthebouncy opened this issue Jan 6, 2021 · 2 comments
Closed

colab is broken ? #4

evanthebouncy opened this issue Jan 6, 2021 · 2 comments

Comments

@evanthebouncy
Copy link

this cell:

tokenizer = SimpleTokenizer()
text_tokens = [tokenizer.encode("This is " + desc + "<|endoftext|>") for desc in texts]

when you run it, generates the following error:


NameError Traceback (most recent call last)
in ()
----> 1 tokenizer = SimpleTokenizer()
2 text_tokens = [tokenizer.encode("This is " + desc + "<|endoftext|>") for desc in texts]

NameError: name 'SimpleTokenizer' is not defined

@jongwook
Copy link
Collaborator

jongwook commented Jan 6, 2021

Hi, there is a hidden cell above that in the "text preprocessing" section. Could you check if that cell was executed?

@evanthebouncy
Copy link
Author

sorry I must have missed that cell. this has been resolved. thanks !

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

2 participants