cite-text-analysis
commited on
Commit
•
4a81e98
1
Parent(s):
571f8f2
Upload folder using huggingface_hub
Browse files- training_checkpoints/checkpoint-672/added_tokens.json +3 -0
- training_checkpoints/checkpoint-672/config.json +39 -0
- training_checkpoints/checkpoint-672/model.safetensors +3 -0
- training_checkpoints/checkpoint-672/optimizer.pt +3 -0
- training_checkpoints/checkpoint-672/rng_state.pth +3 -0
- training_checkpoints/checkpoint-672/scheduler.pt +3 -0
- training_checkpoints/checkpoint-672/special_tokens_map.json +13 -0
- training_checkpoints/checkpoint-672/tokenizer.json +0 -0
- training_checkpoints/checkpoint-672/tokenizer_config.json +63 -0
- training_checkpoints/checkpoint-672/trainer_state.json +94 -0
- training_checkpoints/checkpoint-672/training_args.bin +3 -0
- training_checkpoints/checkpoint-672/vocab.txt +0 -0
training_checkpoints/checkpoint-672/added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<pad>": 30522
|
3 |
+
}
|
training_checkpoints/checkpoint-672/config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google-bert/bert-base-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "positive",
|
14 |
+
"1": "negative",
|
15 |
+
"2": "neutral",
|
16 |
+
"3": "rel_by_party"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"negative": 1,
|
22 |
+
"neutral": 2,
|
23 |
+
"positive": 0,
|
24 |
+
"rel_by_party": 3
|
25 |
+
},
|
26 |
+
"layer_norm_eps": 1e-12,
|
27 |
+
"max_position_embeddings": 512,
|
28 |
+
"model_type": "bert",
|
29 |
+
"num_attention_heads": 12,
|
30 |
+
"num_hidden_layers": 12,
|
31 |
+
"pad_token_id": 30522,
|
32 |
+
"position_embedding_type": "absolute",
|
33 |
+
"problem_type": "single_label_classification",
|
34 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.40.1",
|
36 |
+
"type_vocab_size": 2,
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 30523
|
39 |
+
}
|
training_checkpoints/checkpoint-672/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d4a6ee9f04f9efd83899c7db31860d57b0e2db43e0714ea6627cf44221df457
|
3 |
+
size 437967872
|
training_checkpoints/checkpoint-672/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dfe1bce769766fc044b5ab0114929401db2306965314148c26d34cda5a3ffd81
|
3 |
+
size 876056826
|
training_checkpoints/checkpoint-672/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b5ddb3325bea3b71daadbb0d78045248502db277e12c1f3b01fe8849f28531bf
|
3 |
+
size 14244
|
training_checkpoints/checkpoint-672/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7f26db89cf369108ce9c528bb27f1cd8769dd7803aebee3a7068e32131e1fee3
|
3 |
+
size 1064
|
training_checkpoints/checkpoint-672/special_tokens_map.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": {
|
5 |
+
"content": "<pad>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false
|
10 |
+
},
|
11 |
+
"sep_token": "[SEP]",
|
12 |
+
"unk_token": "[UNK]"
|
13 |
+
}
|
training_checkpoints/checkpoint-672/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
training_checkpoints/checkpoint-672/tokenizer_config.json
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"30522": {
|
44 |
+
"content": "<pad>",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": true
|
50 |
+
}
|
51 |
+
},
|
52 |
+
"clean_up_tokenization_spaces": true,
|
53 |
+
"cls_token": "[CLS]",
|
54 |
+
"do_lower_case": true,
|
55 |
+
"mask_token": "[MASK]",
|
56 |
+
"model_max_length": 512,
|
57 |
+
"pad_token": "<pad>",
|
58 |
+
"sep_token": "[SEP]",
|
59 |
+
"strip_accents": null,
|
60 |
+
"tokenize_chinese_chars": true,
|
61 |
+
"tokenizer_class": "BertTokenizer",
|
62 |
+
"unk_token": "[UNK]"
|
63 |
+
}
|
training_checkpoints/checkpoint-672/trainer_state.json
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.5913567856292314,
|
3 |
+
"best_model_checkpoint": "case-analysis-bert-base-uncased/checkpoint-448",
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 672,
|
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 |
+
"eval_accuracy": 0.7861915367483296,
|
14 |
+
"eval_f1_macro": 0.5606209513919795,
|
15 |
+
"eval_f1_micro": 0.7861915367483298,
|
16 |
+
"eval_f1_weighted": 0.7596863457967054,
|
17 |
+
"eval_loss": 0.7283128499984741,
|
18 |
+
"eval_macro_fpr": 0.1142150114777894,
|
19 |
+
"eval_macro_sensitivity": 0.5571958513134984,
|
20 |
+
"eval_macro_specificity": 0.8974437739369907,
|
21 |
+
"eval_precision": 0.7487100743874461,
|
22 |
+
"eval_precision_macro": 0.584767668299669,
|
23 |
+
"eval_recall": 0.7861915367483296,
|
24 |
+
"eval_recall_macro": 0.5571958513134984,
|
25 |
+
"eval_runtime": 9.7006,
|
26 |
+
"eval_samples_per_second": 46.286,
|
27 |
+
"eval_steps_per_second": 5.876,
|
28 |
+
"eval_weighted_fpr": 0.08311688311688312,
|
29 |
+
"eval_weighted_sensitivity": 0.7861915367483296,
|
30 |
+
"eval_weighted_specificity": 0.8035835589996332,
|
31 |
+
"step": 224
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"epoch": 2.0,
|
35 |
+
"eval_accuracy": 0.799554565701559,
|
36 |
+
"eval_f1_macro": 0.5913567856292314,
|
37 |
+
"eval_f1_micro": 0.799554565701559,
|
38 |
+
"eval_f1_weighted": 0.7794312570974847,
|
39 |
+
"eval_loss": 0.816001296043396,
|
40 |
+
"eval_macro_fpr": 0.09972743460349152,
|
41 |
+
"eval_macro_sensitivity": 0.6065148418089594,
|
42 |
+
"eval_macro_specificity": 0.910318444398066,
|
43 |
+
"eval_precision": 0.7603126937076594,
|
44 |
+
"eval_precision_macro": 0.5769576335614072,
|
45 |
+
"eval_recall": 0.799554565701559,
|
46 |
+
"eval_recall_macro": 0.6065148418089594,
|
47 |
+
"eval_runtime": 39.2963,
|
48 |
+
"eval_samples_per_second": 11.426,
|
49 |
+
"eval_steps_per_second": 1.451,
|
50 |
+
"eval_weighted_fpr": 0.07712082262210797,
|
51 |
+
"eval_weighted_sensitivity": 0.799554565701559,
|
52 |
+
"eval_weighted_specificity": 0.8417192118907049,
|
53 |
+
"step": 448
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 2.232142857142857,
|
57 |
+
"grad_norm": 10.089143753051758,
|
58 |
+
"learning_rate": 4.6302083333333335e-05,
|
59 |
+
"loss": 0.6512,
|
60 |
+
"step": 500
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 3.0,
|
64 |
+
"eval_accuracy": 0.7906458797327395,
|
65 |
+
"eval_f1_macro": 0.5840451851613266,
|
66 |
+
"eval_f1_micro": 0.7906458797327395,
|
67 |
+
"eval_f1_weighted": 0.771952482046502,
|
68 |
+
"eval_loss": 0.8587548136711121,
|
69 |
+
"eval_macro_fpr": 0.10045553338392213,
|
70 |
+
"eval_macro_sensitivity": 0.5989408048231577,
|
71 |
+
"eval_macro_specificity": 0.9104668136432382,
|
72 |
+
"eval_precision": 0.7597703984690992,
|
73 |
+
"eval_precision_macro": 0.5770004879708264,
|
74 |
+
"eval_recall": 0.7906458797327395,
|
75 |
+
"eval_recall_macro": 0.5989408048231577,
|
76 |
+
"eval_runtime": 36.0068,
|
77 |
+
"eval_samples_per_second": 12.47,
|
78 |
+
"eval_steps_per_second": 1.583,
|
79 |
+
"eval_weighted_fpr": 0.0811044003451251,
|
80 |
+
"eval_weighted_sensitivity": 0.7906458797327395,
|
81 |
+
"eval_weighted_specificity": 0.8512213748402133,
|
82 |
+
"step": 672
|
83 |
+
}
|
84 |
+
],
|
85 |
+
"logging_steps": 500,
|
86 |
+
"max_steps": 6720,
|
87 |
+
"num_input_tokens_seen": 0,
|
88 |
+
"num_train_epochs": 30,
|
89 |
+
"save_steps": 500,
|
90 |
+
"total_flos": 1414510433796096.0,
|
91 |
+
"train_batch_size": 8,
|
92 |
+
"trial_name": null,
|
93 |
+
"trial_params": null
|
94 |
+
}
|
training_checkpoints/checkpoint-672/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c832ee10aa932bd0cb27acefa6d68ce6a8c58fec9dd1db56a661139c627803cd
|
3 |
+
size 5048
|
training_checkpoints/checkpoint-672/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|