abshafi2021 commited on
Commit
80f2577
·
verified ·
1 Parent(s): 4ec794e

End of training

Browse files
Files changed (4) hide show
  1. README.md +72 -0
  2. config.json +44 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: bdbert
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
+ # bdbert
18
+
19
+ This model is a fine-tuned version of [csebuetnlp/banglabert](https://huggingface.co/csebuetnlp/banglabert) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.3231
22
+ - Accuracy: 0.9549
23
+ - F1: 0.9528
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: 64
44
+ - eval_batch_size: 64
45
+ - seed: 42
46
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED 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: 10
49
+ - mixed_precision_training: Native AMP
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
55
+ | No log | 1.0 | 51 | 1.5852 | 0.6823 | 0.6170 |
56
+ | No log | 2.0 | 102 | 0.9237 | 0.8559 | 0.8517 |
57
+ | No log | 3.0 | 153 | 0.6013 | 0.9115 | 0.9061 |
58
+ | No log | 4.0 | 204 | 0.4866 | 0.9184 | 0.9146 |
59
+ | No log | 5.0 | 255 | 0.4016 | 0.9427 | 0.9405 |
60
+ | No log | 6.0 | 306 | 0.3525 | 0.9462 | 0.9441 |
61
+ | No log | 7.0 | 357 | 0.3383 | 0.9514 | 0.9493 |
62
+ | No log | 8.0 | 408 | 0.3370 | 0.9479 | 0.9458 |
63
+ | No log | 9.0 | 459 | 0.3464 | 0.9531 | 0.9509 |
64
+ | 0.6486 | 10.0 | 510 | 0.3231 | 0.9549 | 0.9528 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 5.0.0
70
+ - Pytorch 2.10.0+cu128
71
+ - Datasets 5.0.0
72
+ - Tokenizers 0.22.2
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "ElectraForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "embedding_size": 768,
11
+ "eos_token_id": null,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "LABEL_0",
17
+ "1": "LABEL_1",
18
+ "2": "LABEL_2"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "is_decoder": false,
23
+ "label2id": {
24
+ "LABEL_0": 0,
25
+ "LABEL_1": 1,
26
+ "LABEL_2": 2
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "max_position_embeddings": 512,
30
+ "model_type": "electra",
31
+ "num_attention_heads": 12,
32
+ "num_hidden_layers": 12,
33
+ "pad_token_id": 0,
34
+ "problem_type": "single_label_classification",
35
+ "summary_activation": "gelu",
36
+ "summary_last_dropout": 0.1,
37
+ "summary_type": "first",
38
+ "summary_use_proj": true,
39
+ "tie_word_embeddings": true,
40
+ "transformers_version": "5.0.0",
41
+ "type_vocab_size": 2,
42
+ "use_cache": false,
43
+ "vocab_size": 32000
44
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78cea307b6fe8224d7e4116d12c51a0f584fda871af48ff06f28a8e9231527e8
3
+ size 442502724
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:076e88f53d20e085f0d120f3c46f153eaee7b2453056bb875e3ec1b996f5484e
3
+ size 5201