End of training
Browse files- README.md +68 -0
- config.json +27 -0
- model.safetensors +3 -0
- tam_mal_ai_aw_classification_adapter/adapter_config.json +21 -0
- tam_mal_ai_aw_classification_adapter/pytorch_adapter.bin +3 -0
- tam_mal_ai_aw_classification_head/head_config.json +21 -0
- tam_mal_ai_aw_classification_head/pytorch_model_head.bin +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: microsoft/Multilingual-MiniLM-L12-H384
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
- f1
|
10 |
+
model-index:
|
11 |
+
- name: m-minilm-l12-h384-booster-finetune
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# m-minilm-l12-h384-booster-finetune
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [microsoft/Multilingual-MiniLM-L12-H384](https://huggingface.co/microsoft/Multilingual-MiniLM-L12-H384) on the None dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.8722
|
23 |
+
- Accuracy: 0.4935
|
24 |
+
- F1: 0.6496
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 0.0001
|
44 |
+
- train_batch_size: 128
|
45 |
+
- eval_batch_size: 256
|
46 |
+
- seed: 42
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 12
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
54 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
55 |
+
| 0.535 | 2.0 | 10 | 0.8722 | 0.4935 | 0.6496 |
|
56 |
+
| 0.3502 | 4.0 | 20 | 1.2356 | 0.4124 | 0.5339 |
|
57 |
+
| 0.2564 | 6.0 | 30 | 1.2356 | 0.4866 | 0.6418 |
|
58 |
+
| 0.2995 | 8.0 | 40 | 1.6847 | 0.3329 | 0.3792 |
|
59 |
+
| 0.1545 | 10.0 | 50 | 1.7194 | 0.3423 | 0.3987 |
|
60 |
+
| 0.1196 | 12.0 | 60 | 1.6383 | 0.3826 | 0.4877 |
|
61 |
+
|
62 |
+
|
63 |
+
### Framework versions
|
64 |
+
|
65 |
+
- Transformers 4.44.2
|
66 |
+
- Pytorch 2.4.1+cu121
|
67 |
+
- Datasets 3.2.0
|
68 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/Multilingual-MiniLM-L12-H384",
|
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.44.2",
|
24 |
+
"type_vocab_size": 2,
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 250037
|
27 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:194c56cbd5ef4d88b1627bcecc6ddc9cd1ae61d767d9004f8d189366c35122f6
|
3 |
+
size 470641664
|
tam_mal_ai_aw_classification_adapter/adapter_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"architecture": "reft",
|
4 |
+
"dropout": 0.05,
|
5 |
+
"layers": "all",
|
6 |
+
"non_linearity": null,
|
7 |
+
"orthogonality": true,
|
8 |
+
"output_reft": true,
|
9 |
+
"prefix_positions": 3,
|
10 |
+
"r": 1,
|
11 |
+
"suffix_positions": 0,
|
12 |
+
"tied_weights": false
|
13 |
+
},
|
14 |
+
"config_id": "141e29e6c21f7261",
|
15 |
+
"hidden_size": 384,
|
16 |
+
"model_class": "BertAdapterModel",
|
17 |
+
"model_name": "livinNector/m-minilm-l12-h384-data-augumented-dra-tam-mal-aw-classification-finetune",
|
18 |
+
"model_type": "bert",
|
19 |
+
"name": "tam_mal_ai_aw_classification_adapter",
|
20 |
+
"version": "adapters.1.0.1"
|
21 |
+
}
|
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:be2336808011bc4ec47c247c3a65f69518f8b0b55b2b56a2a63603b65875dff7
|
3 |
+
size 14269270
|
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": 3,
|
12 |
+
"num_labels": 2,
|
13 |
+
"use_pooler": false
|
14 |
+
},
|
15 |
+
"hidden_size": 384,
|
16 |
+
"model_class": "BertAdapterModel",
|
17 |
+
"model_name": "livinNector/m-minilm-l12-h384-data-augumented-dra-tam-mal-aw-classification-finetune",
|
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:99e3315a4f6735edcd83c13a7282601c4093db8fb7602067abac4ccd44f7d2e7
|
3 |
+
size 1188662
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5505aa86fd250c3f3b63848d0681f3d8f4fe01e2308106ccceee3281a4ad1b0a
|
3 |
+
size 5176
|