jalaluddin94
commited on
Commit
•
0eccb31
1
Parent(s):
a042ea7
End of training
Browse files- README.md +70 -0
- config.json +44 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: indonli-indobert-large
|
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 |
+
# indonli-indobert-large
|
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.9753
|
23 |
+
- Accuracy: 0.6350
|
24 |
+
- Precision: 0.6350
|
25 |
+
- Recall: 0.6350
|
26 |
+
- F1 Score: 0.6362
|
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: 3e-06
|
46 |
+
- train_batch_size: 4
|
47 |
+
- eval_batch_size: 4
|
48 |
+
- seed: 101
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 6
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 Score |
|
56 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:---------:|:------:|:--------:|
|
57 |
+
| 1.0324 | 1.0 | 2583 | 0.9492 | 0.5508 | 0.5508 | 0.5508 | 0.5172 |
|
58 |
+
| 0.9234 | 2.0 | 5166 | 0.8837 | 0.6099 | 0.6099 | 0.6099 | 0.6106 |
|
59 |
+
| 0.8318 | 3.0 | 7749 | 0.8718 | 0.6277 | 0.6277 | 0.6277 | 0.6302 |
|
60 |
+
| 0.7417 | 4.0 | 10332 | 0.9005 | 0.6313 | 0.6313 | 0.6313 | 0.6326 |
|
61 |
+
| 0.6788 | 5.0 | 12915 | 0.9380 | 0.6368 | 0.6368 | 0.6368 | 0.6381 |
|
62 |
+
| 0.6263 | 6.0 | 15498 | 0.9753 | 0.6350 | 0.6350 | 0.6350 | 0.6362 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.33.0
|
68 |
+
- Pytorch 2.0.0
|
69 |
+
- Datasets 2.1.0
|
70 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"id2label": {
|
14 |
+
"0": "LABEL_0",
|
15 |
+
"1": "LABEL_1",
|
16 |
+
"2": "LABEL_2"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 4096,
|
20 |
+
"label2id": {
|
21 |
+
"LABEL_0": 0,
|
22 |
+
"LABEL_1": 1,
|
23 |
+
"LABEL_2": 2
|
24 |
+
},
|
25 |
+
"layer_norm_eps": 1e-12,
|
26 |
+
"max_position_embeddings": 512,
|
27 |
+
"model_type": "bert",
|
28 |
+
"num_attention_heads": 16,
|
29 |
+
"num_hidden_layers": 24,
|
30 |
+
"output_past": true,
|
31 |
+
"pad_token_id": 0,
|
32 |
+
"pooler_fc_size": 768,
|
33 |
+
"pooler_num_attention_heads": 12,
|
34 |
+
"pooler_num_fc_layers": 3,
|
35 |
+
"pooler_size_per_head": 128,
|
36 |
+
"pooler_type": "first_token_transform",
|
37 |
+
"position_embedding_type": "absolute",
|
38 |
+
"problem_type": "single_label_classification",
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.33.0",
|
41 |
+
"type_vocab_size": 2,
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 30522
|
44 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:558b8ba23758f21757341728e816bcbd3381e745c5287c0d95b09ae9da983465
|
3 |
+
size 1340714289
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8445df0fb8c77a4fc31cf248c2d99c04c629de1a11f3213fee14d967bdb68796
|
3 |
+
size 4155
|