brescia commited on
Commit
2e862bf
1 Parent(s): c08e158

Model save

Browse files
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- license: apache-2.0
3
- base_model: indolem/indobertweet-base-uncased
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 [indolem/indobertweet-base-uncased](https://huggingface.co/indolem/indobertweet-base-uncased) on the None dataset.
22
  It achieves the following results on the evaluation set:
23
- - Loss: 0.0003
24
- - Accuracy: 1.0
25
- - Precision: 1.0
26
- - Recall: 1.0
27
- - F1: 1.0
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 | 101 | 0.0004 | 1.0 | 1.0 | 1.0 | 1.0 |
59
- | No log | 2.0 | 202 | 0.0003 | 1.0 | 1.0 | 1.0 | 1.0 |
60
 
61
 
62
  ### Framework versions
63
 
64
- - Transformers 4.38.2
65
- - Pytorch 2.2.1+cu121
66
- - Datasets 2.18.0
67
- - Tokenizers 0.15.2
 
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": "indolem/indobertweet-base-uncased",
 
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
- "bos_token_id": 0,
8
  "classifier_dropout": null,
9
- "eos_token_ids": 0,
10
- "gradient_checkpointing": false,
11
  "hidden_act": "gelu",
12
  "hidden_dropout_prob": 0.1,
13
  "hidden_size": 768,
14
  "id2label": {
15
- "0": "negative",
16
- "1": "neutral",
17
- "2": "positive"
18
  },
19
  "initializer_range": 0.02,
20
  "intermediate_size": 3072,
21
  "label2id": {
22
- "negative": 0,
23
- "neutral": 1,
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.38.2",
37
  "type_vocab_size": 2,
38
  "use_cache": true,
39
- "vocab_size": 31923
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:26e6112e390e211a3a4e28ef16912fcde4f4b4bf5f4f1a27a14719f3004a1907
3
- size 442265596
 
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": "[MASK]",
21
  "lstrip": false,
22
  "normalized": false,
23
  "rstrip": false,
@@ -25,7 +25,7 @@
25
  "special": true
26
  },
27
  "3": {
28
- "content": "[CLS]",
29
  "lstrip": false,
30
  "normalized": false,
31
  "rstrip": false,
@@ -33,7 +33,7 @@
33
  "special": true
34
  },
35
  "4": {
36
- "content": "[SEP]",
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:e49d035e3b925892d6debe0b2d9ee00dbe5caeea3a490add2c9fc5ab49987379
3
- size 4856
 
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