MichelleHsieh commited on
Commit
d61bf8d
1 Parent(s): 292c5e5

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - text-classification
6
+ base_model: cardiffnlp/twitter-roberta-base-sentiment-latest
7
+ widget:
8
+ - text: "I love AutoTrain"
9
+ ---
10
+
11
+ # Model Trained Using AutoTrain
12
+
13
+ - Problem type: Text Classification
14
+
15
+ ## Validation Metrics
16
+ loss: 0.21796220541000366
17
+
18
+ f1_macro: 1.0
19
+
20
+ f1_micro: 1.0
21
+
22
+ f1_weighted: 1.0
23
+
24
+ precision_macro: 1.0
25
+
26
+ precision_micro: 1.0
27
+
28
+ precision_weighted: 1.0
29
+
30
+ recall_macro: 1.0
31
+
32
+ recall_micro: 1.0
33
+
34
+ recall_weighted: 1.0
35
+
36
+ accuracy: 1.0
checkpoint-6/config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "cardiffnlp/twitter-roberta-base-sentiment-latest",
3
+ "_num_labels": 3,
4
+ "architectures": [
5
+ "RobertaForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": null,
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "negative",
17
+ "1": "neutral",
18
+ "2": "positive"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "negative": 0,
24
+ "neutral": 1,
25
+ "positive": 2
26
+ },
27
+ "layer_norm_eps": 1e-05,
28
+ "max_position_embeddings": 514,
29
+ "model_type": "roberta",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "pad_token_id": 1,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.43.1",
37
+ "type_vocab_size": 1,
38
+ "use_cache": true,
39
+ "vocab_size": 50265
40
+ }
checkpoint-6/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbae9ce09a6c0fbed7f6379085a3c9d231618d8954d62ddb96bb1e062c7bd49c
3
+ size 498615900
checkpoint-6/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4339df7b83f0ebe4fe882640f633494ad53a0c016c4cbe8a811c39f310c1f095
3
+ size 997346042
checkpoint-6/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b74988e227be40f6446c98fcda897b724e329de3a00fdb5fbef92288078522ad
3
+ size 13990
checkpoint-6/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a507d9cafa2419d0ab9d8bfd3d73565df3d210c7e1a2b8ba116f25efdab63f1
3
+ size 1064
checkpoint-6/trainer_state.json ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.21796220541000366,
3
+ "best_model_checkpoint": "autotrain-j4zkp-65w4q/checkpoint-6",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 6,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.5,
13
+ "grad_norm": 21.735057830810547,
14
+ "learning_rate": 5e-05,
15
+ "loss": 0.7052,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "grad_norm": 40.623329162597656,
21
+ "learning_rate": 4e-05,
22
+ "loss": 0.5284,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 1.0,
27
+ "eval_accuracy": 0.6666666666666666,
28
+ "eval_f1_macro": 0.5555555555555555,
29
+ "eval_f1_micro": 0.6666666666666666,
30
+ "eval_f1_weighted": 0.5555555555555555,
31
+ "eval_loss": 0.6887299418449402,
32
+ "eval_precision_macro": 0.5,
33
+ "eval_precision_micro": 0.6666666666666666,
34
+ "eval_precision_weighted": 0.5,
35
+ "eval_recall_macro": 0.6666666666666666,
36
+ "eval_recall_micro": 0.6666666666666666,
37
+ "eval_recall_weighted": 0.6666666666666666,
38
+ "eval_runtime": 0.5623,
39
+ "eval_samples_per_second": 5.335,
40
+ "eval_steps_per_second": 1.778,
41
+ "step": 2
42
+ },
43
+ {
44
+ "epoch": 1.5,
45
+ "grad_norm": 24.63739585876465,
46
+ "learning_rate": 3e-05,
47
+ "loss": 0.4107,
48
+ "step": 3
49
+ },
50
+ {
51
+ "epoch": 2.0,
52
+ "grad_norm": 94.2154312133789,
53
+ "learning_rate": 2e-05,
54
+ "loss": 1.0557,
55
+ "step": 4
56
+ },
57
+ {
58
+ "epoch": 2.0,
59
+ "eval_accuracy": 0.6666666666666666,
60
+ "eval_f1_macro": 0.5555555555555555,
61
+ "eval_f1_micro": 0.6666666666666666,
62
+ "eval_f1_weighted": 0.5555555555555555,
63
+ "eval_loss": 0.4247302711009979,
64
+ "eval_precision_macro": 0.5,
65
+ "eval_precision_micro": 0.6666666666666666,
66
+ "eval_precision_weighted": 0.5,
67
+ "eval_recall_macro": 0.6666666666666666,
68
+ "eval_recall_micro": 0.6666666666666666,
69
+ "eval_recall_weighted": 0.6666666666666666,
70
+ "eval_runtime": 0.5309,
71
+ "eval_samples_per_second": 5.651,
72
+ "eval_steps_per_second": 1.884,
73
+ "step": 4
74
+ },
75
+ {
76
+ "epoch": 2.5,
77
+ "grad_norm": 15.017056465148926,
78
+ "learning_rate": 1e-05,
79
+ "loss": 0.261,
80
+ "step": 5
81
+ },
82
+ {
83
+ "epoch": 3.0,
84
+ "grad_norm": 2.9169633388519287,
85
+ "learning_rate": 0.0,
86
+ "loss": 0.0322,
87
+ "step": 6
88
+ },
89
+ {
90
+ "epoch": 3.0,
91
+ "eval_accuracy": 1.0,
92
+ "eval_f1_macro": 1.0,
93
+ "eval_f1_micro": 1.0,
94
+ "eval_f1_weighted": 1.0,
95
+ "eval_loss": 0.21796220541000366,
96
+ "eval_precision_macro": 1.0,
97
+ "eval_precision_micro": 1.0,
98
+ "eval_precision_weighted": 1.0,
99
+ "eval_recall_macro": 1.0,
100
+ "eval_recall_micro": 1.0,
101
+ "eval_recall_weighted": 1.0,
102
+ "eval_runtime": 0.5119,
103
+ "eval_samples_per_second": 5.861,
104
+ "eval_steps_per_second": 1.954,
105
+ "step": 6
106
+ }
107
+ ],
108
+ "logging_steps": 1,
109
+ "max_steps": 6,
110
+ "num_input_tokens_seen": 0,
111
+ "num_train_epochs": 3,
112
+ "save_steps": 500,
113
+ "stateful_callbacks": {
114
+ "EarlyStoppingCallback": {
115
+ "args": {
116
+ "early_stopping_patience": 5,
117
+ "early_stopping_threshold": 0.01
118
+ },
119
+ "attributes": {
120
+ "early_stopping_patience_counter": 0
121
+ }
122
+ },
123
+ "TrainerControl": {
124
+ "args": {
125
+ "should_epoch_stop": false,
126
+ "should_evaluate": false,
127
+ "should_log": false,
128
+ "should_save": true,
129
+ "should_training_stop": true
130
+ },
131
+ "attributes": {}
132
+ }
133
+ },
134
+ "total_flos": 1776015569664.0,
135
+ "train_batch_size": 8,
136
+ "trial_name": null,
137
+ "trial_params": null
138
+ }
checkpoint-6/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81a9a6c8ad4f98e42e05ebdec95cf81b5acf3abcaed0c64fd63028b9cc88221a
3
+ size 5240
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "cardiffnlp/twitter-roberta-base-sentiment-latest",
3
+ "_num_labels": 3,
4
+ "architectures": [
5
+ "RobertaForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": null,
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "negative",
17
+ "1": "neutral",
18
+ "2": "positive"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "negative": 0,
24
+ "neutral": 1,
25
+ "positive": 2
26
+ },
27
+ "layer_norm_eps": 1e-05,
28
+ "max_position_embeddings": 514,
29
+ "model_type": "roberta",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "pad_token_id": 1,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.43.1",
37
+ "type_vocab_size": 1,
38
+ "use_cache": true,
39
+ "vocab_size": 50265
40
+ }
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:bbae9ce09a6c0fbed7f6379085a3c9d231618d8954d62ddb96bb1e062c7bd49c
3
+ size 498615900
runs/Aug04_09-19-12_r-michellehsieh-taide-lx-7b-chat-test-lrk4jzcq-9e220-yhp80/events.out.tfevents.1722763153.r-michellehsieh-taide-lx-7b-chat-test-lrk4jzcq-9e220-yhp80.120.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:01117225f6fd5c7fa52642ffd116d9ee73795c1d61b3812ce20cd76703e8e174
3
- size 5250
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30d200628daa7da83902928790326539f6662f39120609d0350798e9b909de2b
3
+ size 9294
runs/Aug04_09-19-12_r-michellehsieh-taide-lx-7b-chat-test-lrk4jzcq-9e220-yhp80/events.out.tfevents.1722763181.r-michellehsieh-taide-lx-7b-chat-test-lrk4jzcq-9e220-yhp80.120.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db7eab42da5fd096ab2b4344f55a17eab60471e56bba45b67da549bdd7f6843e
3
+ size 906
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "mask_token": "<mask>",
51
+ "model_max_length": 1000000000000000019884624838656,
52
+ "pad_token": "<pad>",
53
+ "sep_token": "</s>",
54
+ "tokenizer_class": "RobertaTokenizer",
55
+ "trim_offsets": true,
56
+ "unk_token": "<unk>"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81a9a6c8ad4f98e42e05ebdec95cf81b5acf3abcaed0c64fd63028b9cc88221a
3
+ size 5240
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-j4zkp-65w4q/autotrain-data",
3
+ "model": "cardiffnlp/twitter-roberta-base-sentiment-latest",
4
+ "lr": 5e-05,
5
+ "epochs": 3,
6
+ "max_seq_length": 128,
7
+ "batch_size": 8,
8
+ "warmup_ratio": 0.1,
9
+ "gradient_accumulation": 1,
10
+ "optimizer": "adamw_torch",
11
+ "scheduler": "linear",
12
+ "weight_decay": 0.0,
13
+ "max_grad_norm": 1.0,
14
+ "seed": 42,
15
+ "train_split": "train",
16
+ "valid_split": "validation",
17
+ "text_column": "autotrain_text",
18
+ "target_column": "autotrain_label",
19
+ "logging_steps": -1,
20
+ "project_name": "autotrain-j4zkp-65w4q",
21
+ "auto_find_batch_size": false,
22
+ "mixed_precision": "fp16",
23
+ "save_total_limit": 1,
24
+ "push_to_hub": true,
25
+ "eval_strategy": "epoch",
26
+ "username": "MichelleHsieh",
27
+ "log": "tensorboard",
28
+ "early_stopping_patience": 5,
29
+ "early_stopping_threshold": 0.01
30
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff