ThilinaRajapakse / simpletransformers

Transformers for Information Retrieval, Text Classification, NER, QA, Language Modelling, Language Generation, T5, Multi-Modal, and Conversational AI
https://simpletransformers.ai/
Apache License 2.0
4.04k stars 726 forks source link

Documentation conflict: is Longformer really "not available with Multi-label classification"? #1483

Open mgh1 opened 1 year ago

mgh1 commented 1 year ago

Describe the bug On the official documentation website here, it lists Longformer with a under the Supported Model Types section. Then a legend with says * Not available with Multi-label classification which says Longformer is NOT available with multi-label classification. However I do see LongformerForMultiLabelSequenceClassification exists in the code.

Is the documentation out of date or is there really no official support for Longformer in multi-label classification?

To Reproduce Steps to reproduce the behavior:

  1. Visit the official documentation website here and read the support model types and notice that longformer is noted as not supported for multi-label classification.

Expected behavior The documentation is updated to indicate it is supported, or further clarification is provided because there is a conflict with the code itself.

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

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.