End of training
Browse files
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
language:
|
4 |
+
- np
|
5 |
+
license: apache-2.0
|
6 |
+
base_model: google-bert/bert-base-multilingual-uncased
|
7 |
+
tags:
|
8 |
+
- generated_from_trainer
|
9 |
+
metrics:
|
10 |
+
- accuracy
|
11 |
+
- f1
|
12 |
+
- precision
|
13 |
+
- recall
|
14 |
+
model-index:
|
15 |
+
- name: Nepali-BERT-sentiment
|
16 |
+
results: []
|
17 |
+
---
|
18 |
+
|
19 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
20 |
+
should probably proofread and complete it, then remove this comment. -->
|
21 |
+
|
22 |
+
# Nepali-BERT-sentiment
|
23 |
+
|
24 |
+
This model is a fine-tuned version of [google-bert/bert-base-multilingual-uncased](https://huggingface.co/google-bert/bert-base-multilingual-uncased) on the Custom Devangari Datasets dataset.
|
25 |
+
It achieves the following results on the evaluation set:
|
26 |
+
- Loss: 0.6887
|
27 |
+
- Accuracy: 0.8660
|
28 |
+
- F1: 0.4658
|
29 |
+
- Precision: 0.4343
|
30 |
+
- Recall: 0.5021
|
31 |
+
|
32 |
+
## Model description
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Intended uses & limitations
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training and evaluation data
|
41 |
+
|
42 |
+
More information needed
|
43 |
+
|
44 |
+
## Training procedure
|
45 |
+
|
46 |
+
### Training hyperparameters
|
47 |
+
|
48 |
+
The following hyperparameters were used during training:
|
49 |
+
- learning_rate: 2e-05
|
50 |
+
- train_batch_size: 32
|
51 |
+
- eval_batch_size: 32
|
52 |
+
- seed: 42
|
53 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
54 |
+
- lr_scheduler_type: linear
|
55 |
+
- lr_scheduler_warmup_steps: 500
|
56 |
+
- num_epochs: 5
|
57 |
+
- mixed_precision_training: Native AMP
|
58 |
+
|
59 |
+
### Training results
|
60 |
+
|
61 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
62 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
63 |
+
| 0.5999 | 1.0 | 595 | 0.5313 | 0.7274 | 0.3965 | 0.2670 | 0.7700 |
|
64 |
+
| 0.5114 | 2.0 | 1190 | 0.4717 | 0.7745 | 0.4427 | 0.3106 | 0.7700 |
|
65 |
+
| 0.4005 | 3.0 | 1785 | 0.4986 | 0.7907 | 0.4556 | 0.3266 | 0.7532 |
|
66 |
+
| 0.3087 | 4.0 | 2380 | 0.6887 | 0.8660 | 0.4658 | 0.4343 | 0.5021 |
|
67 |
+
| 0.2292 | 5.0 | 2975 | 0.8148 | 0.8626 | 0.4615 | 0.4240 | 0.5063 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.44.2
|
73 |
+
- Pytorch 2.4.1+cu121
|
74 |
+
- Datasets 3.0.2
|
75 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 669455360
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90a06cb5f02e309cbf3fab1f755bc60e7a2c8b61edec8816ae4fe9be1aa66d9a
|
3 |
size 669455360
|
runs/Oct23_16-01-50_a08997c2fbef/events.out.tfevents.1729699339.a08997c2fbef.276.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:96c2493c41f17fa33e24e96398332ea383a35b9b417b73644e76c7a88f2f622c
|
3 |
+
size 8872
|
runs/Oct23_16-01-50_a08997c2fbef/events.out.tfevents.1729701381.a08997c2fbef.276.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f2498c6fae2993373caf520b295b81c97aa46ddf29461d36255566b274c40249
|
3 |
+
size 560
|