Skip to content

ValueError: multiclass-multioutput format is not supported #1576

Description

@aneeshafedo

Describe the bug
I am trying to train a Multi-Label Classification on regression mode following the example here. My dataset looks like below.

latitude            longitude         text
-29.23333	-177.9167	"Kermadec Islands Nature Reserve, Raoul Island, The Terraces, Matatirohia, Raoul Island Accommodation House Grounds"
-29.23333	-177.9167	"Kermadec Islands, Raoul I, Matatirohia, Raoul Accommodation House Grounds"
-29.233333	177.916667	"New Zealand; Kermadec Ecological Region and District, Raoul Island, Bells Gully north of DoC camp (site K)"
-29.242138	-177.9605	"Kermadec Islands, Raoul Island, near Western Spring"
-29.24223	-177.9448	"Kermadec Islands, Raoul I, Ravine 8, Track to Western Springs"
-29.246	-177.927	"Kermadec Islands: Raoul Meteorologiacal Station, Hostel garden"

However I am getting below error when trying to train data on this dataset.

ValueError: multiclass-multioutput format is not supported

However when "evaluate_during_training": False I am not getting the error. But without providing the evaluation dataset, the trained model is not performing well.

Is there any workaround for this. I am using the latest version of simpletransformers model. I also tried with multiple other previous versions.

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Getting the error in Google Colab and Ubuntu

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleThis issue has become stale

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions