-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Question in 02_classification.ipynb #131
Comments
Hey @pangniuniu95, You might have done this, but can you cross-check again on If you're still getting the error, can you provide the part of the script - function calling and other relevant code? |
I'm getting the same error when I run 01_introduction.ipynb on Colab. I've double checked that I have run
|
It seems that I can get around this by manually defining the labels
|
There is no issue if I run a seperate notebook with
So it could be that it's the version of the |
Information
The question or comment is about chapter:
Question or comment
def label_int2str(row):
return emotions["train"].features["label"].int2str(row)
but I received error report as: 'Value' object has no attribute 'int2str'.
I printed the types of emotions[label] with emotions["train"].features["label"], I received Value(dtype='int64', id=None)
The text was updated successfully, but these errors were encountered: