livinNector commited on
Commit
f80549a
·
verified ·
1 Parent(s): 7c2e940

End of training

Browse files
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: livinNector/m-minilm-l12-h384-dra-tam-mal-aw-setfit-finetune
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ model-index:
10
+ - name: m-minilm-l12-h384-dra-tam-mal-aw-setfit-double-finetune
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # m-minilm-l12-h384-dra-tam-mal-aw-setfit-double-finetune
18
+
19
+ This model is a fine-tuned version of [livinNector/m-minilm-l12-h384-dra-tam-mal-aw-setfit-finetune](https://huggingface.co/livinNector/m-minilm-l12-h384-dra-tam-mal-aw-setfit-finetune) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.5252
22
+ - Accuracy: 0.7759
23
+ - F1: 0.7752
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 0.0001
43
+ - train_batch_size: 128
44
+ - eval_batch_size: 128
45
+ - seed: 42
46
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 6
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
53
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:------:|
54
+ | 0.6682 | 0.4444 | 20 | 0.6228 | 0.6659 | 0.6625 |
55
+ | 0.6171 | 0.8889 | 40 | 0.6035 | 0.6789 | 0.6756 |
56
+ | 0.5673 | 1.3333 | 60 | 0.5673 | 0.7188 | 0.7155 |
57
+ | 0.5481 | 1.7778 | 80 | 0.5864 | 0.6993 | 0.6937 |
58
+ | 0.5137 | 2.2222 | 100 | 0.5245 | 0.7465 | 0.7440 |
59
+ | 0.4527 | 2.6667 | 120 | 0.5279 | 0.7522 | 0.7506 |
60
+ | 0.4596 | 3.1111 | 140 | 0.5172 | 0.7579 | 0.7576 |
61
+ | 0.3943 | 3.5556 | 160 | 0.5366 | 0.7514 | 0.7514 |
62
+ | 0.3836 | 4.0 | 180 | 0.5387 | 0.7628 | 0.7627 |
63
+ | 0.3627 | 4.4444 | 200 | 0.5802 | 0.7490 | 0.7480 |
64
+ | 0.3302 | 4.8889 | 220 | 0.5616 | 0.7563 | 0.7563 |
65
+ | 0.2999 | 5.3333 | 240 | 0.5745 | 0.7620 | 0.7598 |
66
+ | 0.3061 | 5.7778 | 260 | 0.5651 | 0.7694 | 0.7689 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.47.1
72
+ - Pytorch 2.5.1+cu124
73
+ - Datasets 3.2.0
74
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "livinNector/m-minilm-l12-h384-dra-tam-mal-aw-setfit-finetune",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 384,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 1536,
13
+ "layer_norm_eps": 1e-12,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "bert",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 12,
18
+ "pad_token_id": 0,
19
+ "position_embedding_type": "absolute",
20
+ "problem_type": "single_label_classification",
21
+ "tokenizer_class": "XLMRobertaTokenizer",
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.47.1",
24
+ "type_vocab_size": 2,
25
+ "use_cache": true,
26
+ "vocab_size": 250037
27
+ }
default/head_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "activation_function": "gelu",
4
+ "bias": true,
5
+ "embedding_size": 768,
6
+ "head_type": "masked_lm",
7
+ "label2id": null,
8
+ "layer_norm": true,
9
+ "layers": 2,
10
+ "shift_labels": false,
11
+ "vocab_size": 250000
12
+ },
13
+ "hidden_size": 768,
14
+ "model_class": "BertAdapterModel",
15
+ "model_name": "ai4bharat/IndicBERTv2-MLM-only",
16
+ "model_type": "bert",
17
+ "name": "default",
18
+ "version": "adapters.1.0.1"
19
+ }
default/pytorch_model_head.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81ade58fc9df9dbd31f6b4dfb0ec3bcafffbd5f20b8f19438fbadbddf6688352
3
+ size 771371254
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84451016f0ccc71fabdf2ec6403cf5057b0539307ad6903b30d3e18da7f1c0d2
3
+ size 470641664
tam_mal_ai_aw_classification_adapter/adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "alpha": 8,
4
+ "architecture": "lora",
5
+ "attn_matrices": [
6
+ "q",
7
+ "v"
8
+ ],
9
+ "composition_mode": "add",
10
+ "dropout": 0.1,
11
+ "init_weights": "lora",
12
+ "intermediate_lora": false,
13
+ "leave_out": [],
14
+ "output_lora": false,
15
+ "r": 12,
16
+ "selfattn_lora": true,
17
+ "use_gating": false
18
+ },
19
+ "config_id": "a0c8452a4cfb970e",
20
+ "hidden_size": 768,
21
+ "model_class": "BertAdapterModel",
22
+ "model_name": "ai4bharat/IndicBERTv2-MLM-only",
23
+ "model_type": "bert",
24
+ "name": "tam_mal_ai_aw_classification_adapter",
25
+ "version": "adapters.1.0.1"
26
+ }
tam_mal_ai_aw_classification_adapter/pytorch_adapter.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b924cc8d8ea3bb7be73459cf3bc217f1dda9e5607a9be79faa037f4ca483f54
3
+ size 1788390
tam_mal_ai_aw_classification_head/head_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "activation_function": "ReLU",
4
+ "bias": true,
5
+ "dropout_prob": null,
6
+ "head_type": "classification",
7
+ "label2id": {
8
+ "Abusive": 1,
9
+ "Non-Abusive": 0
10
+ },
11
+ "layers": 2,
12
+ "num_labels": 2,
13
+ "use_pooler": false
14
+ },
15
+ "hidden_size": 768,
16
+ "model_class": "BertAdapterModel",
17
+ "model_name": "ai4bharat/IndicBERTv2-MLM-only",
18
+ "model_type": "bert",
19
+ "name": "tam_mal_ai_aw_classification_head",
20
+ "version": "adapters.1.0.1"
21
+ }
tam_mal_ai_aw_classification_head/pytorch_model_head.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e7d8c1397bae7f2d2c0043913999e01f2c1a6cf0c1f88a37c663f5ab7f3ae94
3
+ size 2370792
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97774b1ccd25c8504004565111a922efc61ed6eddc008185418a7686ba03239e
3
+ size 5432