Downloads · 30 days
4
7% of all-time downloads
OlesB/distilbert-base-uncased-finetuned-ner_finer_139
distilbert-base-uncased-finetuned-ner_finer_139 is a token classification model from OlesB. 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.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
4
7% of all-time downloads
All-time downloads
54
Public
Parameters
66.4M
3.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors265 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of distilbert/distilbert-base-uncased on an nlpaueb/finer-139 dataset.
It achieves the following results on the evaluation set:
nlpaueb/finer-139OB-DebtInstrumentFaceAmountI-DebtInstrumentFaceAmountB-DebtInstrumentBasisSpreadOnVariableRate1I-DebtInstrumentBasisSpreadOnVariableRate1B-LesseeOperatingLeaseTermOfContractI-LesseeOperatingLeaseTermOfContractB-ContractWithCustomerLiabilityI-ContractWithCustomerLiabilityThe DistilBert model was trained using the specified subset of the FiNER-139 dataset. The training involved tokenizing the input text, aligning labels with tokens, and performing fine-tuning over 5 epochs. The learning rate was set to 2e-5 with a weight decay of 0.01 for regularization.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.0031 | 1.0 | 1094 | 0.0025 | 0.6633 | 0.8234 | 0.7347 | 0.9992 |
| 0.002 | 2.0 | 2188 | 0.0018 | 0.8088 | 0.8224 | 0.8155 | 0.9995 |
| 0.0012 | 3.0 | 3282 | 0.0018 | 0.7680 | 0.8924 | 0.8255 | 0.9995 |
| 0.0008 | 4.0 | 4376 | 0.0017 | 0.8479 | 0.8736 | 0.8605 | 0.9996 |
| 0.0005 | 5.0 | 5470 | 0.0019 | 0.8112 | 0.8934 | 0.8503 | 0.9996 |
In addition to overall metrics, the model's performance was assessed for each entity type. Below are the evaluation results per class, providing insight into the model's ability to accurately identify and classify various named entities:
| Entity Type | Precision | Recall | F1-Score | Support |
|---|---|---|---|---|
| ContractWithCustomerLiability | 0.895 | 0.607 | 0.723 | 28 |
| DebtInstrumentBasisSpreadOnVariableRate1 | 0.866 | 0.969 | 0.914 | 452 |
| DebtInstrumentFaceAmount | 0.754 | 0.844 | 0.797 | 469 |
| LesseeOperatingLeaseTermOfContract | 1.000 | 0.500 | 0.667 | 8 |
Example of usage can be found here