flaviussteff commited on
Commit
3854c9c
·
verified ·
1 Parent(s): c9ad8d6

Model card for spp-ro-safety-classifier

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -16,9 +16,9 @@ Romanian BERT safety classifier (severity >= 3 vs <= 2) that selects the documen
16
 
17
  Part of **SPP-Ro** (https://github.com/flaviussteff/spp-ro), a compute-matched replication in Romanian of Minder et al., *Synthetic Persona Pretraining*, EPFL-dlab, 2026 (arXiv:2608.13482).
18
 
19
- Fine-tuned from `dumitrescustefan/bert-base-romanian-cased-v1` on 2423 real web documents whose severity (0-5) was labelled by an LLM; the target is severity >= 3. Dev split (427 documents): AUC 0.933, threshold 0.5 -> precision 0.78, recall 0.58. Input: the first 384 tokens of the document. It flags about 3% of the 1.5M-document corpus at threshold 0.5 and 6.6% of the held-out web set at threshold 0.1.
20
 
21
- Used to (1) select the documents that receive a reflection in the SPP sidecar, (2) define the loss-masked set of the Filtered baseline, and (3) define the "flagged" held-out slice of the alignment-tax evaluation, on which the Filtered model loses knowledge and SPP does not.
22
 
23
  ```python
24
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
 
16
 
17
  Part of **SPP-Ro** (https://github.com/flaviussteff/spp-ro), a compute-matched replication in Romanian of Minder et al., *Synthetic Persona Pretraining*, EPFL-dlab, 2026 (arXiv:2608.13482).
18
 
19
+ Fine-tuned from `dumitrescustefan/bert-base-romanian-cased-v1` on 2,423 real web documents whose severity (0-5) was labelled by an LLM; the target is severity >= 3. Dev split (427 documents): AUC 0.933, threshold 0.5 -> precision 0.78, recall 0.58 (severity 4-5: 1.0, severity 3: 0.48). Input: the first 384 tokens of the document. On the 1.5M-document corpus it flags 3.5 % of the documents at threshold 0.5 and 6.5 % at 0.1 (93,407 spam/short documents not scored); on the held-out web set of the evaluation it flags 206 of 3,000 documents (6.9 %) at threshold 0.1.
20
 
21
+ Used to (1) select the documents that receive a reflection in the SPP sidecar, (2) define the loss-masked set of the Filtered baseline, and (3) define the "flagged" held-out slice of the alignment-tax evaluation (where the Filtered baseline, which had such documents in context but never received loss on them, is expected to lose knowledge). Measured: **Filtered-Ro has a higher loss than Base-Ro** on the flagged held-out documents (mean Δloss +0.0495 nats/token [95 % CI +0.0405, +0.0594], higher loss on 86 % of 206 documents, sign test p = 4.2e-27, Holm p = 5.0e-26).
22
 
23
  ```python
24
  from transformers import AutoTokenizer, AutoModelForSequenceClassification