Codex12 commited on
Commit
ee20949
·
verified ·
1 Parent(s): 3674b1e

Upload 33 files

Browse files
Files changed (33) hide show
  1. checkpoints/best_model/model.safetensors +3 -0
  2. checkpoints/best_model/optimizer.pt +3 -0
  3. checkpoints/best_model/rng_state.pth +3 -0
  4. checkpoints/best_model/scheduler.pt +3 -0
  5. checkpoints/best_model/tokenizer.json +0 -0
  6. checkpoints/best_model/tokenizer_config.json +24 -0
  7. checkpoints/best_model/trainer_state.json +107 -0
  8. checkpoints/best_model/training_args.bin +3 -0
  9. checkpoints/best_model/training_config.json +44 -0
  10. checkpoints/checkpoint-113/model.safetensors +3 -0
  11. checkpoints/checkpoint-113/optimizer.pt +3 -0
  12. checkpoints/checkpoint-113/rng_state.pth +3 -0
  13. checkpoints/checkpoint-113/scheduler.pt +3 -0
  14. checkpoints/checkpoint-113/tokenizer.json +0 -0
  15. checkpoints/checkpoint-113/tokenizer_config.json +24 -0
  16. checkpoints/checkpoint-113/trainer_state.json +69 -0
  17. checkpoints/checkpoint-113/training_args.bin +3 -0
  18. checkpoints/checkpoint-226/model.safetensors +3 -0
  19. checkpoints/checkpoint-226/optimizer.pt +3 -0
  20. checkpoints/checkpoint-226/rng_state.pth +3 -0
  21. checkpoints/checkpoint-226/scheduler.pt +3 -0
  22. checkpoints/checkpoint-226/tokenizer.json +0 -0
  23. checkpoints/checkpoint-226/tokenizer_config.json +24 -0
  24. checkpoints/checkpoint-226/trainer_state.json +88 -0
  25. checkpoints/checkpoint-226/training_args.bin +3 -0
  26. checkpoints/checkpoint-339/model.safetensors +3 -0
  27. checkpoints/checkpoint-339/optimizer.pt +3 -0
  28. checkpoints/checkpoint-339/rng_state.pth +3 -0
  29. checkpoints/checkpoint-339/scheduler.pt +3 -0
  30. checkpoints/checkpoint-339/tokenizer.json +0 -0
  31. checkpoints/checkpoint-339/tokenizer_config.json +24 -0
  32. checkpoints/checkpoint-339/trainer_state.json +107 -0
  33. checkpoints/checkpoint-339/training_args.bin +3 -0
