BenoAI commited on
Commit
dfbb05d
·
verified ·
1 Parent(s): 88f044a

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - text-classification
6
+ base_model: cardiffnlp/twitter-roberta-base-sentiment
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.687774658203125
17
+
18
+ f1: 0.5
19
+
20
+ precision: 0.5
21
+
22
+ recall: 0.5
23
+
24
+ auc: 1.0
25
+
26
+ accuracy: 0.5
checkpoint-6/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "cardiffnlp/twitter-roberta-base-sentiment",
3
+ "_num_labels": 2,
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": "positive"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "negative": 0,
23
+ "positive": 1
24
+ },
25
+ "layer_norm_eps": 1e-05,
26
+ "max_position_embeddings": 514,
27
+ "model_type": "roberta",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 1,
31
+ "position_embedding_type": "absolute",
32
+ "problem_type": "single_label_classification",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.47.1",
35
+ "type_vocab_size": 1,
36
+ "use_cache": true,
37
+ "vocab_size": 50265
38
+ }
checkpoint-6/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d68792ca6b6ccefa8247c730ae896fc433470d05c97b8ebd745689aad3a0d6e
3
+ size 498612824
checkpoint-6/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47c6bfbfb068f7a6bece1a5a0030527826faa1a9670f09f60ad60222e931474d
3
+ size 997339898
checkpoint-6/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07ae460aee1d885b276b898f4f8b9dee77c8b6c7941b7009c1d7d14dd5d118c4
3
+ size 13990
checkpoint-6/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c350a54903a1a9b6f44cb7b3b94efd85379339fffb4d5a43c311252edab041e9
3
+ size 1064
checkpoint-6/trainer_state.json ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.687774658203125,
3
+ "best_model_checkpoint": "robertatest/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": 5.72326135635376,
14
+ "learning_rate": 1e-05,
15
+ "loss": 0.7371,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "grad_norm": 5.217761993408203,
21
+ "learning_rate": 2e-05,
22
+ "loss": 0.6233,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 1.0,
27
+ "eval_accuracy": 0.5,
28
+ "eval_auc": 0.5,
29
+ "eval_f1": 0.0,
30
+ "eval_loss": 0.7041667103767395,
31
+ "eval_precision": 0.0,
32
+ "eval_recall": 0.0,
33
+ "eval_runtime": 0.7626,
34
+ "eval_samples_per_second": 5.245,
35
+ "eval_steps_per_second": 1.311,
36
+ "step": 2
37
+ },
38
+ {
39
+ "epoch": 1.5,
40
+ "grad_norm": 6.899262428283691,
41
+ "learning_rate": 3e-05,
42
+ "loss": 0.6912,
43
+ "step": 3
44
+ },
45
+ {
46
+ "epoch": 2.0,
47
+ "grad_norm": 6.985622406005859,
48
+ "learning_rate": 4e-05,
49
+ "loss": 0.6854,
50
+ "step": 4
51
+ },
52
+ {
53
+ "epoch": 2.0,
54
+ "eval_accuracy": 0.5,
55
+ "eval_auc": 0.75,
56
+ "eval_f1": 0.0,
57
+ "eval_loss": 0.6881411671638489,
58
+ "eval_precision": 0.0,
59
+ "eval_recall": 0.0,
60
+ "eval_runtime": 0.6966,
61
+ "eval_samples_per_second": 5.742,
62
+ "eval_steps_per_second": 1.435,
63
+ "step": 4
64
+ },
65
+ {
66
+ "epoch": 2.5,
67
+ "grad_norm": 3.8720149993896484,
68
+ "learning_rate": 5e-05,
69
+ "loss": 0.6425,
70
+ "step": 5
71
+ },
72
+ {
73
+ "epoch": 3.0,
74
+ "grad_norm": 4.4388933181762695,
75
+ "learning_rate": 4.888888888888889e-05,
76
+ "loss": 0.6463,
77
+ "step": 6
78
+ },
79
+ {
80
+ "epoch": 3.0,
81
+ "eval_accuracy": 0.5,
82
+ "eval_auc": 1.0,
83
+ "eval_f1": 0.5,
84
+ "eval_loss": 0.687774658203125,
85
+ "eval_precision": 0.5,
86
+ "eval_recall": 0.5,
87
+ "eval_runtime": 0.6946,
88
+ "eval_samples_per_second": 5.759,
89
+ "eval_steps_per_second": 1.44,
90
+ "step": 6
91
+ }
92
+ ],
93
+ "logging_steps": 1,
94
+ "max_steps": 50,
95
+ "num_input_tokens_seen": 0,
96
+ "num_train_epochs": 25,
97
+ "save_steps": 500,
98
+ "stateful_callbacks": {
99
+ "EarlyStoppingCallback": {
100
+ "args": {
101
+ "early_stopping_patience": 5,
102
+ "early_stopping_threshold": 0.01
103
+ },
104
+ "attributes": {
105
+ "early_stopping_patience_counter": 1
106
+ }
107
+ },
108
+ "TrainerControl": {
109
+ "args": {
110
+ "should_epoch_stop": false,
111
+ "should_evaluate": false,
112
+ "should_log": false,
113
+ "should_save": true,
114
+ "should_training_stop": false
115
+ },
116
+ "attributes": {}
117
+ }
118
+ },
119
+ "total_flos": 3157332664320.0,
120
+ "train_batch_size": 8,
121
+ "trial_name": null,
122
+ "trial_params": null
123
+ }
checkpoint-6/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d88f3b545a9f2fa7c14625b3e89b36a509356ff478b65aff38721c43a2ec0278
3
+ size 5368
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "cardiffnlp/twitter-roberta-base-sentiment",
3
+ "_num_labels": 2,
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": "positive"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "negative": 0,
23
+ "positive": 1
24
+ },
25
+ "layer_norm_eps": 1e-05,
26
+ "max_position_embeddings": 514,
27
+ "model_type": "roberta",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 1,
31
+ "position_embedding_type": "absolute",
32
+ "problem_type": "single_label_classification",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.47.1",
35
+ "type_vocab_size": 1,
36
+ "use_cache": true,
37
+ "vocab_size": 50265
38
+ }
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:3d68792ca6b6ccefa8247c730ae896fc433470d05c97b8ebd745689aad3a0d6e
3
+ size 498612824
runs/Jan07_10-48-10_r-benoai-roberta-fine-tuned-0vwitbax-9b6ef-g8h07/events.out.tfevents.1736246892.r-benoai-roberta-fine-tuned-0vwitbax-9b6ef-g8h07.125.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:04c35ef76ff4e836bc7085b9fa28258fde8ee926ddc75bc9c0fbdda120d9c802
3
- size 5277
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82fd9e07c114949937c6f476d66de4870837157bdaa5909bf4475c129974015c
3
+ size 12086
runs/Jan07_10-48-10_r-benoai-roberta-fine-tuned-0vwitbax-9b6ef-g8h07/events.out.tfevents.1736246981.r-benoai-roberta-fine-tuned-0vwitbax-9b6ef-g8h07.125.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cd94689977b348d84265868189d48bc6261e14fe3ab0c97ebe679d0cc660d03
3
+ size 597
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,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "extra_special_tokens": {},
51
+ "mask_token": "<mask>",
52
+ "model_max_length": 1000000000000000019884624838656,
53
+ "pad_token": "<pad>",
54
+ "sep_token": "</s>",
55
+ "tokenizer_class": "RobertaTokenizer",
56
+ "trim_offsets": true,
57
+ "unk_token": "<unk>"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d88f3b545a9f2fa7c14625b3e89b36a509356ff478b65aff38721c43a2ec0278
3
+ size 5368
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "robertatest/autotrain-data",
3
+ "model": "cardiffnlp/twitter-roberta-base-sentiment",
4
+ "lr": 5e-05,
5
+ "epochs": 25,
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": "robertatest",
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": "BenoAI",
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