mirzaaa10 commited on
Commit
b46344e
1 Parent(s): d91b085

banglabert_finetuned

Browse files
Files changed (4) hide show
  1. README.md +76 -0
  2. config.json +41 -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
+ base_model: csebuetnlp/banglabert
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ model-index:
10
+ - name: results
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
+ # results
18
+
19
+ This model is a fine-tuned version of [csebuetnlp/banglabert](https://huggingface.co/csebuetnlp/banglabert) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.7260
22
+ - Accuracy: 0.7417
23
+ - F1: 0.7267
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: 2e-05
43
+ - train_batch_size: 16
44
+ - eval_batch_size: 16
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 15
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
54
+ | 0.9409 | 1.0 | 35 | 0.9145 | 0.6583 | 0.6004 |
55
+ | 0.7658 | 2.0 | 70 | 0.7490 | 0.725 | 0.6680 |
56
+ | 0.6112 | 3.0 | 105 | 0.6922 | 0.7333 | 0.6772 |
57
+ | 0.4237 | 4.0 | 140 | 0.6434 | 0.7583 | 0.7283 |
58
+ | 0.327 | 5.0 | 175 | 0.6385 | 0.7667 | 0.7513 |
59
+ | 0.2258 | 6.0 | 210 | 0.6861 | 0.7333 | 0.7266 |
60
+ | 0.1018 | 7.0 | 245 | 0.7522 | 0.7583 | 0.7327 |
61
+ | 0.0794 | 8.0 | 280 | 0.8856 | 0.7667 | 0.7506 |
62
+ | 0.0543 | 9.0 | 315 | 0.9427 | 0.7417 | 0.7368 |
63
+ | 0.03 | 10.0 | 350 | 0.9346 | 0.75 | 0.7339 |
64
+ | 0.0252 | 11.0 | 385 | 1.0011 | 0.7333 | 0.7274 |
65
+ | 0.0324 | 12.0 | 420 | 1.0499 | 0.75 | 0.7366 |
66
+ | 0.0139 | 13.0 | 455 | 1.0554 | 0.7333 | 0.7173 |
67
+ | 0.014 | 14.0 | 490 | 1.0881 | 0.7583 | 0.7492 |
68
+ | 0.0131 | 15.0 | 525 | 1.0949 | 0.7583 | 0.7492 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.44.2
74
+ - Pytorch 2.4.1+cu121
75
+ - Datasets 3.0.1
76
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "LABEL_0": 0,
21
+ "LABEL_1": 1,
22
+ "LABEL_2": 2
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "max_position_embeddings": 512,
26
+ "model_type": "electra",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 12,
29
+ "pad_token_id": 0,
30
+ "position_embedding_type": "absolute",
31
+ "problem_type": "single_label_classification",
32
+ "summary_activation": "gelu",
33
+ "summary_last_dropout": 0.1,
34
+ "summary_type": "first",
35
+ "summary_use_proj": true,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.44.2",
38
+ "type_vocab_size": 2,
39
+ "use_cache": true,
40
+ "vocab_size": 32000
41
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f6b193d6a428480830f68be41c235eb74309f04b42569c648102a6d03dcf002
3
+ size 442502748
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee5984ab88856e343a25f634fd3e08fa53eadc4e4456d2c0488c6ab56870cb74
3
+ size 5112