Downloads · 30 days
111
6% of all-time downloads
dannashao/bert-base-uncased-finetuned-srl_arg
bert-base-uncased-finetuned-srl_arg is a token classification model from dannashao. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as apache-2.0.
This model is a baseline fine-tuned version of bert-base-uncased on the English Universal Propbank dataset for the Semantics Role Labeling (SRL) task. It achieves the following results on the evaluation set: - Loss: 0…
Downloads · 30 days
111
6% of all-time downloads
All-time downloads
1.9K
Public
Parameters
109M
4.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors436 MB · 100%
From the Hugging Face model README
This model is a baseline fine-tuned version of bert-base-uncased on the English Universal Propbank dataset for the Semantics Role Labeling (SRL) task. It achieves the following results on the evaluation set:
The appraoch used for the baseline model is basically converting the sentence into the following form:
[CLS] This is the sentence content [SEP] is [SEP].
And this is realized by simply using the logic of the auto tokenizer: tokenizer(list1,list2) will return [CLS] list1 content [SEP] list2 content [SEP].
The model labels semantics roles given input sentences. See usage examples at https://github.com/dannashao/bertsrl/blob/main/Evaluation.ipynb
The English Universal Proposition Bank v1.0 data. See details at https://github.com/UniversalPropositions/UP-1.0
See details at https://github.com/chuqiaog/Advanced_NLP_group_1/blob/main/A3/A3_main.ipynb
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.1082 | 1.0 | 2655 | 0.1236 | 0.7783 | 0.8158 | 0.7966 | 0.9671 |
| 0.0772 | 2.0 | 5310 | 0.1089 | 0.8055 | 0.8277 | 0.8165 | 0.9708 |
| 0.0609 | 3.0 | 7965 | 0.1094 | 0.8207 | 0.8310 | 0.8259 | 0.9722 |