xezpeleta commited on
Commit
925eefc
Β·
verified Β·
1 Parent(s): f0e468e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +17 -17
README.md CHANGED
@@ -37,26 +37,26 @@ Training used **LoRA (r=16, alpha=32)** on the boundary/task heads, merged into
37
 
38
  Evaluation on BasqueGLUE validation sets (500 sentences per split, exact match on type + mention string):
39
 
40
- | Metric | Base (zero-shot) | Full fine-tune | **LoRA + replay (this model)** |
41
- |---|---|---|---|
42
- | nerc_id/val person name F1 | 0.664 | 0.850 | **0.850** |
43
- | nerc_id/val micro F1 | 0.464 | 0.753 | **0.787** |
44
- | nerc_od/val (Wikipedia) person name F1 | 0.721 | 0.831 | 0.813 |
45
 
46
  On a PII probe sentence combining several entity types:
47
 
48
- | PII type | Base (zero-shot) | Full fine-tune | **LoRA + replay (this model)** |
49
- |---|---|---|---|
50
- | person name | βœ“ | βœ“ | βœ“ |
51
- | email | βœ“ | βœ— | βœ“ |
52
- | phone number | βœ“ | βœ— | βœ“ |
53
- | bank account number | βœ“ | βœ“ | βœ“ |
54
- | date of birth | βœ“ | βœ— | βœ“ |
55
- | zip code | βœ“ | βœ— | βœ“ |
56
- | national id | βœ— | βœ— | **βœ“** |
57
- | address | βœ— | βœ— | **βœ“** |
58
-
59
- A full fine-tune on the Basque NER data alone causes catastrophic forgetting: five PII types are lost. The LoRA + experience replay combination achieves the same Basque NER F1 while retaining (and in two cases improving on) the original PII detection behavior.
60
 
61
  ## Usage
62
 
 
37
 
38
  Evaluation on BasqueGLUE validation sets (500 sentences per split, exact match on type + mention string):
39
 
40
+ | Metric | Base (zero-shot) | **This model** |
41
+ |---|---|---|
42
+ | nerc_id/val person name F1 | 0.664 | **0.850** |
43
+ | nerc_id/val micro F1 | 0.464 | **0.787** |
44
+ | nerc_od/val (Wikipedia) person name F1 | 0.721 | 0.813 |
45
 
46
  On a PII probe sentence combining several entity types:
47
 
48
+ | PII type | Base (zero-shot) | **This model** |
49
+ |---|---|---|
50
+ | person name | βœ“ | βœ“ |
51
+ | email | βœ“ | βœ“ |
52
+ | phone number | βœ“ | βœ“ |
53
+ | bank account number | βœ“ | βœ“ |
54
+ | date of birth | βœ“ | βœ“ |
55
+ | zip code | βœ“ | βœ“ |
56
+ | national id | βœ— | **βœ“** |
57
+ | address | βœ— | **βœ“** |
58
+
59
+ Fine-tuning a PII model on new-language NER data alone typically causes catastrophic forgetting of the original entity types. The LoRA + experience replay combination used here preserves the base model's PII detection behavior (and even improves on `national id` and `address`) while achieving strong Basque NER results.
60
 
61
  ## Usage
62