jab11769 commited on
Commit
371f711
·
verified ·
1 Parent(s): cd0caaf

ktb-finetune-wangchan2

Browse files
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: airesearch/wangchanberta-base-att-spm-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: KTB-finetune-wangchan2
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # KTB-finetune-wangchan2
20
+
21
+ 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.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 1.1691
24
+ - Accuracy: 0.4021
25
+ - Precision: 0.3807
26
+ - Recall: 0.4021
27
+ - F1: 0.3640
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: 2e-05
47
+ - train_batch_size: 16
48
+ - eval_batch_size: 16
49
+ - seed: 42
50
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 20
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
58
+ | No log | 1.0 | 14 | 1.0647 | 0.4124 | 0.3712 | 0.4124 | 0.2638 |
59
+ | No log | 2.0 | 28 | 1.1045 | 0.4227 | 0.1787 | 0.4227 | 0.2512 |
60
+ | No log | 3.0 | 42 | 1.0891 | 0.3918 | 0.3810 | 0.3918 | 0.3641 |
61
+ | No log | 4.0 | 56 | 1.0860 | 0.4742 | 0.5304 | 0.4742 | 0.4209 |
62
+ | No log | 5.0 | 70 | 1.1355 | 0.4021 | 0.3752 | 0.4021 | 0.3145 |
63
+ | No log | 6.0 | 84 | 1.1354 | 0.3711 | 0.3500 | 0.3711 | 0.3543 |
64
+ | No log | 7.0 | 98 | 1.1478 | 0.4330 | 0.4405 | 0.4330 | 0.3789 |
65
+ | No log | 8.0 | 112 | 1.1734 | 0.3608 | 0.3415 | 0.3608 | 0.3350 |
66
+ | No log | 9.0 | 126 | 1.1691 | 0.4021 | 0.3807 | 0.4021 | 0.3640 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.51.3
72
+ - Pytorch 2.6.0+cu124
73
+ - Datasets 2.14.4
74
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CamembertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "eos_token_id": 2,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "LABEL_0": 0,
22
+ "LABEL_1": 1,
23
+ "LABEL_2": 2
24
+ },
25
+ "layer_norm_eps": 1e-12,
26
+ "max_position_embeddings": 512,
27
+ "model_type": "camembert",
28
+ "num_attention_head": 12,
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "pad_token_id": 1,
32
+ "position_embedding_type": "absolute",
33
+ "problem_type": "single_label_classification",
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.51.3",
36
+ "type_vocab_size": 1,
37
+ "use_cache": true,
38
+ "vocab_size": 25005
39
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d861730c647822d0c9a4f7d3abd5cdbe19579636e28ab5e6f6b70157c6f45d2
3
+ size 421011004
runs/May27_04-23-42_f8add3f1da7e/events.out.tfevents.1748319826.f8add3f1da7e.3669.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6350016f733f5d173f4ee2191897bbd2bdeaaebf92d95b2658db6f4a7791cfaf
3
+ size 5223
runs/May27_04-24-12_f8add3f1da7e/events.out.tfevents.1748319857.f8add3f1da7e.3669.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:248dd9b0b1752d2861792dc9e7424321121794a9ec895d4341a018ba3505ac4d
3
+ size 5223
runs/May27_04-24-23_f8add3f1da7e/events.out.tfevents.1748319868.f8add3f1da7e.3669.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df0a30011c1cff1d8adf015a8192064fd5e5a7cc1de3b8f631ae985c985e9e39
3
+ size 5223
runs/May27_04-27-50_f8add3f1da7e/events.out.tfevents.1748320123.f8add3f1da7e.3669.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03189cf9a8f2cd274b868737e58925f11e545e4a46f18482bfe0586a4fb16f85
3
+ size 8280
runs/May27_04-30-24_f8add3f1da7e/events.out.tfevents.1748320227.f8add3f1da7e.18397.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:871afd3a943729ab7e74c43eee39032f87312a027c80091da5561d4fdf110b47
3
+ size 10216
runs/May27_04-31-23_f8add3f1da7e/events.out.tfevents.1748320286.f8add3f1da7e.18397.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0435b0c6564ef54f9dbc1c6e6e5c07f716f5cd2f12eb416299babc1795e19619
3
+ size 9738
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,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
75
+ "cls_token": "<s>",
76
+ "eos_token": "</s>",
77
+ "extra_special_tokens": {},
78
+ "mask_token": "<mask>",
79
+ "model_max_length": 1000000000000000019884624838656,
80
+ "pad_token": "<pad>",
81
+ "sep_token": "</s>",
82
+ "sp_model_kwargs": {},
83
+ "tokenizer_class": "CamembertTokenizer",
84
+ "unk_token": "<unk>"
85
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcadd3d1482f0efa84443722ad324bdf1ecdfa995b32e139442bc2320a7ca5fe
3
+ size 5368