End of training
Browse files- README.md +78 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: ai4bharat/indic-bert
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
- f1
|
12 |
+
model-index:
|
13 |
+
- name: indic-bert-hate-mr
|
14 |
+
results: []
|
15 |
+
---
|
16 |
+
|
17 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
18 |
+
should probably proofread and complete it, then remove this comment. -->
|
19 |
+
|
20 |
+
# indic-bert-hate-mr
|
21 |
+
|
22 |
+
This model is a fine-tuned version of [ai4bharat/indic-bert](https://huggingface.co/ai4bharat/indic-bert) on the None dataset.
|
23 |
+
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: 0.2408
|
25 |
+
- Accuracy: 0.9226
|
26 |
+
- Precision: 0.9270
|
27 |
+
- Recall: 0.9225
|
28 |
+
- F1: 0.9224
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Intended uses & limitations
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training and evaluation data
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- learning_rate: 5e-05
|
48 |
+
- train_batch_size: 16
|
49 |
+
- eval_batch_size: 128
|
50 |
+
- seed: 42
|
51 |
+
- gradient_accumulation_steps: 2
|
52 |
+
- total_train_batch_size: 32
|
53 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
54 |
+
- lr_scheduler_type: linear
|
55 |
+
- num_epochs: 10
|
56 |
+
|
57 |
+
### Training results
|
58 |
+
|
59 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
60 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
61 |
+
| 0.6637 | 1.0 | 61 | 0.6441 | 0.6530 | 0.6780 | 0.6526 | 0.6400 |
|
62 |
+
| 0.678 | 2.0 | 122 | 0.6538 | 0.6386 | 0.6408 | 0.6387 | 0.6372 |
|
63 |
+
| 0.6422 | 3.0 | 183 | 0.6597 | 0.6410 | 0.6607 | 0.6405 | 0.6292 |
|
64 |
+
| 0.6281 | 4.0 | 244 | 0.6202 | 0.6578 | 0.6591 | 0.6579 | 0.6573 |
|
65 |
+
| 0.5374 | 5.0 | 305 | 0.6306 | 0.6723 | 0.6746 | 0.6721 | 0.6711 |
|
66 |
+
| 0.4418 | 6.0 | 366 | 0.7122 | 0.6795 | 0.6991 | 0.6799 | 0.6717 |
|
67 |
+
| 0.3981 | 7.0 | 427 | 0.7183 | 0.6602 | 0.6603 | 0.6602 | 0.6602 |
|
68 |
+
| 0.3054 | 8.0 | 488 | 0.8008 | 0.6867 | 0.6889 | 0.6869 | 0.6859 |
|
69 |
+
| 0.2445 | 9.0 | 549 | 0.9741 | 0.6578 | 0.6587 | 0.6577 | 0.6573 |
|
70 |
+
| 0.1882 | 10.0 | 610 | 0.9924 | 0.6723 | 0.6723 | 0.6723 | 0.6723 |
|
71 |
+
|
72 |
+
|
73 |
+
### Framework versions
|
74 |
+
|
75 |
+
- Transformers 4.45.1
|
76 |
+
- Pytorch 2.4.0
|
77 |
+
- Datasets 3.0.1
|
78 |
+
- Tokenizers 0.20.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 133783952
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d120cf83ac485e77c61d2dfd0d7067b45b85fab589049e2ad8dd4225676c7d83
|
3 |
size 133783952
|