What about the solution provided here: Multi-class Using Dataset - #2 by lhoestq
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Dataset for multilabel classification | 1 | 313 | January 20, 2025 | |
| Multi-class Using Dataset | 5 | 3806 | February 10, 2023 | |
| Creating a Sequence of ClassLabel for multi-label and multi-class problems | 5 | 882 | March 26, 2024 | |
| How to build a multi-label & multi-class dataset correctly? | 4 | 961 | April 18, 2025 | |
| Data format for BertForSequenceClassification with num_labels > 2 | 5 | 4999 | August 2, 2021 |