Keetawan commited on
Commit
c551c96
1 Parent(s): a5f7c9d

Keetawan/gpt2_aspect

Browse files
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: openthaigpt/openthaigpt-gpt2-instructgpt-poc-0.0.4
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: test-asp
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # test-asp
15
+
16
+ This model is a fine-tuned version of [openthaigpt/openthaigpt-gpt2-instructgpt-poc-0.0.4](https://huggingface.co/openthaigpt/openthaigpt-gpt2-instructgpt-poc-0.0.4) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - eval_loss: 0.1547
19
+ - eval_precision: 0.7684
20
+ - eval_recall: 0.8573
21
+ - eval_f1: 0.8104
22
+ - eval_accuracy: 0.9544
23
+ - eval_runtime: 7.0634
24
+ - eval_samples_per_second: 86.219
25
+ - eval_steps_per_second: 2.832
26
+ - epoch: 74.3
27
+ - step: 1486
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: 32
48
+ - eval_batch_size: 32
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 100
53
+
54
+ ### Framework versions
55
+
56
+ - Transformers 4.42.3
57
+ - Pytorch 2.1.2
58
+ - Datasets 2.20.0
59
+ - Tokenizers 0.19.1
added_tokens.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 50265,
3
+ "<|pad|>": 50267,
4
+ "<|startoftext|>": 50266,
5
+ "<|unk|>": 50268
6
+ }
config.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openthaigpt/openthaigpt-gpt2-instructgpt-poc-0.0.4",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForTokenClassification"
6
+ ],
7
+ "attn_pdrop": 0.0,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.0,
10
+ "eos_token_id": 50256,
11
+ "gradient_checkpointing": false,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3",
17
+ "4": "LABEL_4",
18
+ "5": "LABEL_5",
19
+ "6": "LABEL_6",
20
+ "7": "LABEL_7",
21
+ "8": "LABEL_8",
22
+ "9": "LABEL_9",
23
+ "10": "LABEL_10",
24
+ "11": "LABEL_11",
25
+ "12": "LABEL_12",
26
+ "13": "LABEL_13",
27
+ "14": "LABEL_14"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "label2id": {
31
+ "LABEL_0": 0,
32
+ "LABEL_1": 1,
33
+ "LABEL_10": 10,
34
+ "LABEL_11": 11,
35
+ "LABEL_12": 12,
36
+ "LABEL_13": 13,
37
+ "LABEL_14": 14,
38
+ "LABEL_2": 2,
39
+ "LABEL_3": 3,
40
+ "LABEL_4": 4,
41
+ "LABEL_5": 5,
42
+ "LABEL_6": 6,
43
+ "LABEL_7": 7,
44
+ "LABEL_8": 8,
45
+ "LABEL_9": 9
46
+ },
47
+ "layer_norm_epsilon": 1e-05,
48
+ "model_type": "gpt2",
49
+ "n_ctx": 1024,
50
+ "n_embd": 768,
51
+ "n_head": 12,
52
+ "n_inner": null,
53
+ "n_layer": 12,
54
+ "n_positions": 1024,
55
+ "reorder_and_upcast_attn": false,
56
+ "resid_pdrop": 0.0,
57
+ "scale_attn_by_inverse_layer_idx": false,
58
+ "scale_attn_weights": true,
59
+ "summary_activation": null,
60
+ "summary_first_dropout": 0.1,
61
+ "summary_proj_to_labels": true,
62
+ "summary_type": "cls_index",
63
+ "summary_use_proj": true,
64
+ "task_specific_params": {
65
+ "text-generation": {
66
+ "do_sample": true,
67
+ "max_length": 50
68
+ }
69
+ },
70
+ "torch_dtype": "float32",
71
+ "transformers_version": "4.42.3",
72
+ "use_cache": true,
73
+ "vocab_size": 50268
74
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c07286168c68d10fa312388ca98aa6fd13bfe6548d3dcf657a709e6f337ff2d7
3
+ size 497854292
runs/Jul12_15-38-50_6d7da80ddb19/events.out.tfevents.1720798779.6d7da80ddb19.34.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4e2091aaea220b31dfc14e742f02cd72154e31b5f2f7d00bd297cb01e63cc5c
3
+ size 5800
runs/Jul12_15-41-17_6d7da80ddb19/events.out.tfevents.1720798887.6d7da80ddb19.34.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f39736f615efeabae5b476846c6bbd94bc08e4b43bf288803672d67faeff203
3
+ size 5800
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|pad|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|unk|>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": true,
4
+ "added_tokens_decoder": {
5
+ "50265": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "50266": {
14
+ "content": "<|startoftext|>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "50267": {
22
+ "content": "<|pad|>",
23
+ "lstrip": false,
24
+ "normalized": true,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "50268": {
30
+ "content": "<|unk|>",
31
+ "lstrip": false,
32
+ "normalized": true,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ }
37
+ },
38
+ "bos_token": "<|startoftext|>",
39
+ "clean_up_tokenization_spaces": true,
40
+ "eos_token": "<|endoftext|>",
41
+ "errors": "replace",
42
+ "model_max_length": 1000000000000000019884624838656,
43
+ "pad_token": "<|pad|>",
44
+ "tokenizer_class": "GPT2Tokenizer",
45
+ "unk_token": "<|unk|>"
46
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80eb5cf838e6caf97ae26587ef732c538f9c3e88cf01a366e60bebe5ffb12276
3
+ size 5112
vocab.json ADDED
The diff for this file is too large to render. See raw diff