jalaluddin94
commited on
Commit
•
f4bb5e8
1
Parent(s):
0aca650
End of training
Browse files- README.md +71 -0
- config.json +34 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: indobenchmark/indobert-large-p2
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
model-index:
|
11 |
+
- name: wrete-indonlu
|
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 |
+
# wrete-indonlu
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [indobenchmark/indobert-large-p2](https://huggingface.co/indobenchmark/indobert-large-p2) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.0433
|
23 |
+
- Accuracy: 0.98
|
24 |
+
- Precision: 0.98
|
25 |
+
- Recall: 0.98
|
26 |
+
- F1 Score: 0.9799
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 2e-06
|
46 |
+
- train_batch_size: 4
|
47 |
+
- eval_batch_size: 4
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 7
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 Score |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:--------:|
|
57 |
+
| 0.1774 | 1.0 | 88 | 0.5232 | 0.92 | 0.92 | 0.92 | 0.9177 |
|
58 |
+
| 0.0992 | 2.0 | 176 | 0.2976 | 0.94 | 0.94 | 0.94 | 0.9388 |
|
59 |
+
| 0.0645 | 3.0 | 264 | 0.1118 | 0.98 | 0.98 | 0.98 | 0.9799 |
|
60 |
+
| 0.029 | 4.0 | 352 | 0.1066 | 0.98 | 0.98 | 0.98 | 0.9799 |
|
61 |
+
| 0.0333 | 5.0 | 440 | 0.0665 | 0.98 | 0.98 | 0.98 | 0.9799 |
|
62 |
+
| 0.0153 | 6.0 | 528 | 0.0504 | 0.98 | 0.98 | 0.98 | 0.9799 |
|
63 |
+
| 0.0092 | 7.0 | 616 | 0.0433 | 0.98 | 0.98 | 0.98 | 0.9799 |
|
64 |
+
|
65 |
+
|
66 |
+
### Framework versions
|
67 |
+
|
68 |
+
- Transformers 4.38.1
|
69 |
+
- Pytorch 2.1.2
|
70 |
+
- Datasets 2.1.0
|
71 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "indobenchmark/indobert-large-p2",
|
3 |
+
"_num_labels": 5,
|
4 |
+
"architectures": [
|
5 |
+
"BertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"directionality": "bidi",
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 1024,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 4096,
|
15 |
+
"layer_norm_eps": 1e-12,
|
16 |
+
"max_position_embeddings": 512,
|
17 |
+
"model_type": "bert",
|
18 |
+
"num_attention_heads": 16,
|
19 |
+
"num_hidden_layers": 24,
|
20 |
+
"output_past": true,
|
21 |
+
"pad_token_id": 0,
|
22 |
+
"pooler_fc_size": 768,
|
23 |
+
"pooler_num_attention_heads": 12,
|
24 |
+
"pooler_num_fc_layers": 3,
|
25 |
+
"pooler_size_per_head": 128,
|
26 |
+
"pooler_type": "first_token_transform",
|
27 |
+
"position_embedding_type": "absolute",
|
28 |
+
"problem_type": "single_label_classification",
|
29 |
+
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.38.1",
|
31 |
+
"type_vocab_size": 2,
|
32 |
+
"use_cache": true,
|
33 |
+
"vocab_size": 30522
|
34 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:197bdb0f3c311bf6c0c923854d2744c6de31884500f97382215324aae9304c9b
|
3 |
+
size 1340622760
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e1e3eb1a4fad96c71b59fc1b97a70702558b6ca5e4a8a90528a0d605ac70cd9
|
3 |
+
size 4920
|