NaeemCSECUET18 commited on
Commit
4fd75e3
1 Parent(s): 37a27a3

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-BB1
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-BB1
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.3670
21
+ - F1: 0.8559
22
+ - Roc Auc: 0.8534
23
+ - Accuracy: 0.5681
24
+ - Hamming Loss: 0.1465
25
+ - Jaccard Score: 0.7481
26
+ - Zero One Loss: 0.4319
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: 24
47
+ - eval_batch_size: 24
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.5656 | 1.0 | 49 | 0.5135 | 0.7799 | 0.7750 | 0.4113 | 0.2249 | 0.6392 | 0.5887 |
58
+ | 0.4157 | 2.0 | 98 | 0.4203 | 0.8359 | 0.8309 | 0.5398 | 0.1690 | 0.7181 | 0.4602 |
59
+ | 0.3652 | 3.0 | 147 | 0.3970 | 0.8507 | 0.8431 | 0.5604 | 0.1568 | 0.7401 | 0.4396 |
60
+ | 0.3096 | 4.0 | 196 | 0.3716 | 0.8530 | 0.8489 | 0.5656 | 0.1510 | 0.7437 | 0.4344 |
61
+ | 0.2674 | 5.0 | 245 | 0.3693 | 0.8521 | 0.8489 | 0.5527 | 0.1510 | 0.7423 | 0.4473 |
62
+ | 0.2709 | 6.0 | 294 | 0.3660 | 0.8532 | 0.8509 | 0.5630 | 0.1491 | 0.7439 | 0.4370 |
63
+ | 0.2208 | 7.0 | 343 | 0.3626 | 0.8550 | 0.8534 | 0.5656 | 0.1465 | 0.7467 | 0.4344 |
64
+ | 0.2388 | 8.0 | 392 | 0.3723 | 0.8573 | 0.8541 | 0.5630 | 0.1459 | 0.7503 | 0.4370 |
65
+ | 0.2466 | 9.0 | 441 | 0.3685 | 0.8562 | 0.8541 | 0.5656 | 0.1459 | 0.7486 | 0.4344 |
66
+ | 0.2187 | 10.0 | 490 | 0.3670 | 0.8559 | 0.8534 | 0.5681 | 0.1465 | 0.7481 | 0.4319 |
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:e69c16340150a17ceac46947eaf5c5967c6387dc131f90952acb5282363e4109
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:8b28a6771b1fc70d59216db92a6d00396941dccfa7469e81c8595d6a9ebd54f3
3
+ size 5112
vocab.txt ADDED
The diff for this file is too large to render. See raw diff