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

Fix example doc in load function #575

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Conversation

alexrs
Copy link
Contributor

@alexrs alexrs commented Apr 15, 2024

What

The example in the docs for the load function is wrong, and should be

>>> from evaluate import load
>>> accuracy = load("accuracy")

or

>>> import evaluate
>>> accuracy = evaluate.load("accuracy")

Why

Small change, but it was kinda bothering me 😅

Copy link
Member

@lhoestq lhoestq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks ^^

@lhoestq lhoestq merged commit 04c7588 into huggingface:main Apr 18, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants