Add multi-label text classification support to pytorch example #24770
ranchlai
marked this pull request as draft 2 years ago
ranchlai
changed the title Add multi-label text classification support to pytorch example run_glue.py [WIP]Add multi-label text classification support to pytorch example run_glue.py 2 years ago
ranchlai
changed the title [WIP]Add multi-label text classification support to pytorch example run_glue.py [WIP]Add multi-label text classification support to pytorch example 2 years ago
Add text classification example
1dbfbb1b
set the problem type and finetuning task
2501805c
ruff reformated
bff4c639
ranchlai
marked this pull request as ready for review 2 years ago
ranchlai
changed the title [WIP]Add multi-label text classification support to pytorch example Add multi-label text classification support to pytorch example 2 years ago
fix bug for unseting label_to_id for regression
1b4ab6b0
update README.md
6416b46f
fixed finetuning task
518e122f
sgugger
approved these changes
on 2023-07-19
update comment
b5d29000
check if label exists in feature before removing
ac6a0d18
add useful logging
cbd38363
sgugger
merged
8fd8c8e4
into main 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub