brescia commited on
Commit
6273ce4
1 Parent(s): 2cb60b2

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
  # sexual_harrasment_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 | 151 | 0.0006 | 1.0 | 1.0 | 1.0 | 1.0 |
59
- | No log | 2.0 | 302 | 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
  # sexual_harrasment_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.3317
24
+ - Accuracy: 0.9143
25
+ - Precision: 0.9143
26
+ - Recall: 0.9143
27
+ - F1: 0.9143
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 | 106 | 0.2569 | 0.9095 | 0.9095 | 0.9095 | 0.9095 |
59
+ | No log | 2.0 | 212 | 0.3317 | 0.9143 | 0.9143 | 0.9143 | 0.9143 |
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:d9202d210d3b8791274fb4f0d0314863e055fed6bfbcc197ea91fb9b631616dd
3
- size 442265596
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73ffcf5db9fa3c243955921adfb374a78861fe9f464ea2f85defde28e13729e0
3
+ size 497795072
runs/Apr27_12-05-45_63927c30e73e/events.out.tfevents.1714219546.63927c30e73e.355.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41411a145ed8424e3e7766e488f58e986744308c013f39527e60b9bf109755c6
3
+ size 6298
runs/Apr27_12-05-45_63927c30e73e/events.out.tfevents.1714222159.63927c30e73e.355.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a74887e9c0d4e6b8a9095a65c16694431efbc20f0792d0b9b01bb833734c897
3
+ size 560
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:aeba615588f1cfcc7c2f8519e9babdf992b76bde91d1f514caffd1c377583dfc
3
- size 4920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d6119a74199f5e624d6c20e97d40d614030ae0e26d8bb28e17e9580b7e68726
3
+ size 4984
vocab.txt CHANGED
The diff for this file is too large to render. See raw diff