YagiASAFAS
commited on
Commit
•
f980948
1
Parent(s):
7b4f715
update model card README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,71 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
model-index:
|
8 |
+
- name: malaysia-news-classification-bert-malay
|
9 |
+
results: []
|
10 |
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# malaysia-news-classification-bert-malay
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [bert-base-multilingual-uncased](https://huggingface.co/bert-base-multilingual-uncased) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 1.0311
|
20 |
+
- Accuracy: 0.7601
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 3e-05
|
40 |
+
- train_batch_size: 16
|
41 |
+
- eval_batch_size: 32
|
42 |
+
- seed: 42
|
43 |
+
- gradient_accumulation_steps: 4
|
44 |
+
- total_train_batch_size: 64
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 10
|
48 |
+
- mixed_precision_training: Native AMP
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
54 |
+
| No log | 1.0 | 225 | 1.0295 | 0.7104 |
|
55 |
+
| No log | 2.0 | 450 | 0.9205 | 0.7409 |
|
56 |
+
| 1.1064 | 3.0 | 675 | 0.8432 | 0.7590 |
|
57 |
+
| 1.1064 | 4.0 | 900 | 0.8552 | 0.7695 |
|
58 |
+
| 0.5596 | 5.0 | 1125 | 0.8836 | 0.7612 |
|
59 |
+
| 0.5596 | 6.0 | 1350 | 0.9057 | 0.7665 |
|
60 |
+
| 0.3499 | 7.0 | 1575 | 0.9766 | 0.7590 |
|
61 |
+
| 0.3499 | 8.0 | 1800 | 0.9974 | 0.7640 |
|
62 |
+
| 0.2144 | 9.0 | 2025 | 1.0211 | 0.7612 |
|
63 |
+
| 0.2144 | 10.0 | 2250 | 1.0311 | 0.7601 |
|
64 |
+
|
65 |
+
|
66 |
+
### Framework versions
|
67 |
+
|
68 |
+
- Transformers 4.18.0
|
69 |
+
- Pytorch 2.2.1+cu121
|
70 |
+
- Datasets 2.18.0
|
71 |
+
- Tokenizers 0.12.1
|