NaeemCSECUET18 commited on
Commit
00d3dfe
1 Parent(s): a3fb96c

Training in progress, epoch 1

Browse files
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: csebuetnlp/banglabert
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - f1
7
+ - accuracy
8
+ model-index:
9
+ - name: banglabert-MLTC-BB
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # banglabert-MLTC-BB
17
+
18
+ This model is a fine-tuned version of [csebuetnlp/banglabert](https://huggingface.co/csebuetnlp/banglabert) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.3730
21
+ - F1: 0.8628
22
+ - Roc Auc: 0.8612
23
+ - Accuracy: 0.5784
24
+ - Hamming Loss: 0.1388
25
+ - Jaccard Score: 0.7587
26
+ - Zero One Loss: 0.4216
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 2e-05
46
+ - train_batch_size: 8
47
+ - eval_batch_size: 8
48
+ - seed: 42
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 10
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy | Hamming Loss | Jaccard Score | Zero One Loss |
56
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|:--------:|:------------:|:-------------:|:-------------:|
57
+ | 0.4126 | 1.0 | 146 | 0.4229 | 0.8333 | 0.8303 | 0.5527 | 0.1697 | 0.7143 | 0.4473 |
58
+ | 0.381 | 2.0 | 292 | 0.3605 | 0.8551 | 0.8541 | 0.5835 | 0.1459 | 0.7469 | 0.4165 |
59
+ | 0.2885 | 3.0 | 438 | 0.3745 | 0.8589 | 0.8521 | 0.5656 | 0.1478 | 0.7527 | 0.4344 |
60
+ | 0.2324 | 4.0 | 584 | 0.3612 | 0.8597 | 0.8579 | 0.5835 | 0.1420 | 0.7539 | 0.4165 |
61
+ | 0.2618 | 5.0 | 730 | 0.3458 | 0.8632 | 0.8631 | 0.5861 | 0.1369 | 0.7593 | 0.4139 |
62
+ | 0.2535 | 6.0 | 876 | 0.3673 | 0.8611 | 0.8579 | 0.5758 | 0.1420 | 0.7561 | 0.4242 |
63
+ | 0.1701 | 7.0 | 1022 | 0.3932 | 0.8559 | 0.8528 | 0.5681 | 0.1472 | 0.7481 | 0.4319 |
64
+ | 0.1835 | 8.0 | 1168 | 0.3641 | 0.8668 | 0.8650 | 0.5887 | 0.1350 | 0.7648 | 0.4113 |
65
+ | 0.1714 | 9.0 | 1314 | 0.3796 | 0.8617 | 0.8605 | 0.5707 | 0.1395 | 0.7570 | 0.4293 |
66
+ | 0.1311 | 10.0 | 1460 | 0.3730 | 0.8628 | 0.8612 | 0.5784 | 0.1388 | 0.7587 | 0.4216 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.41.1
72
+ - Pytorch 2.1.2
73
+ - Datasets 2.19.1
74
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "csebuetnlp/banglabert",
3
+ "architectures": [
4
+ "ElectraForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "embedding_size": 768,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "Personal Attack",
14
+ "1": "Sexism",
15
+ "2": "Racism",
16
+ "3": "hate speech"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "Personal Attack": 0,
22
+ "Racism": 2,
23
+ "Sexism": 1,
24
+ "hate speech": 3
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "max_position_embeddings": 512,
28
+ "model_type": "electra",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "pad_token_id": 0,
32
+ "position_embedding_type": "absolute",
33
+ "problem_type": "multi_label_classification",
34
+ "summary_activation": "gelu",
35
+ "summary_last_dropout": 0.1,
36
+ "summary_type": "first",
37
+ "summary_use_proj": true,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.41.1",
40
+ "type_vocab_size": 2,
41
+ "use_cache": true,
42
+ "vocab_size": 32000
43
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3b76e43ce66a9d40d83a3fce31eb4815e3468db6b848fea291a15b2db7b54e0
3
+ size 442505824
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "full_tokenizer_file": null,
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": false,
56
+ "tokenizer_class": "ElectraTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9429394aac78560ed7fface7eb2ce7971793b0d8e8ab5340138272d4280bea85
3
+ size 5112
vocab.txt ADDED
The diff for this file is too large to render. See raw diff