DipsankarSinha commited on
Commit
c18d457
·
verified ·
1 Parent(s): ad09800

Training Complete

Browse files
Files changed (4) hide show
  1. README.md +71 -0
  2. config.json +31 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: csebuetnlp/banglabert
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: bangla-hatespeech-analysis
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
+ # bangla-hatespeech-analysis
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.4000
21
+ - Accuracy: 0.8694
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 5e-05
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 3
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:------:|:-----:|:---------------:|:--------:|
53
+ | 0.3883 | 0.2700 | 1000 | 0.3539 | 0.8531 |
54
+ | 0.3848 | 0.5400 | 2000 | 0.3685 | 0.8531 |
55
+ | 0.3438 | 0.8099 | 3000 | 0.3294 | 0.8635 |
56
+ | 0.2659 | 1.0799 | 4000 | 0.3643 | 0.8605 |
57
+ | 0.2775 | 1.3499 | 5000 | 0.3422 | 0.8695 |
58
+ | 0.2956 | 1.6199 | 6000 | 0.3923 | 0.8535 |
59
+ | 0.2848 | 1.8898 | 7000 | 0.3431 | 0.8701 |
60
+ | 0.2263 | 2.1598 | 8000 | 0.3707 | 0.8729 |
61
+ | 0.1947 | 2.4298 | 9000 | 0.4239 | 0.8737 |
62
+ | 0.2111 | 2.6998 | 10000 | 0.3852 | 0.8701 |
63
+ | 0.1759 | 2.9698 | 11000 | 0.4000 | 0.8694 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.48.3
69
+ - Pytorch 2.5.1+cu124
70
+ - Datasets 3.3.2
71
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "electra",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "problem_type": "single_label_classification",
22
+ "summary_activation": "gelu",
23
+ "summary_last_dropout": 0.1,
24
+ "summary_type": "first",
25
+ "summary_use_proj": true,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.48.3",
28
+ "type_vocab_size": 2,
29
+ "use_cache": true,
30
+ "vocab_size": 32000
31
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8a998c2ad938408759b7769ef38541108c3929193e3198eb166c24dce9c64b3
3
+ size 442499672
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cda99ddb49abb8e5f204d6c256845394380b7ff0e1bb6a29381a95d83b24c45
3
+ size 5240