Skip to content

Support for load_metric has been removed in datasets@3.0.0 #153

Description

@usmanyaqoob49

So basically in chapter 8 we have used "from datasets import load_metric" but now in the latest version of the datasets they have removed the load_metric and now you have to use the evaluate module for that.
So replace the mentioned line with:

import evaluate
accuracy_score= evaluate.load('accuracy')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions