osmanh commited on
Commit
b6d7ae1
1 Parent(s): 4cfc756

Training in progress, step 500

Browse files
Files changed (4) hide show
  1. README.md +76 -0
  2. config.json +45 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: Bert-Contact-NLI
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # Bert-Contact-NLI
21
+
22
+ This model is a fine-tuned version of [MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7](https://huggingface.co/MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.8520
25
+ - Model Preparation Time: 0.0063
26
+ - Accuracy: 0.7222
27
+ - Precision: 0.7086
28
+ - Recall: 0.7284
29
+ - F1: 0.7134
30
+ - Ratio: 0.3611
31
+
32
+ ## Model description
33
+
34
+ More information needed
35
+
36
+ ## Intended uses & limitations
37
+
38
+ More information needed
39
+
40
+ ## Training and evaluation data
41
+
42
+ More information needed
43
+
44
+ ## Training procedure
45
+
46
+ ### Training hyperparameters
47
+
48
+ The following hyperparameters were used during training:
49
+ - learning_rate: 2e-05
50
+ - train_batch_size: 8
51
+ - eval_batch_size: 8
52
+ - seed: 42
53
+ - gradient_accumulation_steps: 2
54
+ - total_train_batch_size: 16
55
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
56
+ - lr_scheduler_type: linear
57
+ - num_epochs: 5
58
+ - mixed_precision_training: Native AMP
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | Model Preparation Time | Accuracy | Precision | Recall | F1 | Ratio |
63
+ |:-------------:|:------:|:----:|:---------------:|:----------------------:|:--------:|:---------:|:------:|:------:|:------:|
64
+ | No log | 0.9895 | 47 | 0.8446 | 0.0063 | 0.6142 | 0.6097 | 0.5667 | 0.5804 | 0.5340 |
65
+ | No log | 2.0 | 95 | 0.7677 | 0.0063 | 0.6821 | 0.6774 | 0.6708 | 0.6636 | 0.3148 |
66
+ | No log | 2.9895 | 142 | 0.7705 | 0.0063 | 0.7006 | 0.6919 | 0.6740 | 0.6805 | 0.4043 |
67
+ | No log | 4.0 | 190 | 0.7969 | 0.0063 | 0.7006 | 0.6787 | 0.7153 | 0.6915 | 0.3951 |
68
+ | No log | 4.9474 | 235 | 0.8520 | 0.0063 | 0.7222 | 0.7086 | 0.7284 | 0.7134 | 0.3611 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.46.2
74
+ - Pytorch 2.5.1+cu121
75
+ - Datasets 3.1.0
76
+ - Tokenizers 0.20.3
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7",
3
+ "architectures": [
4
+ "DebertaV2ForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "entailment",
12
+ "1": "neutral",
13
+ "2": "contradiction"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "label2id": {
18
+ "contradiction": 2,
19
+ "entailment": 0,
20
+ "neutral": 1
21
+ },
22
+ "layer_norm_eps": 1e-07,
23
+ "max_position_embeddings": 512,
24
+ "max_relative_positions": -1,
25
+ "model_type": "deberta-v2",
26
+ "norm_rel_ebd": "layer_norm",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 12,
29
+ "pad_token_id": 0,
30
+ "pooler_dropout": 0,
31
+ "pooler_hidden_act": "gelu",
32
+ "pooler_hidden_size": 768,
33
+ "pos_att_type": [
34
+ "p2c",
35
+ "c2p"
36
+ ],
37
+ "position_biased_input": false,
38
+ "position_buckets": 256,
39
+ "relative_attention": true,
40
+ "share_att_key": true,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.46.2",
43
+ "type_vocab_size": 0,
44
+ "vocab_size": 250511
45
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ca11d0f156f923b452cab0a41de8782f6366394e0771f51318914216ed62d2d
3
+ size 1113769068
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3527acd15170aa0096e3730ffaf1fb95b7bce821be6fc49ef50e1d5d72fddb7b
3
+ size 5240