checkpoints/best_model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eab6b1e767a657af10be03aa9d120ec24513923b6db5344c978d5ed3e17bb164
3
+ size 90868240
checkpoints/best_model/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a105dc72136b80e271a5df6e94fbf47df50e727c1e2df31a89da53c2327a73f9
3
+ size 180615546
checkpoints/best_model/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d6995d36977a4d264aeee7abe1b8bf51f157c7c36958f49ab489019248b2531
3
+ size 14244
checkpoints/best_model/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d730b125295be3ba09f04773541436827552f0ed4b9a7d802caf45eb9b029cf
3
+ size 1064
checkpoints/best_model/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/best_model/tokenizer_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": true,
6
+ "is_local": false,
7
+ "local_files_only": false,
8
+ "mask_token": "[MASK]",
9
+ "max_length": 128,
10
+ "model_max_length": 512,
11
+ "never_split": null,
12
+ "pad_to_multiple_of": null,
13
+ "pad_token": "[PAD]",
14
+ "pad_token_type_id": 0,
15
+ "padding_side": "right",
16
+ "sep_token": "[SEP]",
17
+ "stride": 0,
18
+ "strip_accents": null,
19
+ "tokenize_chinese_chars": true,
20
+ "tokenizer_class": "BertTokenizer",
21
+ "truncation_side": "right",
22
+ "truncation_strategy": "longest_first",
23
+ "unk_token": "[UNK]"
24
+ }
checkpoints/best_model/trainer_state.json ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 330,
3
+ "best_metric": 1.0,
4
+ "best_model_checkpoint": "D:\\ScamDetectProj\\DetectionMain\\checkpoints\\checkpoint-330",
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 330,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.00909090909090909,
14
+ "grad_norm": 0.9112464785575867,
15
+ "learning_rate": 0.0,
16
+ "loss": 0.693359375,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 1.0,
21
+ "grad_norm": 0.12762108445167542,
22
+ "learning_rate": 2e-05,
23
+ "loss": 0.3843042566141951,
24
+ "step": 110
25
+ },
26
+ {
27
+ "epoch": 1.0,
28
+ "eval_accuracy": 0.995444,
29
+ "eval_f1": 0.995434,
30
+ "eval_loss": 0.012996933422982693,
31
+ "eval_precision": 0.995434,
32
+ "eval_recall": 0.995434,
33
+ "eval_runtime": 52.7986,
34
+ "eval_samples_per_second": 8.315,
35
+ "eval_steps_per_second": 0.265,
36
+ "step": 110
37
+ },
38
+ {
39
+ "epoch": 2.0,
40
+ "grad_norm": 0.11700598150491714,
41
+ "learning_rate": 1.7780020181634713e-05,
42
+ "loss": 0.016534104130484843,
43
+ "step": 220
44
+ },
45
+ {
46
+ "epoch": 2.0,
47
+ "eval_accuracy": 0.995444,
48
+ "eval_f1": 0.995413,
49
+ "eval_loss": 0.01899389922618866,
50
+ "eval_precision": 1.0,
51
+ "eval_recall": 0.990868,
52
+ "eval_runtime": 52.097,
53
+ "eval_samples_per_second": 8.427,
54
+ "eval_steps_per_second": 0.269,
55
+ "step": 220
56
+ },
57
+ {
58
+ "epoch": 3.0,
59
+ "grad_norm": 0.05778728425502777,
60
+ "learning_rate": 1.5560040363269425e-05,
61
+ "loss": 0.005238141796805642,
62
+ "step": 330
63
+ },
64
+ {
65
+ "epoch": 3.0,
66
+ "eval_accuracy": 1.0,
67
+ "eval_f1": 1.0,
68
+ "eval_loss": 0.0006195309688337147,
69
+ "eval_precision": 1.0,
70
+ "eval_recall": 1.0,
71
+ "eval_runtime": 54.7945,
72
+ "eval_samples_per_second": 8.012,
73
+ "eval_steps_per_second": 0.256,
74
+ "step": 330
75
+ }
76
+ ],
77
+ "logging_steps": 500,
78
+ "max_steps": 1100,
79
+ "num_input_tokens_seen": 0,
80
+ "num_train_epochs": 10,
81
+ "save_steps": 500,
82
+ "stateful_callbacks": {
83
+ "EarlyStoppingCallback": {
84
+ "args": {
85
+ "early_stopping_patience": 3,
86
+ "early_stopping_threshold": 0.001
87
+ },
88
+ "attributes": {
89
+ "early_stopping_patience_counter": 0
90
+ }
91
+ },
92
+ "TrainerControl": {
93
+ "args": {
94
+ "should_epoch_stop": false,
95
+ "should_evaluate": false,
96
+ "should_log": false,
97
+ "should_save": true,
98
+ "should_training_stop": false
99
+ },
100
+ "attributes": {}
101
+ }
102
+ },
103
+ "total_flos": 0.0,
104
+ "train_batch_size": 16,
105
+ "trial_name": null,
106
+ "trial_params": null
107
+ }
checkpoints/best_model/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3651f4bf0b82207e4e8abc076a222688334d0ae2bb1378384a54f8d6a6b27b93
3
+ size 4792
checkpoints/best_model/training_config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "PROJECT_ROOT": "D:\\ScamDetectProj\\DetectionMain",
3
+ "TEMP_DIR": "D:\\Temp\\scam_detection",
4
+ "TRANSCRIPT_DIR": "D:\\ScamDetectProj\\DetectionMain\\Transcript",
5
+ "LEGITIMATE_DIR": "D:\\ScamDetectProj\\DetectionMain\\Transcript\\legitimate",
6
+ "SCAM_DIR": "D:\\ScamDetectProj\\DetectionMain\\Transcript\\scam",
7
+ "CHECKPOINT_DIR": "D:\\ScamDetectProj\\DetectionMain\\checkpoints",
8
+ "BEST_MODEL_DIR": "D:\\ScamDetectProj\\DetectionMain\\checkpoints\\best_model",
9
+ "OUTPUTS_DIR": "D:\\ScamDetectProj\\DetectionMain\\outputs",
10
+ "TRAIN_CSV": "D:\\ScamDetectProj\\DetectionMain\\train.csv",
11
+ "VAL_CSV": "D:\\ScamDetectProj\\DetectionMain\\val.csv",
12
+ "TEST_CSV": "D:\\ScamDetectProj\\DetectionMain\\test.csv",
13
+ "TRAIN_SPLIT": 0.8,
14
+ "VAL_SPLIT": 0.1,
15
+ "TEST_SPLIT": 0.1,
16
+ "RANDOM_SEED": 42,
17
+ "MODEL_NAME": "sentence-transformers/all-MiniLM-L6-v2",
18
+ "EMBEDDING_DIM": 384,
19
+ "NUM_LABELS": 2,
20
+ "DROPOUT_RATE": 0.2,
21
+ "MAX_LENGTH": 256,
22
+ "LABEL_MAP": {
23
+ "legitimate": 0,
24
+ "scam": 1
25
+ },
26
+ "ID2LABEL": {
27
+ "0": "LEGITIMATE",
28
+ "1": "SCAM"
29
+ },
30
+ "LEARNING_RATE": 2e-05,
31
+ "WEIGHT_DECAY": 0.01,
32
+ "WARMUP_RATIO": 0.1,
33
+ "NUM_EPOCHS": 10,
34
+ "BATCH_SIZE": 16,
35
+ "GRADIENT_ACCUMULATION_STEPS": 1,
36
+ "MAX_GRAD_NORM": 1.0,
37
+ "EARLY_STOPPING_PATIENCE": 3,
38
+ "EARLY_STOPPING_METRIC": "f1",
39
+ "USE_MIXED_PRECISION": true,
40
+ "ONNX_PATH": "D:\\ScamDetectProj\\DetectionMain\\outputs\\scam_detector.onnx",
41
+ "TORCHSCRIPT_PATH": "D:\\ScamDetectProj\\DetectionMain\\outputs\\scam_detector.pt",
42
+ "HF_API_KEY": "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",
43
+ "max_length": 512
44
+ }
checkpoints/checkpoint-113/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f5a874e604975ab5de3fd42e14cb42d4f2da6a606931b0728c6c490c376742f
3
+ size 90868240
checkpoints/checkpoint-113/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bd680e08ddf38d1fc8936b99413a8589e27f34f144aa08eb79a4ddc4efe78ac
3
+ size 180615546
checkpoints/checkpoint-113/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6205695d30395aae4a5b7aa561457d8ceaab07e8110d161c2b8b68f4493e5ab2
3
+ size 14244
checkpoints/checkpoint-113/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d520a4a3f67fa2db0aae3e86831c61fad772ed2f7fffa2e53b70ea6fb81a3ff1
3
+ size 1064
checkpoints/checkpoint-113/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/checkpoint-113/tokenizer_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": true,
6
+ "is_local": false,
7
+ "local_files_only": false,
8
+ "mask_token": "[MASK]",
9
+ "max_length": 128,
10
+ "model_max_length": 512,
11
+ "never_split": null,
12
+ "pad_to_multiple_of": null,
13
+ "pad_token": "[PAD]",
14
+ "pad_token_type_id": 0,
15
+ "padding_side": "right",
16
+ "sep_token": "[SEP]",
17
+ "stride": 0,
18
+ "strip_accents": null,
19
+ "tokenize_chinese_chars": true,
20
+ "tokenizer_class": "BertTokenizer",
21
+ "truncation_side": "right",
22
+ "truncation_strategy": "longest_first",
23
+ "unk_token": "[UNK]"
24
+ }
checkpoints/checkpoint-113/trainer_state.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 113,
3
+ "best_metric": 0.975281,
4
+ "best_model_checkpoint": "D:\\ScamDetectProj\\DetectionMain\\checkpoints\\checkpoint-113",
5
+ "epoch": 1.0,
6
+ "eval_steps": 500,
7
+ "global_step": 113,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.008849557522123894,
14
+ "grad_norm": 0.731779158115387,
15
+ "learning_rate": 0.0,
16
+ "loss": 0.6741943359375,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 1.0,
21
+ "grad_norm": 8.90731430053711,
22
+ "learning_rate": 2e-05,
23
+ "loss": 0.4483108179909842,
24
+ "step": 113
25
+ },
26
+ {
27
+ "epoch": 1.0,
28
+ "eval_accuracy": 0.97561,
29
+ "eval_f1": 0.975281,
30
+ "eval_loss": 0.061309635639190674,
31
+ "eval_precision": 0.986364,
32
+ "eval_recall": 0.964444,
33
+ "eval_runtime": 149.177,
34
+ "eval_samples_per_second": 3.023,
35
+ "eval_steps_per_second": 0.101,
36
+ "step": 113
37
+ }
38
+ ],
39
+ "logging_steps": 500,
40
+ "max_steps": 1130,
41
+ "num_input_tokens_seen": 0,
42
+ "num_train_epochs": 10,
43
+ "save_steps": 500,
44
+ "stateful_callbacks": {
45
+ "EarlyStoppingCallback": {
46
+ "args": {
47
+ "early_stopping_patience": 3,
48
+ "early_stopping_threshold": 0.0
49
+ },
50
+ "attributes": {
51
+ "early_stopping_patience_counter": 0
52
+ }
53
+ },
54
+ "TrainerControl": {
55
+ "args": {
56
+ "should_epoch_stop": false,
57
+ "should_evaluate": false,
58
+ "should_log": false,
59
+ "should_save": true,
60
+ "should_training_stop": false
61
+ },
62
+ "attributes": {}
63
+ }
64
+ },
65
+ "total_flos": 0.0,
66
+ "train_batch_size": 16,
67
+ "trial_name": null,
68
+ "trial_params": null
69
+ }
checkpoints/checkpoint-113/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:414e9587835d93510efd94098e1539f6eec7332fe08702764d45e17fe065b18f
3
+ size 4792
checkpoints/checkpoint-226/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26c6c4a55064614b7a20523165f18cf3d540eeebf8060334520ac3e9c9f46bb5
3
+ size 90868240
checkpoints/checkpoint-226/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0aac2970165630973165345e8565b4c643c2eed409a172236abb8d5de8d6474e
3
+ size 180615546
checkpoints/checkpoint-226/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6186aec27672b4a0eeaae78a7f8401dc9fa34d96a28a17aab7b8e11f0822a1af
3
+ size 14244
checkpoints/checkpoint-226/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01b2d214c8bf6c28c32a03de6706121cd982c31bbe362b3ba44663eb1be8c5f1
3
+ size 1064
checkpoints/checkpoint-226/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/checkpoint-226/tokenizer_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": true,
6
+ "is_local": false,
7
+ "local_files_only": false,
8
+ "mask_token": "[MASK]",
9
+ "max_length": 128,
10
+ "model_max_length": 512,
11
+ "never_split": null,
12
+ "pad_to_multiple_of": null,
13
+ "pad_token": "[PAD]",
14
+ "pad_token_type_id": 0,
15
+ "padding_side": "right",
16
+ "sep_token": "[SEP]",
17
+ "stride": 0,
18
+ "strip_accents": null,
19
+ "tokenize_chinese_chars": true,
20
+ "tokenizer_class": "BertTokenizer",
21
+ "truncation_side": "right",
22
+ "truncation_strategy": "longest_first",
23
+ "unk_token": "[UNK]"
24
+ }
checkpoints/checkpoint-226/trainer_state.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 226,
3
+ "best_metric": 0.997773,
4
+ "best_model_checkpoint": "D:\\ScamDetectProj\\DetectionMain\\checkpoints\\checkpoint-226",
5
+ "epoch": 2.0,
6
+ "eval_steps": 500,
7
+ "global_step": 226,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.008849557522123894,
14
+ "grad_norm": 0.731779158115387,
15
+ "learning_rate": 0.0,
16
+ "loss": 0.6741943359375,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 1.0,
21
+ "grad_norm": 8.90731430053711,
22
+ "learning_rate": 2e-05,
23
+ "loss": 0.4483108179909842,
24
+ "step": 113
25
+ },
26
+ {
27
+ "epoch": 1.0,
28
+ "eval_accuracy": 0.97561,
29
+ "eval_f1": 0.975281,
30
+ "eval_loss": 0.061309635639190674,
31
+ "eval_precision": 0.986364,
32
+ "eval_recall": 0.964444,
33
+ "eval_runtime": 149.177,
34
+ "eval_samples_per_second": 3.023,
35
+ "eval_steps_per_second": 0.101,
36
+ "step": 113
37
+ },
38
+ {
39
+ "epoch": 2.0,
40
+ "grad_norm": 0.09732598066329956,
41
+ "learning_rate": 1.7779960707269156e-05,
42
+ "loss": 0.03951404368982906,
43
+ "step": 226
44
+ },
45
+ {
46
+ "epoch": 2.0,
47
+ "eval_accuracy": 0.997783,
48
+ "eval_f1": 0.997773,
49
+ "eval_loss": 0.005174789112061262,
50
+ "eval_precision": 1.0,
51
+ "eval_recall": 0.995556,
52
+ "eval_runtime": 117.348,
53
+ "eval_samples_per_second": 3.843,
54
+ "eval_steps_per_second": 0.128,
55
+ "step": 226
56
+ }
57
+ ],
58
+ "logging_steps": 500,
59
+ "max_steps": 1130,
60
+ "num_input_tokens_seen": 0,
61
+ "num_train_epochs": 10,
62
+ "save_steps": 500,
63
+ "stateful_callbacks": {
64
+ "EarlyStoppingCallback": {
65
+ "args": {
66
+ "early_stopping_patience": 3,
67
+ "early_stopping_threshold": 0.0
68
+ },
69
+ "attributes": {
70
+ "early_stopping_patience_counter": 0
71
+ }
72
+ },
73
+ "TrainerControl": {
74
+ "args": {
75
+ "should_epoch_stop": false,
76
+ "should_evaluate": false,
77
+ "should_log": false,
78
+ "should_save": true,
79
+ "should_training_stop": false
80
+ },
81
+ "attributes": {}
82
+ }
83
+ },
84
+ "total_flos": 0.0,
85
+ "train_batch_size": 16,
86
+ "trial_name": null,
87
+ "trial_params": null
88
+ }
checkpoints/checkpoint-226/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:414e9587835d93510efd94098e1539f6eec7332fe08702764d45e17fe065b18f
3
+ size 4792
checkpoints/checkpoint-339/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35a0f9f7f29d8e827b2030a9415a435801ae977cdb84dd93b0421653df25484f
3
+ size 90868240
checkpoints/checkpoint-339/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e7af6e274a31ff4040282ea48a8c2aaa7c0cce0224558950196f506c7b40a7d
3
+ size 180615546
checkpoints/checkpoint-339/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e42ff2e0d5a5f2cd6fd813defab97c3625457527e2a6a7f20b73989d7f144f2
3
+ size 14244
checkpoints/checkpoint-339/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0704fff9343faf544fb5ff651cc21a4d6658e6926af54f114844b926d2587fc2
3
+ size 1064
checkpoints/checkpoint-339/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/checkpoint-339/tokenizer_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": true,
6
+ "is_local": false,
7
+ "local_files_only": false,
8
+ "mask_token": "[MASK]",
9
+ "max_length": 128,
10
+ "model_max_length": 512,
11
+ "never_split": null,
12
+ "pad_to_multiple_of": null,
13
+ "pad_token": "[PAD]",
14
+ "pad_token_type_id": 0,
15
+ "padding_side": "right",
16
+ "sep_token": "[SEP]",
17
+ "stride": 0,
18
+ "strip_accents": null,
19
+ "tokenize_chinese_chars": true,
20
+ "tokenizer_class": "BertTokenizer",
21
+ "truncation_side": "right",
22
+ "truncation_strategy": "longest_first",
23
+ "unk_token": "[UNK]"
24
+ }
checkpoints/checkpoint-339/trainer_state.json ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 339,
3
+ "best_metric": 1.0,
4
+ "best_model_checkpoint": "D:\\ScamDetectProj\\DetectionMain\\checkpoints\\checkpoint-339",
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 339,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.008849557522123894,
14
+ "grad_norm": 0.731779158115387,
15
+ "learning_rate": 0.0,
16
+ "loss": 0.6741943359375,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 1.0,
21
+ "grad_norm": 8.90731430053711,
22
+ "learning_rate": 2e-05,
23
+ "loss": 0.4483108179909842,
24
+ "step": 113
25
+ },
26
+ {
27
+ "epoch": 1.0,
28
+ "eval_accuracy": 0.97561,
29
+ "eval_f1": 0.975281,
30
+ "eval_loss": 0.061309635639190674,
31
+ "eval_precision": 0.986364,
32
+ "eval_recall": 0.964444,
33
+ "eval_runtime": 149.177,
34
+ "eval_samples_per_second": 3.023,
35
+ "eval_steps_per_second": 0.101,
36
+ "step": 113
37
+ },
38
+ {
39
+ "epoch": 2.0,
40
+ "grad_norm": 0.09732598066329956,
41
+ "learning_rate": 1.7779960707269156e-05,
42
+ "loss": 0.03951404368982906,
43
+ "step": 226
44
+ },
45
+ {
46
+ "epoch": 2.0,
47
+ "eval_accuracy": 0.997783,
48
+ "eval_f1": 0.997773,
49
+ "eval_loss": 0.005174789112061262,
50
+ "eval_precision": 1.0,
51
+ "eval_recall": 0.995556,
52
+ "eval_runtime": 117.348,
53
+ "eval_samples_per_second": 3.843,
54
+ "eval_steps_per_second": 0.128,
55
+ "step": 226
56
+ },
57
+ {
58
+ "epoch": 3.0,
59
+ "grad_norm": 0.07887029647827148,
60
+ "learning_rate": 1.555992141453831e-05,
61
+ "loss": 0.00823842424207029,
62
+ "step": 339
63
+ },
64
+ {
65
+ "epoch": 3.0,
66
+ "eval_accuracy": 1.0,
67
+ "eval_f1": 1.0,
68
+ "eval_loss": 0.00027296337066218257,
69
+ "eval_precision": 1.0,
70
+ "eval_recall": 1.0,
71
+ "eval_runtime": 121.5059,
72
+ "eval_samples_per_second": 3.712,
73
+ "eval_steps_per_second": 0.123,
74
+ "step": 339
75
+ }
76
+ ],
77
+ "logging_steps": 500,
78
+ "max_steps": 1130,
79
+ "num_input_tokens_seen": 0,
80
+ "num_train_epochs": 10,
81
+ "save_steps": 500,
82
+ "stateful_callbacks": {
83
+ "EarlyStoppingCallback": {
84
+ "args": {
85
+ "early_stopping_patience": 3,
86
+ "early_stopping_threshold": 0.0
87
+ },
88
+ "attributes": {
89
+ "early_stopping_patience_counter": 0
90
+ }
91
+ },
92
+ "TrainerControl": {
93
+ "args": {
94
+ "should_epoch_stop": false,
95
+ "should_evaluate": false,
96
+ "should_log": false,
97
+ "should_save": true,
98
+ "should_training_stop": false
99
+ },
100
+ "attributes": {}
101
+ }
102
+ },
103
+ "total_flos": 0.0,
104
+ "train_batch_size": 16,
105
+ "trial_name": null,
106
+ "trial_params": null
107
+ }
checkpoints/checkpoint-339/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:414e9587835d93510efd94098e1539f6eec7332fe08702764d45e17fe065b18f
3
+ size 4792