thanaphatt1 commited on
Commit
6eba739
·
verified ·
1 Parent(s): b0d5400

thanaphatt1/aunt-mai-ork-v2

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: airesearch/wangchanberta-base-att-spm-uncased
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ model-index:
8
+ - name: wisesight_sentiment
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # wisesight_sentiment
16
+
17
+ This model is a fine-tuned version of [airesearch/wangchanberta-base-att-spm-uncased](https://huggingface.co/airesearch/wangchanberta-base-att-spm-uncased) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.4140
20
+ - Accuracy: 0.9025
21
+ - F1 Micro: 0.9025
22
+ - Precision Micro: 0.9025
23
+ - Recall Micro: 0.9025
24
+ - F1 Macro: 0.9010
25
+ - Precision Macro: 0.9006
26
+ - Recall Macro: 0.9015
27
+ - Nb Samples: 1015
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 3e-05
47
+ - train_batch_size: 4
48
+ - eval_batch_size: 4
49
+ - seed: 1412
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - lr_scheduler_warmup_steps: 2031
53
+ - num_epochs: 10
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Micro | Precision Micro | Recall Micro | F1 Macro | Precision Macro | Recall Macro | Nb Samples |
58
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:--------:|:---------------:|:------------:|:--------:|:---------------:|:------------:|:----------:|
59
+ | 0.587 | 1.0 | 2031 | 0.5865 | 0.8532 | 0.8532 | 0.8532 | 0.8532 | 0.8492 | 0.8550 | 0.8460 | 1015 |
60
+ | 0.5212 | 2.0 | 4062 | 0.7026 | 0.8158 | 0.8158 | 0.8158 | 0.8158 | 0.8156 | 0.8380 | 0.8322 | 1015 |
61
+ | 0.4554 | 3.0 | 6093 | 0.4360 | 0.8768 | 0.8768 | 0.8768 | 0.8768 | 0.8731 | 0.8813 | 0.8690 | 1015 |
62
+ | 0.3752 | 4.0 | 8124 | 0.4121 | 0.8897 | 0.8897 | 0.8897 | 0.8897 | 0.8867 | 0.8929 | 0.8831 | 1015 |
63
+ | 0.382 | 5.0 | 10155 | 0.4709 | 0.8916 | 0.8916 | 0.8916 | 0.8916 | 0.8894 | 0.8917 | 0.8876 | 1015 |
64
+ | 0.3465 | 6.0 | 12186 | 0.3929 | 0.8975 | 0.8975 | 0.8975 | 0.8975 | 0.8957 | 0.8964 | 0.8952 | 1015 |
65
+ | 0.3246 | 7.0 | 14217 | 0.4801 | 0.8897 | 0.8897 | 0.8897 | 0.8897 | 0.8873 | 0.8899 | 0.8854 | 1015 |
66
+ | 0.2808 | 8.0 | 16248 | 0.5070 | 0.8897 | 0.8897 | 0.8897 | 0.8897 | 0.8881 | 0.8874 | 0.8889 | 1015 |
67
+ | 0.2786 | 9.0 | 18279 | 0.4098 | 0.8995 | 0.8995 | 0.8995 | 0.8995 | 0.8975 | 0.8993 | 0.8962 | 1015 |
68
+ | 0.2151 | 10.0 | 20310 | 0.4140 | 0.9025 | 0.9025 | 0.9025 | 0.9025 | 0.9010 | 0.9006 | 0.9015 | 1015 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.42.4
74
+ - Pytorch 2.3.1+cu121
75
+ - Datasets 2.20.0
76
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "airesearch/wangchanberta-base-att-spm-uncased",
3
+ "architectures": [
4
+ "CamembertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 3072,
16
+ "layer_norm_eps": 1e-12,
17
+ "max_position_embeddings": 512,
18
+ "model_type": "camembert",
19
+ "num_attention_head": 12,
20
+ "num_attention_heads": 12,
21
+ "num_hidden_layers": 12,
22
+ "pad_token_id": 1,
23
+ "position_embedding_type": "absolute",
24
+ "problem_type": "single_label_classification",
25
+ "torch_dtype": "float32",
26
+ "transformers_version": "4.42.4",
27
+ "type_vocab_size": 1,
28
+ "use_cache": true,
29
+ "vocab_size": 25005
30
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:371e4f7b90d9a4007256d72cdf5ba7977df56aa273158c69af93c2d49a6f017f
3
+ size 421007928
runs/Jul25_08-00-58_5cf20ceafa75/events.out.tfevents.1721894460.5cf20ceafa75.153.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:707a72f3032739f5f1dd803e999282a34e92862883dcec3881c87a7c6284341e
3
+ size 20946
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49c4ba4e495ddf31eb2fdba7fc6aef3c233091d25d35bc9d24694ccf48ae114c
3
+ size 904693
special_tokens_map.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<s>NOTUSED",
4
+ "</s>NOTUSED",
5
+ "<_>"
6
+ ],
7
+ "bos_token": "<s>",
8
+ "cls_token": "<s>",
9
+ "eos_token": "</s>",
10
+ "mask_token": {
11
+ "content": "<mask>",
12
+ "lstrip": true,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "pad_token": "<pad>",
18
+ "sep_token": "</s>",
19
+ "unk_token": "<unk>"
20
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>NOTUSED",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>NOTUSED",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "5": {
36
+ "content": "<s>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "6": {
44
+ "content": "</s>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "8": {
52
+ "content": "<_>",
53
+ "lstrip": false,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": false
58
+ },
59
+ "25004": {
60
+ "content": "<mask>",
61
+ "lstrip": true,
62
+ "normalized": false,
63
+ "rstrip": false,
64
+ "single_word": false,
65
+ "special": true
66
+ }
67
+ },
68
+ "additional_special_tokens": [
69
+ "<s>NOTUSED",
70
+ "</s>NOTUSED",
71
+ "<_>"
72
+ ],
73
+ "bos_token": "<s>",
74
+ "clean_up_tokenization_spaces": true,
75
+ "cls_token": "<s>",
76
+ "eos_token": "</s>",
77
+ "mask_token": "<mask>",
78
+ "model_max_length": 510,
79
+ "pad_token": "<pad>",
80
+ "sep_token": "</s>",
81
+ "sp_model_kwargs": {},
82
+ "tokenizer_class": "CamembertTokenizer",
83
+ "unk_token": "<unk>"
84
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:735144e94655ef533648804466fec58d9b928cd018cdadd4122a665256d15eb4
3
+ size 5176