bob-bob-bob-3
commited on
Commit
•
7333188
1
Parent(s):
5c94fc2
End of training
Browse files- README.md +66 -0
- config.json +51 -0
- model.safetensors +3 -0
- runs/Jun19_20-12-25_80516ee61c48/events.out.tfevents.1718827947.80516ee61c48.721.18 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: indobenchmark/indobert-large-p1
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: stek1
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# stek1
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [indobenchmark/indobert-large-p1](https://huggingface.co/indobenchmark/indobert-large-p1) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 2.4620
|
19 |
+
- F1 macro: 0.3922
|
20 |
+
- Weighted: 0.6228
|
21 |
+
- Balanced accuracy: 0.4926
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 5e-05
|
41 |
+
- train_batch_size: 8
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 7
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 macro | Weighted | Balanced accuracy |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:-----------------:|
|
52 |
+
| 1.6323 | 1.0 | 162 | 1.4006 | 0.3891 | 0.6022 | 0.5337 |
|
53 |
+
| 0.6435 | 2.0 | 324 | 1.6296 | 0.3035 | 0.4982 | 0.4633 |
|
54 |
+
| 0.6794 | 3.0 | 486 | 1.5549 | 0.4513 | 0.6180 | 0.5184 |
|
55 |
+
| 0.0961 | 4.0 | 648 | 2.0822 | 0.3697 | 0.6076 | 0.4753 |
|
56 |
+
| 0.0246 | 5.0 | 810 | 2.2624 | 0.3830 | 0.6130 | 0.4865 |
|
57 |
+
| 0.0009 | 6.0 | 972 | 2.5032 | 0.3856 | 0.6057 | 0.4891 |
|
58 |
+
| 0.001 | 7.0 | 1134 | 2.4620 | 0.3922 | 0.6228 | 0.4926 |
|
59 |
+
|
60 |
+
|
61 |
+
### Framework versions
|
62 |
+
|
63 |
+
- Transformers 4.41.2
|
64 |
+
- Pytorch 2.3.0+cu121
|
65 |
+
- Datasets 2.20.0
|
66 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "indobenchmark/indobert-large-p1",
|
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": "Sumber Daya Alam",
|
15 |
+
"1": "Politik",
|
16 |
+
"2": "Demografi",
|
17 |
+
"3": "Pertahanan dan Keamanan",
|
18 |
+
"4": "Ideologi",
|
19 |
+
"5": "Ekonomi",
|
20 |
+
"6": "Sosial Budaya",
|
21 |
+
"7": "Geografi"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 4096,
|
25 |
+
"label2id": {
|
26 |
+
"LABEL_0": 0,
|
27 |
+
"LABEL_1": 1,
|
28 |
+
"LABEL_2": 2,
|
29 |
+
"LABEL_3": 3,
|
30 |
+
"LABEL_4": 4
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-12,
|
33 |
+
"max_position_embeddings": 512,
|
34 |
+
"model_type": "bert",
|
35 |
+
"num_attention_heads": 16,
|
36 |
+
"num_hidden_layers": 24,
|
37 |
+
"output_past": true,
|
38 |
+
"pad_token_id": 0,
|
39 |
+
"pooler_fc_size": 768,
|
40 |
+
"pooler_num_attention_heads": 12,
|
41 |
+
"pooler_num_fc_layers": 3,
|
42 |
+
"pooler_size_per_head": 128,
|
43 |
+
"pooler_type": "first_token_transform",
|
44 |
+
"position_embedding_type": "absolute",
|
45 |
+
"problem_type": "single_label_classification",
|
46 |
+
"torch_dtype": "float32",
|
47 |
+
"transformers_version": "4.41.2",
|
48 |
+
"type_vocab_size": 2,
|
49 |
+
"use_cache": true,
|
50 |
+
"vocab_size": 30522
|
51 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c661d9f1141ba840014d6b1fcbf5f970672b6b0238bf91c1184989cac354012
|
3 |
+
size 1340647360
|
runs/Jun19_20-12-25_80516ee61c48/events.out.tfevents.1718827947.80516ee61c48.721.18
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:113cda23171f81707880b0ebfe545482c390a002846b4f9852af081b204cd12f
|
3 |
+
size 32557
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:73addb51eb635ae4ec8bf7f5388bd1c1c86e15582cd6376c8aba53b91ead8db4
|
3 |
+
size 5112
|