Views
No views yet
distilbert-base-cased (65.2M params, ~250MB fp32 on disk) on
Ali-0111/applied-nlp-ner-stage2-expanded
(644 train / 115 test records) for 8-label NER token classification (BIO scheme, 17 tags).distilbert-base-cased is the smallest well-supported cased token-classification checkpoint with
a strong NER track record, over a genuinely-smaller-but-uncased-only alternative
(google/electra-small-discriminator, 14M) or an even tinier uncased option
(prajjwal1/bert-mini/bert-small, 11-29M) that would have sacrificed the capitalization signal
and risked quality on the dataset's thinnest labels (WORKOFART, PRODUCT).CUDA_VISIBLE_DEVICES=""):
distilbert-base-casedstage3_model/scripts/prepare_bio.py (char-span to BIO alignment via tokenizer offset
mapping), stage3_model/scripts/train.py (training + evaluation), stage3_model/scripts/measure_cpu_inference.py| Label | Precision | Recall | F1 | Support |
|---|---|---|---|---|
| AMOUNT | 0.944 | 0.960 | 0.952 | 977 |
| JOB | 0.928 | 0.957 | 0.942 | 536 |
| LOCATION | 0.904 | 0.925 | 0.915 | 603 |
| ORGANIZATION | 0.933 | 0.957 | 0.945 | 717 |
| PERSON | 0.942 | 0.929 | 0.936 | 666 |
| PRODUCT | 0.815 | 0.837 | 0.826 | 190 |
| TIMEDATE | 0.931 | 0.931 | 0.931 | 825 |
| WORKOFART | 0.939 | 0.946 | 0.942 | 277 |
| Label | Precision | Recall | F1 | Support |
|---|---|---|---|---|
| AMOUNT | 0.915 | 0.950 | 0.932 | 260 |
| JOB | 0.723 | 0.754 | 0.738 | 114 |
| LOCATION | 0.723 | 0.802 | 0.760 | 91 |
| ORGANIZATION | 0.661 | 0.757 | 0.706 | 111 |
| PERSON | 0.825 | 0.819 | 0.822 | 138 |
| PRODUCT | 0.667 | 0.636 | 0.651 | 22 |
| TIMEDATE | 0.762 | 0.752 | 0.757 | 145 |
| WORKOFART | 0.719 | 0.767 | 0.742 | 60 |