Abhi964 commited on
Commit
4b3d157
1 Parent(s): 3991710

Abhi964/IndicBERT_Finetuned_Final

Browse files
Files changed (4) hide show
  1. README.md +68 -0
  2. config.json +43 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: ai4bharat/indic-bert
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ model-index:
11
+ - name: IndicBERT_Finetuned_Final
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # IndicBERT_Finetuned_Final
19
+
20
+ This model is a fine-tuned version of [ai4bharat/indic-bert](https://huggingface.co/ai4bharat/indic-bert) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.6539
23
+ - Accuracy: 0.7227
24
+ - Precision: 0.7377
25
+ - Recall: 0.7227
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 5e-05
45
+ - train_batch_size: 64
46
+ - eval_batch_size: 16
47
+ - seed: 42
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 5
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|
56
+ | 0.8979 | 1.0 | 190 | 0.9064 | 0.5493 | 0.3712 | 0.5493 |
57
+ | 0.807 | 2.0 | 380 | 0.7564 | 0.65 | 0.6417 | 0.65 |
58
+ | 0.6731 | 3.0 | 570 | 0.6962 | 0.6833 | 0.7411 | 0.6833 |
59
+ | 0.6579 | 4.0 | 760 | 0.6723 | 0.6987 | 0.7213 | 0.6987 |
60
+ | 0.5946 | 5.0 | 950 | 0.6539 | 0.7227 | 0.7377 | 0.7227 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.41.2
66
+ - Pytorch 2.1.2
67
+ - Datasets 2.19.2
68
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ai4bharat/indic-bert",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0,
7
+ "classifier_dropout": null,
8
+ "down_scale_factor": 1,
9
+ "embedding_size": 128,
10
+ "gap_size": 0,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "LABEL_0",
16
+ "1": "LABEL_1",
17
+ "2": "LABEL_2"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "inner_group_num": 1,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "LABEL_0": 0,
24
+ "LABEL_1": 1,
25
+ "LABEL_2": 2
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "max_position_embeddings": 512,
29
+ "model_type": "bert",
30
+ "net_structure_type": 0,
31
+ "num_attention_heads": 12,
32
+ "num_hidden_groups": 1,
33
+ "num_hidden_layers": 12,
34
+ "num_memory_blocks": 0,
35
+ "pad_token_id": 0,
36
+ "position_embedding_type": "absolute",
37
+ "problem_type": "single_label_classification",
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.41.2",
40
+ "type_vocab_size": 2,
41
+ "use_cache": true,
42
+ "vocab_size": 200000
43
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98055d1afc2eb50a19a6e97c275d422bbb9086e2cb210028c2e1d0dee3eadb25
3
+ size 958598148
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5dcb7c01045e2166eab7afe0d869d550a55c75c3ece165898c5c1c428e4c6e5c
3
+ size 5112