rawani123 commited on
Commit
4dff357
1 Parent(s): cdcec5c

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.18024630844593048
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.45.0",
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:3e117638e32933573c97a453d99ec7c21fb17696b0ec890b27c208ff4ab0cb66
3
+ size 498615900
checkpoint-6/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2051d51d535c3c472b81f301b14dddd628083fceb84d6749aa457b2db0de20e8
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.18024630844593048,
3
+ "best_model_checkpoint": "autotrain-3bf12-7xzwy/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": 22.579105377197266,
14
+ "learning_rate": 5e-05,
15
+ "loss": 0.3684,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "grad_norm": 22.477516174316406,
21
+ "learning_rate": 4e-05,
22
+ "loss": 0.4685,
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.709955632686615,
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.6156,
39
+ "eval_samples_per_second": 4.873,
40
+ "eval_steps_per_second": 1.624,
41
+ "step": 2
42
+ },
43
+ {
44
+ "epoch": 1.5,
45
+ "grad_norm": 29.198047637939453,
46
+ "learning_rate": 3e-05,
47
+ "loss": 0.5213,
48
+ "step": 3
49
+ },
50
+ {
51
+ "epoch": 2.0,
52
+ "grad_norm": 8.840563774108887,
53
+ "learning_rate": 2e-05,
54
+ "loss": 0.2181,
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.3932203948497772,
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.5826,
71
+ "eval_samples_per_second": 5.149,
72
+ "eval_steps_per_second": 1.716,
73
+ "step": 4
74
+ },
75
+ {
76
+ "epoch": 2.5,
77
+ "grad_norm": 33.93452453613281,
78
+ "learning_rate": 1e-05,
79
+ "loss": 0.4173,
80
+ "step": 5
81
+ },
82
+ {
83
+ "epoch": 3.0,
84
+ "grad_norm": 6.5854597091674805,
85
+ "learning_rate": 0.0,
86
+ "loss": 0.1405,
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.18024630844593048,
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.5628,
103
+ "eval_samples_per_second": 5.33,
104
+ "eval_steps_per_second": 1.777,
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": 2368020759552.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:b377e605f15a3b4656e1eb599a380e34cd1c837fa406bc78ddda6004716423e0
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.45.0",
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:3e117638e32933573c97a453d99ec7c21fb17696b0ec890b27c208ff4ab0cb66
3
+ size 498615900
runs/Oct12_06-03-30_r-rawani123-autotrain-test-hiha98y0-4666c-rfrk2/events.out.tfevents.1728713013.r-rawani123-autotrain-test-hiha98y0-4666c-rfrk2.242.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ea3c0e465ba194fe96e52fadd838c536cbdf52e6aa732e0b280eb1d84e93ec98
3
- size 5269
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a96f10aed33e2d158aabef42999a6db47f606949e8487244757a1fa8b03f24fe
3
+ size 9313
runs/Oct12_06-03-30_r-rawani123-autotrain-test-hiha98y0-4666c-rfrk2/events.out.tfevents.1728713050.r-rawani123-autotrain-test-hiha98y0-4666c-rfrk2.242.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fd6af8969a542e2fc6686faedbd7979914c30dac9256e25eceb0e998f2c7366
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:b377e605f15a3b4656e1eb599a380e34cd1c837fa406bc78ddda6004716423e0
3
+ size 5240
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-3bf12-7xzwy/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-3bf12-7xzwy",
21
+ "auto_find_batch_size": false,
22
+ "mixed_precision": null,
23
+ "save_total_limit": 1,
24
+ "push_to_hub": true,
25
+ "eval_strategy": "epoch",
26
+ "username": "rawani123",
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