deveshk12 commited on
Commit
4568b3a
1 Parent(s): 4d2c21b

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: google-bert/bert-base-uncased
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.6392033696174622
17
+
18
+ f1: 0.6666666666666666
19
+
20
+ precision: 0.5
21
+
22
+ recall: 1.0
23
+
24
+ auc: 1.0
25
+
26
+ accuracy: 0.5
checkpoint-3/config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-uncased",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "0",
15
+ "1": "1"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "0": 0,
21
+ "1": 1
22
+ },
23
+ "layer_norm_eps": 1e-12,
24
+ "max_position_embeddings": 512,
25
+ "model_type": "bert",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "pad_token_id": 0,
29
+ "position_embedding_type": "absolute",
30
+ "problem_type": "single_label_classification",
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.42.2",
33
+ "type_vocab_size": 2,
34
+ "use_cache": true,
35
+ "vocab_size": 30522
36
+ }
checkpoint-3/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fcae29ba3ee7c1e840918d16bd6e22acb067bb387314304fd2f6f2c8fc0ea7b
3
+ size 437958648
checkpoint-3/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70d235ff014d2c91915a9459ad74991567047479ad9ea59b84bc70ac214e9b0a
3
+ size 876032762
checkpoint-3/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8efc78f6204436041547a0d0c2f8dbac6e78b3895053d1217b3507e623a8fe79
3
+ size 13990
checkpoint-3/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8a41b254d981983d12a5d0bed17f4768863ab9648e2daeb9b71c409365e3b73
3
+ size 1064
checkpoint-3/trainer_state.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.6392033696174622,
3
+ "best_model_checkpoint": "autotrain-osb1a-e71jf/checkpoint-3",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 3,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "grad_norm": 6.492610931396484,
14
+ "learning_rate": 5e-05,
15
+ "loss": 0.644,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.5,
21
+ "eval_auc": 0.0,
22
+ "eval_f1": 0.6666666666666666,
23
+ "eval_loss": 0.7297199368476868,
24
+ "eval_precision": 0.5,
25
+ "eval_recall": 1.0,
26
+ "eval_runtime": 0.389,
27
+ "eval_samples_per_second": 5.142,
28
+ "eval_steps_per_second": 2.571,
29
+ "step": 1
30
+ },
31
+ {
32
+ "epoch": 2.0,
33
+ "grad_norm": 7.825503349304199,
34
+ "learning_rate": 2.5e-05,
35
+ "loss": 0.7805,
36
+ "step": 2
37
+ },
38
+ {
39
+ "epoch": 2.0,
40
+ "eval_accuracy": 0.5,
41
+ "eval_auc": 1.0,
42
+ "eval_f1": 0.6666666666666666,
43
+ "eval_loss": 0.6408634185791016,
44
+ "eval_precision": 0.5,
45
+ "eval_recall": 1.0,
46
+ "eval_runtime": 0.4013,
47
+ "eval_samples_per_second": 4.984,
48
+ "eval_steps_per_second": 2.492,
49
+ "step": 2
50
+ },
51
+ {
52
+ "epoch": 3.0,
53
+ "grad_norm": 6.52128791809082,
54
+ "learning_rate": 0.0,
55
+ "loss": 0.5661,
56
+ "step": 3
57
+ },
58
+ {
59
+ "epoch": 3.0,
60
+ "eval_accuracy": 0.5,
61
+ "eval_auc": 1.0,
62
+ "eval_f1": 0.6666666666666666,
63
+ "eval_loss": 0.6392033696174622,
64
+ "eval_precision": 0.5,
65
+ "eval_recall": 1.0,
66
+ "eval_runtime": 0.3839,
67
+ "eval_samples_per_second": 5.21,
68
+ "eval_steps_per_second": 2.605,
69
+ "step": 3
70
+ }
71
+ ],
72
+ "logging_steps": 1,
73
+ "max_steps": 3,
74
+ "num_input_tokens_seen": 0,
75
+ "num_train_epochs": 3,
76
+ "save_steps": 500,
77
+ "stateful_callbacks": {
78
+ "EarlyStoppingCallback": {
79
+ "args": {
80
+ "early_stopping_patience": 5,
81
+ "early_stopping_threshold": 0.01
82
+ },
83
+ "attributes": {
84
+ "early_stopping_patience_counter": 0
85
+ }
86
+ },
87
+ "TrainerControl": {
88
+ "args": {
89
+ "should_epoch_stop": false,
90
+ "should_evaluate": false,
91
+ "should_log": false,
92
+ "should_save": true,
93
+ "should_training_stop": true
94
+ },
95
+ "attributes": {}
96
+ }
97
+ },
98
+ "total_flos": 789333166080.0,
99
+ "train_batch_size": 8,
100
+ "trial_name": null,
101
+ "trial_params": null
102
+ }
checkpoint-3/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6622acaa9b8a181a9f64e1260b476839b50013fbbfaa69dea51fae986d995545
3
+ size 5176
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-uncased",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "0",
15
+ "1": "1"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "0": 0,
21
+ "1": 1
22
+ },
23
+ "layer_norm_eps": 1e-12,
24
+ "max_position_embeddings": 512,
25
+ "model_type": "bert",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "pad_token_id": 0,
29
+ "position_embedding_type": "absolute",
30
+ "problem_type": "single_label_classification",
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.42.2",
33
+ "type_vocab_size": 2,
34
+ "use_cache": true,
35
+ "vocab_size": 30522
36
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fcae29ba3ee7c1e840918d16bd6e22acb067bb387314304fd2f6f2c8fc0ea7b
3
+ size 437958648
runs/Jul04_13-53-19_r-deveshk12-test-training-space-5vw6ujvp-03cda-df46e/events.out.tfevents.1720101200.r-deveshk12-test-training-space-5vw6ujvp-03cda-df46e.91.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:639f8086d3850d5425b3005cf9d99ab9fb6fda8cb056c79f392385fd31757281
3
- size 4999
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fffa9985bc3f87df572b3eec829e1377998ea23a74a29335e714f67f7074c6a
3
+ size 7495
runs/Jul04_13-53-19_r-deveshk12-test-training-space-5vw6ujvp-03cda-df46e/events.out.tfevents.1720101228.r-deveshk12-test-training-space-5vw6ujvp-03cda-df46e.91.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54fabe1b0695dea69cd4af681e15108b867c05950e25dc6442d81b1afcfd1c24
3
+ size 597
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "BertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6622acaa9b8a181a9f64e1260b476839b50013fbbfaa69dea51fae986d995545
3
+ size 5176
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-osb1a-e71jf/autotrain-data",
3
+ "model": "google-bert/bert-base-uncased",
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-osb1a-e71jf",
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": "deveshk12",
27
+ "log": "tensorboard",
28
+ "early_stopping_patience": 5,
29
+ "early_stopping_threshold": 0.01
30
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff