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

ValueError: multiclass-multioutput format is not supported #1576

Open
aneeshafedo opened this issue Jul 25, 2024 · 1 comment
Open

ValueError: multiclass-multioutput format is not supported #1576

aneeshafedo opened this issue Jul 25, 2024 · 1 comment

Comments

@aneeshafedo
Copy link

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.

@aneeshafedo
Copy link
Author

@ThilinaRajapakse will you be able to help me on this.

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

No branches or pull requests

1 participant