selsar commited on
Commit
18b8f01
·
verified ·
1 Parent(s): 090f63b

Initial release: German target-abroad NLI model

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: MoritzLaurer/mDeBERTa-v3-base-mnli-xnli
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: outputs_target_abroad_de_final
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # outputs_target_abroad_de_final
16
+
17
+ This model is a fine-tuned version of [MoritzLaurer/mDeBERTa-v3-base-mnli-xnli](https://huggingface.co/MoritzLaurer/mDeBERTa-v3-base-mnli-xnli) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: nan
20
+ - Accuracy Mc: 0.5
21
+ - Precision Macro: 0.25
22
+ - Recall Macro: 0.5
23
+ - F1 Macro: 0.3333
24
+ - Precision Weighted: 0.25
25
+ - Recall Weighted: 0.5
26
+ - F1 Weighted: 0.3333
27
+ - Accuracy Bin: 0.5
28
+ - Precision Bin: 0.0
29
+ - Recall Bin: 0.0
30
+ - F1 Bin: 0.0
31
+ - Auc Bin: nan
32
+
33
+ ## Model description
34
+
35
+ More information needed
36
+
37
+ ## Intended uses & limitations
38
+
39
+ More information needed
40
+
41
+ ## Training and evaluation data
42
+
43
+ More information needed
44
+
45
+ ## Training procedure
46
+
47
+ ### Training hyperparameters
48
+
49
+ The following hyperparameters were used during training:
50
+ - learning_rate: 2e-05
51
+ - train_batch_size: 16
52
+ - eval_batch_size: 16
53
+ - seed: 42
54
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
55
+ - lr_scheduler_type: linear
56
+ - lr_scheduler_warmup_steps: 0.06
57
+ - num_epochs: 3
58
+
59
+ ### Training results
60
+
61
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy Mc | Precision Macro | Recall Macro | F1 Macro | Precision Weighted | Recall Weighted | F1 Weighted | Accuracy Bin | Precision Bin | Recall Bin | F1 Bin | Auc Bin |
62
+ |:-------------:|:-----:|:----:|:---------------:|:-----------:|:---------------:|:------------:|:--------:|:------------------:|:---------------:|:-----------:|:------------:|:-------------:|:----------:|:------:|:-------:|
63
+ | 0.0 | 1.0 | 490 | nan | 0.5 | 0.25 | 0.5 | 0.3333 | 0.25 | 0.5 | 0.3333 | 0.5 | 0.0 | 0.0 | 0.0 | nan |
64
+ | 0.0 | 2.0 | 980 | nan | 0.5 | 0.25 | 0.5 | 0.3333 | 0.25 | 0.5 | 0.3333 | 0.5 | 0.0 | 0.0 | 0.0 | nan |
65
+ | 0.0 | 3.0 | 1470 | nan | 0.5 | 0.25 | 0.5 | 0.3333 | 0.25 | 0.5 | 0.3333 | 0.5 | 0.0 | 0.0 | 0.0 | nan |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 5.0.0
71
+ - Pytorch 2.9.0+cu126
72
+ - Datasets 4.5.0
73
+ - Tokenizers 0.22.2
best_threshold.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"best_threshold": 0.5}
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DebertaV2ForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 1,
7
+ "dtype": "float16",
8
+ "eos_token_id": 2,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "entailment",
14
+ "1": "neutral",
15
+ "2": "contradiction"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "contradiction": 2,
21
+ "entailment": 0,
22
+ "neutral": 1
23
+ },
24
+ "layer_norm_eps": 1e-07,
25
+ "legacy": true,
26
+ "max_position_embeddings": 512,
27
+ "max_relative_positions": -1,
28
+ "model_type": "deberta-v2",
29
+ "norm_rel_ebd": "layer_norm",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "pad_token_id": 0,
33
+ "pooler_dropout": 0,
34
+ "pooler_hidden_act": "gelu",
35
+ "pooler_hidden_size": 768,
36
+ "pos_att_type": [
37
+ "p2c",
38
+ "c2p"
39
+ ],
40
+ "position_biased_input": false,
41
+ "position_buckets": 256,
42
+ "relative_attention": true,
43
+ "share_att_key": true,
44
+ "tie_word_embeddings": true,
45
+ "transformers_version": "5.0.0",
46
+ "type_vocab_size": 0,
47
+ "use_cache": false,
48
+ "vocab_size": 251000
49
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29b8ba7c2ffae85b1a074667b8d12f632c4d023a504c84e94a456cbc767e6dd9
3
+ size 557647822
test_per_outlet_summary.csv ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ outlet,support,precision_entailment,recall_entailment,f1_entailment,precision_contradiction,recall_contradiction,f1_contradiction,accuracy,macro_f1,weighted_f1
2
+ Bild,180,0.0,0.0,0.0,0.8666666666666667,1.0,0.9285714285714286,0.8666666666666667,0.4642857142857143,0.8047619047619048
3
+ FAZ,188,0.0,0.0,0.0,0.7393617021276596,1.0,0.8501529051987767,0.7393617021276596,0.42507645259938837,0.6285704990565424
4
+ SZ,180,0.0,0.0,0.0,0.8833333333333333,1.0,0.9380530973451328,0.8833333333333333,0.4690265486725664,0.828613569321534
5
+ Spiegel,180,0.0,0.0,0.0,0.85,1.0,0.918918918918919,0.85,0.4594594594594595,0.7810810810810812
6
+ Welt,180,0.0,0.0,0.0,0.7722222222222223,1.0,0.8714733542319749,0.7722222222222223,0.43573667711598746,0.6729710902124696
7
+ Zeit,180,0.0,0.0,0.0,0.7444444444444445,1.0,0.8535031847133758,0.7444444444444445,0.4267515923566879,0.6353857041755131
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a66269b2b7b04009c9e482ef6a99accee231b6822b83e7eb6df36626b61db43a
3
+ size 16014878
tokenizer_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "backend": "tokenizers",
4
+ "bos_token": "[CLS]",
5
+ "clean_up_tokenization_spaces": true,
6
+ "cls_token": "[CLS]",
7
+ "do_lower_case": false,
8
+ "eos_token": "[SEP]",
9
+ "is_local": false,
10
+ "mask_token": "[MASK]",
11
+ "model_max_length": 512,
12
+ "pad_token": "[PAD]",
13
+ "sep_token": "[SEP]",
14
+ "sp_model_kwargs": {},
15
+ "split_by_punct": false,
16
+ "tokenizer_class": "DebertaV2Tokenizer",
17
+ "unk_id": 3,
18
+ "unk_token": "[UNK]",
19
+ "vocab_type": "spm"
20
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e753d4489257ff1204be1153c33469bdc9d99fa3dd0ff788ac4d6457fbe250a
3
+ size 5201