ainouche-abderahmane commited on
Commit
2472c16
·
verified ·
1 Parent(s): 682f3c5

Normalise 34 rows that kept homoglyphs; correct the card's class supports

Browse files
Files changed (5) hide show
  1. README.md +18 -4
  2. dataset.stats.json +27 -0
  3. dev.parquet +2 -2
  4. test.parquet +2 -2
  5. train.parquet +2 -2
README.md CHANGED
@@ -106,14 +106,28 @@ the output is guaranteed canonical.
106
 
107
  ## Baseline Benchmarks
108
 
109
- Empirical classification baselines evaluated on `test.jsonl` (1,500 test sentences, 500 per class):
 
 
110
 
111
  | System / Model | Setting | Accuracy | Macro F1 | Negative F1 | Neutral F1 | Positive F1 |
112
  |---|---|---|---|---|---|---|
113
- | **Masinissa-31M** | Linear Probe (Frozen Encoder + Single Linear) | 77.53% | 0.7764 | 0.7389 | 0.8298 | 0.7604 |
114
- | **Masinissa-31M** | Full Fine-Tuning (RoBERTa-style Head) | **88.80%** | **0.8880** | **0.8831** | **0.9111** | **0.8697** |
115
 
116
- Linear Probe evaluates pure feature separability of the frozen pre-trained encoder (Mean Pooling single `nn.Linear`). Full Fine-Tuning fits the encoder end-to-end with a `RobertaClassificationHead` (`Dense` → `Tanh` → `Dropout` → `Linear`).
 
 
 
 
 
 
 
 
 
 
 
 
117
 
118
  ## Why this benchmark exists
119
 
 
106
 
107
  ## Baseline Benchmarks
108
 
109
+ Scored on `test.jsonl` 1,500 sentences, 521 negative / 490 neutral / 489 positive.
110
+ The corpus is balanced at exactly 5,000 per class; the split is random, so each split is
111
+ approximately rather than exactly balanced.
112
 
113
  | System / Model | Setting | Accuracy | Macro F1 | Negative F1 | Neutral F1 | Positive F1 |
114
  |---|---|---|---|---|---|---|
115
+ | **Masinissa-31M** | linear probe, frozen encoder | 77.53% | 0.7764 | 0.7389 | 0.8298 | 0.7604 |
116
+ | **Masinissa-31M** | full fine-tune | **88.80%** | **0.8880** | **0.8831** | **0.9111** | **0.8697** |
117
 
118
+ The **probe** is one `[hidden3]` layer over a frozen encoder, mean-pooled: it measures
119
+ what pretraining already put in the representation, and nothing else can be credited for
120
+ it. The **fine-tune** unfreezes everything and adds a tanh bottleneck: it measures what the
121
+ checkpoint is worth as an initialisation. The 11-point gap between them is the task's
122
+ non-linearity — no gap would have meant the head was doing the work.
123
+
124
+ Both select their epoch on dev by macro F1 and score test once. On a 1,500-row split that
125
+ is not a formality: choosing the epoch on test would report the best of fifteen draws as
126
+ though it were one.
127
+
128
+ ```bash
129
+ make modal-sentiment TASK=benchmark
130
+ ```
131
 
132
  ## Why this benchmark exists
133
 
dataset.stats.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "KabSentiment",
3
+ "files": [
4
+ {
5
+ "config": "default",
6
+ "split": "train",
7
+ "rows": 12000,
8
+ "path": "train.parquet",
9
+ "bytes": 672031
10
+ },
11
+ {
12
+ "config": "default",
13
+ "split": "dev",
14
+ "rows": 1500,
15
+ "path": "dev.parquet",
16
+ "bytes": 92688
17
+ },
18
+ {
19
+ "config": "default",
20
+ "split": "test",
21
+ "rows": 1500,
22
+ "path": "test.parquet",
23
+ "bytes": 93076
24
+ }
25
+ ],
26
+ "rows": 15000
27
+ }
dev.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f083510c996c720ba32e6c04e67e346524e81adae94c34ee4829c60395f58965
3
- size 56282
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eae46aa5f829ebe7216bb76234335efdac6188590a422c1d6db8bcc852bcabef
3
+ size 92688
test.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6585f07bd97d457bab755ac7d9b9bc9e3713513d2be3a0614765b7788fd89084
3
- size 56506
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff329c0d994b1fb6bdaa019bb42c4e44ae3a5cb18d1e351639df6a86178d5953
3
+ size 93076
train.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:84814a84c19e7252d4427b7c53549ae34fc4ad3674672e755e459d7c42048f09
3
- size 419011
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae2fa2388d6c4fc7ce6e6130b0c98e48319c3fdd67667f7583ecc12d0678c8a5
3
+ size 672031