yilmazzey commited on
Commit
5f0f6b2
·
verified ·
1 Parent(s): 2c22cb4

Add cache-consistent wrong samples for 4 ensemble bases + BiLSTM 16feat

Browse files
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - text-classification
5
+ language:
6
+ - tr
7
+ tags:
8
+ - nli
9
+ - turkish
10
+ - error-analysis
11
+ - ensemble
12
+ pretty_name: Turkish NLI Wrong Samples (Ensemble Base Models + BiLSTM)
13
+ size_categories:
14
+ - 10K<n<100K
15
+ configs:
16
+ - config_name: bert-allnli-tr
17
+ data_files: bert-allnli-tr/data.parquet
18
+ - config_name: mdeberta-v3-base-mnli-xnli
19
+ data_files: mdeberta-v3-base-mnli-xnli/data.parquet
20
+ - config_name: gemma-3-27b-it
21
+ data_files: gemma-3-27b-it/data.parquet
22
+ - config_name: qwen2-7b-instruct
23
+ data_files: qwen2-7b-instruct/data.parquet
24
+ - config_name: bilstm-16feat-entropy
25
+ data_files: bilstm-16feat-entropy/data.parquet
26
+ ---
27
+
28
+ # Turkish NLI — Wrong Samples (4 Ensemble Bases + BiLSTM)
29
+
30
+ Wrongly predicted examples for the four ensemble base models and the best
31
+ meta-learner (**BiLSTM 16-feature + entropy**), from the Turkish NLI project
32
+ (`yilmazzey/sdp2-nli` evaluation splits).
33
+
34
+ ## Prediction source (consistent across all configs)
35
+
36
+ All **base-model** wrong sets use:
37
+
38
+ `argmax` over softmax arrays in
39
+ `stacking_cache_train_split_16feat_entropy/`
40
+
41
+ | Model | Softmax origin |
42
+ |------|----------------|
43
+ | BERT (`emrecan/bert-base-turkish-cased-allnli_tr`) | Encoder classifier softmax |
44
+ | mDeBERTa (`MoritzLaurer/mDeBERTa-v3-base-mnli-xnli`) | Encoder classifier softmax |
45
+ | Gemma 3 27B IT | **Verbalizer** softmax (last prompt position) |
46
+ | Qwen2 7B Instruct | **Verbalizer** softmax (last prompt position) |
47
+
48
+ **BiLSTM** uses the same cached softmax vectors as 16 features
49
+ (12 probabilities + 4 entropies) with the trained `*_bilstm.pt` meta-learner
50
+ per dataset config. So base-model wrongs and BiLSTM wrongs are comparable
51
+ on the same scoring path (not first-word generation / hard JSON).
52
+
53
+ ## Configs (load one model at a time)
54
+
55
+ ```python
56
+ from datasets import load_dataset
57
+
58
+ ds = load_dataset("yilmazzey/wrong_samples", "bert-allnli-tr")
59
+ ds = load_dataset("yilmazzey/wrong_samples", "mdeberta-v3-base-mnli-xnli")
60
+ ds = load_dataset("yilmazzey/wrong_samples", "gemma-3-27b-it")
61
+ ds = load_dataset("yilmazzey/wrong_samples", "qwen2-7b-instruct")
62
+ ds = load_dataset("yilmazzey/wrong_samples", "bilstm-16feat-entropy")
63
+ ```
64
+
65
+ ## Evaluation splits covered (`split_key`)
66
+
67
+ | split_key | dataset | split |
68
+ |-----------|---------|-------|
69
+ | `snli_tr_1_1::test` | snli_tr_1_1 | test |
70
+ | `multinli_tr_1_1::validation_matched` | multinli_tr_1_1 | validation_matched |
71
+ | `multinli_tr_1_1::validation_mismatched` | multinli_tr_1_1 | validation_mismatched |
72
+ | `trglue_mnli::test_matched` | trglue_mnli | test_matched |
73
+ | `trglue_mnli::test_mismatched` | trglue_mnli | test_mismatched |
74
+
75
+ Columns `dataset`, `split`, `split_key`, and `pred_source` are present on every row.
76
+
77
+ ## Notes
78
+
79
+ - Each row is an example where **that config's model** predicted incorrectly.
80
+ - Peer predictions from the other base models are included for recovery analysis.
81
+ - This is **not** the Table-4 hard-vote JSON subset (first-word generation path).
bert-allnli-tr/data.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecc33476bad5ae851907da7159f325adae2c418de26d04d202b16b46d6ef9b42
3
+ size 1792257
bilstm-16feat-entropy/data.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7e0cc867d7a1f0acbaa089e18827ff2a2fdb62f616a91ae1ce111eb3dcd5041
3
+ size 1146464
gemma-3-27b-it/data.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d73a278d481974392bb5c0b9815beebe94f1f6c0dcf40a164f1bf501635291b6
3
+ size 2813904
mdeberta-v3-base-mnli-xnli/data.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f054915959b3eaa6e0d7b796fdc7b50c611c63e50ea8f7f980d4d5c0f7e8025
3
+ size 1157195
qwen2-7b-instruct/data.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e8c07ab4c20d2aaa05a073bf99ed87ae90e337e287c50a968fb015da4020df2
3
+ size 1233201
summary.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bert-allnli-tr": {
3
+ "n_wrong": 15222,
4
+ "splits": {
5
+ "multinli_tr_1_1::validation_matched": 3630,
6
+ "multinli_tr_1_1::validation_mismatched": 3536,
7
+ "snli_tr_1_1::test": 2453,
8
+ "trglue_mnli::test_matched": 3070,
9
+ "trglue_mnli::test_mismatched": 2533
10
+ },
11
+ "pred_source": [
12
+ "stacking_cache_argmax"
13
+ ]
14
+ },
15
+ "mdeberta-v3-base-mnli-xnli": {
16
+ "n_wrong": 9962,
17
+ "splits": {
18
+ "multinli_tr_1_1::validation_matched": 2068,
19
+ "multinli_tr_1_1::validation_mismatched": 1985,
20
+ "snli_tr_1_1::test": 2624,
21
+ "trglue_mnli::test_matched": 1833,
22
+ "trglue_mnli::test_mismatched": 1452
23
+ },
24
+ "pred_source": [
25
+ "stacking_cache_argmax"
26
+ ]
27
+ },
28
+ "gemma-3-27b-it": {
29
+ "n_wrong": 27841,
30
+ "splits": {
31
+ "multinli_tr_1_1::validation_matched": 5882,
32
+ "multinli_tr_1_1::validation_mismatched": 5855,
33
+ "snli_tr_1_1::test": 5325,
34
+ "trglue_mnli::test_matched": 5411,
35
+ "trglue_mnli::test_mismatched": 5368
36
+ },
37
+ "pred_source": [
38
+ "stacking_cache_argmax"
39
+ ]
40
+ },
41
+ "qwen2-7b-instruct": {
42
+ "n_wrong": 10760,
43
+ "splits": {
44
+ "multinli_tr_1_1::validation_matched": 2755,
45
+ "multinli_tr_1_1::validation_mismatched": 2689,
46
+ "snli_tr_1_1::test": 2519,
47
+ "trglue_mnli::test_matched": 1661,
48
+ "trglue_mnli::test_mismatched": 1136
49
+ },
50
+ "pred_source": [
51
+ "stacking_cache_argmax"
52
+ ]
53
+ },
54
+ "bilstm-16feat-entropy": {
55
+ "n_wrong": 7638,
56
+ "splits": {
57
+ "multinli_tr_1_1::validation_matched": 1953,
58
+ "multinli_tr_1_1::validation_mismatched": 1839,
59
+ "snli_tr_1_1::test": 1615,
60
+ "trglue_mnli::test_matched": 1341,
61
+ "trglue_mnli::test_mismatched": 890
62
+ },
63
+ "pred_source": [
64
+ "stacking_cache_softmax_features+trained_bilstm"
65
+ ]
66
+ }
67
+ }