Model save
Browse files- README.md +16 -16
- config.json +14 -12
- model.safetensors +2 -2
- runs/Apr27_18-36-06_20581a7821f2/events.out.tfevents.1714242967.20581a7821f2.573.0 +3 -0
- runs/Apr27_18-36-06_20581a7821f2/events.out.tfevents.1714244474.20581a7821f2.573.1 +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +3 -3
- training_args.bin +2 -2
- vocab.txt +0 -0
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
-
license:
|
3 |
-
base_model:
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
@@ -18,13 +18,13 @@ should probably proofread and complete it, then remove this comment. -->
|
|
18 |
|
19 |
# kdrt_content
|
20 |
|
21 |
-
This model is a fine-tuned version of [
|
22 |
It achieves the following results on the evaluation set:
|
23 |
-
- Loss: 0.
|
24 |
-
- Accuracy:
|
25 |
-
- Precision:
|
26 |
-
- Recall:
|
27 |
-
- F1:
|
28 |
|
29 |
## Model description
|
30 |
|
@@ -53,15 +53,15 @@ The following hyperparameters were used during training:
|
|
53 |
|
54 |
### Training results
|
55 |
|
56 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1
|
57 |
-
|
58 |
-
| No log | 1.0 |
|
59 |
-
| No log | 2.0 |
|
60 |
|
61 |
|
62 |
### Framework versions
|
63 |
|
64 |
-
- Transformers 4.
|
65 |
-
- Pytorch 2.
|
66 |
-
- Datasets 2.
|
67 |
-
- Tokenizers 0.
|
|
|
1 |
---
|
2 |
+
license: mit
|
3 |
+
base_model: indobenchmark/indobert-base-p1
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
|
|
18 |
|
19 |
# kdrt_content
|
20 |
|
21 |
+
This model is a fine-tuned version of [indobenchmark/indobert-base-p1](https://huggingface.co/indobenchmark/indobert-base-p1) on the None dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.2446
|
24 |
+
- Accuracy: 0.9231
|
25 |
+
- Precision: 0.9231
|
26 |
+
- Recall: 0.9231
|
27 |
+
- F1: 0.9231
|
28 |
|
29 |
## Model description
|
30 |
|
|
|
53 |
|
54 |
### Training results
|
55 |
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
58 |
+
| No log | 1.0 | 59 | 0.4204 | 0.8291 | 0.8291 | 0.8291 | 0.8291 |
|
59 |
+
| No log | 2.0 | 118 | 0.2446 | 0.9231 | 0.9231 | 0.9231 | 0.9231 |
|
60 |
|
61 |
|
62 |
### Framework versions
|
63 |
|
64 |
+
- Transformers 4.40.0
|
65 |
+
- Pytorch 2.3.0+cu121
|
66 |
+
- Datasets 2.19.0
|
67 |
+
- Tokenizers 0.19.1
|
config.json
CHANGED
@@ -1,27 +1,24 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
|
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
-
"bos_token_id": 0,
|
8 |
"classifier_dropout": null,
|
9 |
-
"
|
10 |
-
"gradient_checkpointing": false,
|
11 |
"hidden_act": "gelu",
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
"hidden_size": 768,
|
14 |
"id2label": {
|
15 |
-
"0": "
|
16 |
-
"1": "
|
17 |
-
"2": "positive"
|
18 |
},
|
19 |
"initializer_range": 0.02,
|
20 |
"intermediate_size": 3072,
|
21 |
"label2id": {
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"positive": 2
|
25 |
},
|
26 |
"layer_norm_eps": 1e-12,
|
27 |
"max_position_embeddings": 512,
|
@@ -30,11 +27,16 @@
|
|
30 |
"num_hidden_layers": 12,
|
31 |
"output_past": true,
|
32 |
"pad_token_id": 0,
|
|
|
|
|
|
|
|
|
|
|
33 |
"position_embedding_type": "absolute",
|
34 |
"problem_type": "single_label_classification",
|
35 |
"torch_dtype": "float32",
|
36 |
-
"transformers_version": "4.
|
37 |
"type_vocab_size": 2,
|
38 |
"use_cache": true,
|
39 |
-
"vocab_size":
|
40 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "indobenchmark/indobert-base-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": 768,
|
13 |
"id2label": {
|
14 |
+
"0": "Negatif",
|
15 |
+
"1": "Positif"
|
|
|
16 |
},
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 3072,
|
19 |
"label2id": {
|
20 |
+
"Negatif": 0,
|
21 |
+
"Positif": 1
|
|
|
22 |
},
|
23 |
"layer_norm_eps": 1e-12,
|
24 |
"max_position_embeddings": 512,
|
|
|
27 |
"num_hidden_layers": 12,
|
28 |
"output_past": true,
|
29 |
"pad_token_id": 0,
|
30 |
+
"pooler_fc_size": 768,
|
31 |
+
"pooler_num_attention_heads": 12,
|
32 |
+
"pooler_num_fc_layers": 3,
|
33 |
+
"pooler_size_per_head": 128,
|
34 |
+
"pooler_type": "first_token_transform",
|
35 |
"position_embedding_type": "absolute",
|
36 |
"problem_type": "single_label_classification",
|
37 |
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.40.0",
|
39 |
"type_vocab_size": 2,
|
40 |
"use_cache": true,
|
41 |
+
"vocab_size": 50000
|
42 |
}
|
model.safetensors
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:694881f2985b13a7ec6c8c2e9fea8fda56e24aadcfc74c254f8a2687d57d1db5
|
3 |
+
size 497795072
|
runs/Apr27_18-36-06_20581a7821f2/events.out.tfevents.1714242967.20581a7821f2.573.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd5eac7785a062343664fc14ca30630d4815776bc928c3a7cd8dab293492efd1
|
3 |
+
size 6244
|
runs/Apr27_18-36-06_20581a7821f2/events.out.tfevents.1714244474.20581a7821f2.573.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d438ecb60fc2dc2b9151965c575a918b5ebf81d73f70ea0884c7d19b2d7742a
|
3 |
+
size 551
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
"special": true
|
18 |
},
|
19 |
"2": {
|
20 |
-
"content": "[
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
23 |
"rstrip": false,
|
@@ -25,7 +25,7 @@
|
|
25 |
"special": true
|
26 |
},
|
27 |
"3": {
|
28 |
-
"content": "[
|
29 |
"lstrip": false,
|
30 |
"normalized": false,
|
31 |
"rstrip": false,
|
@@ -33,7 +33,7 @@
|
|
33 |
"special": true
|
34 |
},
|
35 |
"4": {
|
36 |
-
"content": "[
|
37 |
"lstrip": false,
|
38 |
"normalized": false,
|
39 |
"rstrip": false,
|
|
|
17 |
"special": true
|
18 |
},
|
19 |
"2": {
|
20 |
+
"content": "[CLS]",
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
23 |
"rstrip": false,
|
|
|
25 |
"special": true
|
26 |
},
|
27 |
"3": {
|
28 |
+
"content": "[SEP]",
|
29 |
"lstrip": false,
|
30 |
"normalized": false,
|
31 |
"rstrip": false,
|
|
|
33 |
"special": true
|
34 |
},
|
35 |
"4": {
|
36 |
+
"content": "[MASK]",
|
37 |
"lstrip": false,
|
38 |
"normalized": false,
|
39 |
"rstrip": false,
|
training_args.bin
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:2262b5120a036064340d27987a3786a69042b1ad0e08906f44173c554cbb2595
|
3 |
+
size 4984
|
vocab.txt
CHANGED
The diff for this file is too large to render.
See raw diff
|
|