End of training
Browse files
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
language:
|
4 |
+
- np
|
5 |
+
base_model: dexhrestha/Nepali-DistilBERT
|
6 |
+
tags:
|
7 |
+
- generated_from_trainer
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
- f1
|
11 |
+
- precision
|
12 |
+
- recall
|
13 |
+
model-index:
|
14 |
+
- name: Nepali-BERT-devangari-sentiment
|
15 |
+
results: []
|
16 |
+
---
|
17 |
+
|
18 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
19 |
+
should probably proofread and complete it, then remove this comment. -->
|
20 |
+
|
21 |
+
# Nepali-BERT-devangari-sentiment
|
22 |
+
|
23 |
+
This model is a fine-tuned version of [dexhrestha/Nepali-DistilBERT](https://huggingface.co/dexhrestha/Nepali-DistilBERT) on the Custom Devangari Datasets dataset.
|
24 |
+
It achieves the following results on the evaluation set:
|
25 |
+
- Loss: 0.5347
|
26 |
+
- Accuracy: 0.8403
|
27 |
+
- F1: 0.4837
|
28 |
+
- Precision: 0.3875
|
29 |
+
- Recall: 0.6435
|
30 |
+
|
31 |
+
## Model description
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Intended uses & limitations
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training and evaluation data
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training procedure
|
44 |
+
|
45 |
+
### Training hyperparameters
|
46 |
+
|
47 |
+
The following hyperparameters were used during training:
|
48 |
+
- learning_rate: 1e-05
|
49 |
+
- train_batch_size: 16
|
50 |
+
- eval_batch_size: 16
|
51 |
+
- seed: 42
|
52 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
53 |
+
- lr_scheduler_type: linear
|
54 |
+
- lr_scheduler_warmup_steps: 500
|
55 |
+
- num_epochs: 8
|
56 |
+
- mixed_precision_training: Native AMP
|
57 |
+
|
58 |
+
### Training results
|
59 |
+
|
60 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
61 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
62 |
+
| 0.5776 | 1.0 | 1189 | 0.5874 | 0.8373 | 0.4543 | 0.3725 | 0.5823 |
|
63 |
+
| 0.4707 | 2.0 | 2378 | 0.5347 | 0.8403 | 0.4837 | 0.3875 | 0.6435 |
|
64 |
+
| 0.3921 | 3.0 | 3567 | 0.6306 | 0.8530 | 0.4732 | 0.4057 | 0.5675 |
|
65 |
+
| 0.3146 | 4.0 | 4756 | 0.8935 | 0.8719 | 0.4673 | 0.4526 | 0.4831 |
|
66 |
+
| 0.248 | 5.0 | 5945 | 1.1782 | 0.8776 | 0.4582 | 0.4720 | 0.4451 |
|
67 |
+
| 0.1978 | 6.0 | 7134 | 1.2942 | 0.8648 | 0.4687 | 0.4316 | 0.5127 |
|
68 |
+
| 0.1504 | 7.0 | 8323 | 1.5298 | 0.8663 | 0.4609 | 0.4339 | 0.4916 |
|
69 |
+
| 0.1259 | 8.0 | 9512 | 1.6731 | 0.8761 | 0.4432 | 0.4642 | 0.4241 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.44.2
|
75 |
+
- Pytorch 2.4.1+cu121
|
76 |
+
- Datasets 3.0.2
|
77 |
+
- 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 266659048
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa62833cfce559cd578cf5baec38a8133f566a6df91a222404b3216bc56dd3e1
|
3 |
size 266659048
|
runs/Oct23_14-38-55_e17934a1dc81/events.out.tfevents.1729694383.e17934a1dc81.20249.1
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:9a754b8c2acdc0b24eeb9893eca9aa41bff6e73613747d59b963e2756284bc03
|
3 |
+
size 10753
|
runs/Oct23_14-38-55_e17934a1dc81/events.out.tfevents.1729695078.e17934a1dc81.20249.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e310a5c1cf9a3597a014ffd532333c37a1eaa87c27cec62ab2cb69e6b1528755
|
3 |
+
size 560
|