jsl5710 commited on
Commit
132f18d
·
verified ·
1 Parent(s): 3375d8e

Add holdout test set results to model card

Browse files
Files changed (1) hide show
  1. README.md +28 -0
README.md CHANGED
@@ -78,6 +78,34 @@ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
78
  > Early stopping triggered when eval_loss did not improve for 3 consecutive evaluations.
79
 
80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  ## Training Setup
82
 
83
  - **Training objective:** Cross-Entropy (next-token prediction)
 
78
  > Early stopping triggered when eval_loss did not improve for 3 consecutive evaluations.
79
 
80
 
81
+ ## Test Set Results
82
+
83
+ Evaluated on the **DIA-GUARD holdout test split** (181,874 samples across 48 English dialects).
84
+
85
+ | Metric | Value |
86
+ |--------|-------|
87
+ | **Test Accuracy** | **0.9654** |
88
+ | **Macro Precision** | 0.9676 |
89
+ | **Macro Recall** | 0.9634 |
90
+ | **Macro F1** | **0.9650** |
91
+ | **Support** | 181,874 |
92
+
93
+ ### Per-class
94
+
95
+ | Class | Precision | Recall | F1 | Support |
96
+ |-------|-----------|--------|----|---------|
97
+ | **safe** | 0.9844 | 0.9392 | 0.9613 | 83,140 |
98
+ | **unsafe** | 0.9507 | 0.9875 | 0.9688 | 98,734 |
99
+
100
+ ### Confusion Matrix
101
+
102
+ | | Pred safe | Pred unsafe |
103
+ |-------------|-----------|-------------|
104
+ | **True safe** | 78,087 | 5,053 |
105
+ | **True unsafe** | 1,234 | 97,500 |
106
+
107
+ > Per-dialect breakdown available in `per_dialect.json` in the corresponding results folder.
108
+
109
  ## Training Setup
110
 
111
  - **Training objective:** Cross-Entropy (next-token prediction)