bhoomi11 commited on
Commit
2278ee7
·
verified ·
1 Parent(s): d2a31e1

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ library_name: transformers
4
+ tags:
5
+ - autotrain
6
+ - text-classification
7
+ base_model: emilyalsentzer/Bio_ClinicalBERT
8
+ widget:
9
+ - text: "I love AutoTrain"
10
+ ---
11
+
12
+ # Model Trained Using AutoTrain
13
+
14
+ - Problem type: Text Classification
15
+
16
+ ## Validation Metrics
17
+ loss: 0.5463677644729614
18
+
19
+ f1: 0.0
20
+
21
+ precision: 0.0
22
+
23
+ recall: 0.0
24
+
25
+ auc: 0.0
26
+
27
+ accuracy: 0.8
checkpoint-9/config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "emilyalsentzer/Bio_ClinicalBERT",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": " train",
14
+ "1": " valid"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ " train": 0,
20
+ " valid": 1
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "problem_type": "single_label_classification",
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.48.0",
32
+ "type_vocab_size": 2,
33
+ "use_cache": true,
34
+ "vocab_size": 28996
35
+ }
checkpoint-9/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2724ef2a9c8c7a779efe9984d8550317ca57b0d59abd25f61a0aea0ce7204363
3
+ size 433270768
checkpoint-9/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7563dcccfd8a9f72d77a9b0aeaed1c24698aca93a0a222135fd04a6da4516ee4
3
+ size 866657018
checkpoint-9/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd08b5cffe76763cfaec7a8ced525e92533537e3a6b5184b3bd883255d0b54a5
3
+ size 13990
checkpoint-9/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe28afbf6131c4aaf26ff58140d1779aa47b73f2084ea00758f7b4ca1fc0182a
3
+ size 1064
checkpoint-9/trainer_state.json ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5463677644729614,
3
+ "best_model_checkpoint": "autotrain-nsdxr-fllj6/checkpoint-9",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 9,
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.3333333333333333,
13
+ "grad_norm": 15.975604057312012,
14
+ "learning_rate": 5e-05,
15
+ "loss": 0.8818,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.6666666666666666,
20
+ "grad_norm": 7.765045166015625,
21
+ "learning_rate": 4.375e-05,
22
+ "loss": 0.6766,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 1.0,
27
+ "grad_norm": 18.50520896911621,
28
+ "learning_rate": 3.7500000000000003e-05,
29
+ "loss": 0.9543,
30
+ "step": 3
31
+ },
32
+ {
33
+ "epoch": 1.0,
34
+ "eval_accuracy": 0.8,
35
+ "eval_auc": 0.5,
36
+ "eval_f1": 0.0,
37
+ "eval_loss": 0.5852190256118774,
38
+ "eval_precision": 0.0,
39
+ "eval_recall": 0.0,
40
+ "eval_runtime": 1.2041,
41
+ "eval_samples_per_second": 4.152,
42
+ "eval_steps_per_second": 0.83,
43
+ "step": 3
44
+ },
45
+ {
46
+ "epoch": 1.3333333333333333,
47
+ "grad_norm": 7.193077087402344,
48
+ "learning_rate": 3.125e-05,
49
+ "loss": 0.5326,
50
+ "step": 4
51
+ },
52
+ {
53
+ "epoch": 1.6666666666666665,
54
+ "grad_norm": 4.841723442077637,
55
+ "learning_rate": 2.5e-05,
56
+ "loss": 0.7574,
57
+ "step": 5
58
+ },
59
+ {
60
+ "epoch": 2.0,
61
+ "grad_norm": 12.484859466552734,
62
+ "learning_rate": 1.8750000000000002e-05,
63
+ "loss": 0.529,
64
+ "step": 6
65
+ },
66
+ {
67
+ "epoch": 2.0,
68
+ "eval_accuracy": 0.8,
69
+ "eval_auc": 0.25,
70
+ "eval_f1": 0.0,
71
+ "eval_loss": 0.554911196231842,
72
+ "eval_precision": 0.0,
73
+ "eval_recall": 0.0,
74
+ "eval_runtime": 1.3995,
75
+ "eval_samples_per_second": 3.573,
76
+ "eval_steps_per_second": 0.715,
77
+ "step": 6
78
+ },
79
+ {
80
+ "epoch": 2.3333333333333335,
81
+ "grad_norm": 3.6496365070343018,
82
+ "learning_rate": 1.25e-05,
83
+ "loss": 0.5637,
84
+ "step": 7
85
+ },
86
+ {
87
+ "epoch": 2.6666666666666665,
88
+ "grad_norm": 2.2735283374786377,
89
+ "learning_rate": 6.25e-06,
90
+ "loss": 0.5877,
91
+ "step": 8
92
+ },
93
+ {
94
+ "epoch": 3.0,
95
+ "grad_norm": 9.474960327148438,
96
+ "learning_rate": 0.0,
97
+ "loss": 0.3657,
98
+ "step": 9
99
+ },
100
+ {
101
+ "epoch": 3.0,
102
+ "eval_accuracy": 0.8,
103
+ "eval_auc": 0.0,
104
+ "eval_f1": 0.0,
105
+ "eval_loss": 0.5463677644729614,
106
+ "eval_precision": 0.0,
107
+ "eval_recall": 0.0,
108
+ "eval_runtime": 1.7693,
109
+ "eval_samples_per_second": 2.826,
110
+ "eval_steps_per_second": 0.565,
111
+ "step": 9
112
+ }
113
+ ],
114
+ "logging_steps": 1,
115
+ "max_steps": 9,
116
+ "num_input_tokens_seen": 0,
117
+ "num_train_epochs": 3,
118
+ "save_steps": 500,
119
+ "stateful_callbacks": {
120
+ "EarlyStoppingCallback": {
121
+ "args": {
122
+ "early_stopping_patience": 5,
123
+ "early_stopping_threshold": 0.01
124
+ },
125
+ "attributes": {
126
+ "early_stopping_patience_counter": 1
127
+ }
128
+ },
129
+ "TrainerControl": {
130
+ "args": {
131
+ "should_epoch_stop": false,
132
+ "should_evaluate": false,
133
+ "should_log": false,
134
+ "should_save": true,
135
+ "should_training_stop": true
136
+ },
137
+ "attributes": {}
138
+ }
139
+ },
140
+ "total_flos": 3551999247360.0,
141
+ "train_batch_size": 8,
142
+ "trial_name": null,
143
+ "trial_params": null
144
+ }
checkpoint-9/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f94acc2919f790315526873c9107ca9ab6a49d6e79adde6608354c057c192213
3
+ size 5368
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "emilyalsentzer/Bio_ClinicalBERT",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": " train",
14
+ "1": " valid"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ " train": 0,
20
+ " valid": 1
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "problem_type": "single_label_classification",
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.48.0",
32
+ "type_vocab_size": 2,
33
+ "use_cache": true,
34
+ "vocab_size": 28996
35
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2724ef2a9c8c7a779efe9984d8550317ca57b0d59abd25f61a0aea0ce7204363
3
+ size 433270768
runs/May02_16-17-14_r-bhoomi11-oral-cancer-train-lcys1rwb-91511-l8gg3/events.out.tfevents.1746202638.r-bhoomi11-oral-cancer-train-lcys1rwb-91511-l8gg3.102.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:62f5739cfb8fb22a1c3a440045b9e1b832b179bbc2563bd0a3c0641deb0d247a
3
- size 5145
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:967751634e6c6ae7baa050c48301645618d8c4e307a6303c5c607b484a9e9add
3
+ size 8883
runs/May02_16-17-14_r-bhoomi11-oral-cancer-train-lcys1rwb-91511-l8gg3/events.out.tfevents.1746202711.r-bhoomi11-oral-cancer-train-lcys1rwb-91511-l8gg3.102.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef7c5e32707fd03155b75aa9f11b8431721e0638b000ef4cc90549f442af2c87
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,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
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:f94acc2919f790315526873c9107ca9ab6a49d6e79adde6608354c057c192213
3
+ size 5368
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-nsdxr-fllj6/autotrain-data",
3
+ "model": "emilyalsentzer/Bio_ClinicalBERT",
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-nsdxr-fllj6",
21
+ "auto_find_batch_size": false,
22
+ "mixed_precision": "none",
23
+ "save_total_limit": 1,
24
+ "push_to_hub": true,
25
+ "eval_strategy": "epoch",
26
+ "username": "bhoomi11",
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