huggingface / huggingface/course

Outdated video about `load_metric` at `Fine-tuning a model with the Trainer API`

Open
#893 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
4.2k
Forks
1.4k
Avg merge
13m
Merged PRs (30d)
1

Description

At the [`Fine-tuning a model with the Trainer API` page](https://huggingface.co/learn/llm-course/chapter3/3?fw=pt), if you watch the video on top of the page, you will be told to use `load_metric` from `datasets`.

![Image](https://github.com/user-attachments/assets/7b21021b-902e-4c12-8435-68a8fa2041b9)

But we don't use that anymore. The latest version of `datasets` doesn't have `load_metric`. We use the `evaluate` library instead.

![Image](https://github.com/user-attachments/assets/7fe9c467-edc0-4b86-a114-a7be4b242baa)

The video should be updated or at least we should put a correction below the video at the page (if updating the video is too cumbersome).

@stevhliu

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.