Views
No views yet
bert-large-cased model to enable multi-label token classification.bert-large-cased and thus needs to be fine-tuned for downstream tasks.id2label and label2id, similarly to standard token classification fine tuning:1from transformers import AutoModelForTokenClassification
2
3model = AutoModelForTokenClassification.from_pretrained('jvaquet/multilabel-classification-bert',
4 id2label = id2label,
5 label2id = label2id,
6 trust_remote_code=True)