huggingface / huggingface/setfit

ValueError: A column mapping must be provided when the dataset does not contain the following columns: {'text', 'label'}

Open
#226 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
2.8k
Forks
267
Avg merge
36m
Merged PRs (30d)
5

Description

I am getting this value error in trainer.evaluate() despite my dataset containing columns named 'text' and 'label'

my dataset dict looks like this:
Dataset({
features: ['text', 'reason', 'label'],
num_rows: 2062
})

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.