abarbosa commited on
Commit
2c114d0
·
verified ·
1 Parent(s): a045ca1

Pushing fine-tuned model to Hugging Face Hub

Browse files
README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ language:
4
+ - pt
5
+ - en
6
+ tags:
7
+ - aes
8
+ datasets:
9
+ - kamel-usp/aes_enem_dataset
10
+ base_model: microsoft/Phi-3.5-mini-instruct
11
+ metrics:
12
+ - accuracy
13
+ - qwk
14
+ library_name: peft
15
+ model-index:
16
+ - name: Phi-3.5-mini-instruct-phi35_classification_lora-C4-full_context-r16
17
+ results:
18
+ - task:
19
+ type: text-classification
20
+ name: Automated Essay Score
21
+ dataset:
22
+ name: Automated Essay Score ENEM Dataset
23
+ type: kamel-usp/aes_enem_dataset
24
+ config: JBCS2025
25
+ split: test
26
+ metrics:
27
+ - name: Macro F1
28
+ type: f1
29
+ value: 0.0923997442221613
30
+ - name: QWK
31
+ type: qwk
32
+ value: 0.083437110834371
33
+ - name: Weighted Macro F1
34
+ type: f1
35
+ value: 0.1954039423149483
36
+ ---
37
+ # Model ID: Phi-3.5-mini-instruct-phi35_classification_lora-C4-full_context-r16
38
+ ## Results
39
+ | | test_data |
40
+ |:-----------------|------------:|
41
+ | eval_accuracy | 0.34058 |
42
+ | eval_RMSE | 38.5235 |
43
+ | eval_QWK | 0.0834371 |
44
+ | eval_Macro_F1 | 0.0923997 |
45
+ | eval_Weighted_F1 | 0.195404 |
46
+ | eval_Micro_F1 | 0.34058 |
47
+ | eval_HDIV | 0.0144928 |
48
+
adapter_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "microsoft/Phi-3.5-mini-instruct",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 32,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": [
22
+ "classifier",
23
+ "score"
24
+ ],
25
+ "peft_type": "LORA",
26
+ "qalora_group_size": 16,
27
+ "r": 16,
28
+ "rank_pattern": {},
29
+ "revision": null,
30
+ "target_modules": [
31
+ "qkv_proj",
32
+ "o_proj",
33
+ "gate_up_proj",
34
+ "down_proj"
35
+ ],
36
+ "task_type": "SEQ_CLS",
37
+ "trainable_token_indices": null,
38
+ "use_dora": false,
39
+ "use_qalora": false,
40
+ "use_rslora": false
41
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c56fd83afc83959c08567c143c3c684deeed6ded6e7a570c28489511ebffe8e
3
+ size 100734696
chat_template.jinja ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {% for message in messages %}{% if message['role'] == 'system' and message['content'] %}{{'<|system|>
2
+ ' + message['content'] + '<|end|>
3
+ '}}{% elif message['role'] == 'user' %}{{'<|user|>
4
+ ' + message['content'] + '<|end|>
5
+ '}}{% elif message['role'] == 'assistant' %}{{'<|assistant|>
6
+ ' + message['content'] + '<|end|>
7
+ '}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>
8
+ ' }}{% else %}{{ eos_token }}{% endif %}
emissions.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ timestamp,project_name,run_id,experiment_id,duration,emissions,emissions_rate,cpu_power,gpu_power,ram_power,cpu_energy,gpu_energy,ram_energy,energy_consumed,country_name,country_iso_code,region,cloud_provider,cloud_region,os,python_version,codecarbon_version,cpu_count,cpu_model,gpu_count,gpu_model,longitude,latitude,ram_total_size,tracking_mode,on_cloud,pue
2
+ 2025-07-05T10:02:01,jbcs2025,405e9b8b-95b8-41bb-a3df-e105503acb83,Phi-3.5-mini-instruct-phi35_classification_lora-C4-full_context,603.0006932180258,0.007437431404373592,1.2334034584077094e-05,70.0,418.3397736991604,70.0,0.011648846233838892,0.10955205014157343,0.01151794950644835,0.1327188458818607,France,FRA,île-de-france,,,Linux-5.15.0-136-generic-x86_64-with-glibc2.35,3.12.11,3.0.2,192,INTEL(R) XEON(R) PLATINUM 8568Y+,1,1 x NVIDIA H200,2.3494,48.8558,2015.363483428955,machine,N,1.0
evaluation_results.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ eval_loss,eval_model_preparation_time,eval_accuracy,eval_RMSE,eval_QWK,eval_HDIV,eval_Macro_F1,eval_Micro_F1,eval_Weighted_F1,eval_TP_0,eval_TN_0,eval_FP_0,eval_FN_0,eval_TP_1,eval_TN_1,eval_FP_1,eval_FN_1,eval_TP_2,eval_TN_2,eval_FP_2,eval_FN_2,eval_TP_3,eval_TN_3,eval_FP_3,eval_FN_3,eval_TP_4,eval_TN_4,eval_FP_4,eval_FN_4,eval_TP_5,eval_TN_5,eval_FP_5,eval_FN_5,eval_runtime,eval_samples_per_second,eval_steps_per_second,epoch,reference,timestamp,id
2
+ 2.56508731842041,0.0074,0.3787878787878788,36.34848169060327,0.02069153280696978,0.007575757575757569,0.12446524064171123,0.3787878787878788,0.23699562469615945,0,131,0,1,0,132,0,0,0,128,0,4,3,67,1,61,47,3,81,1,0,117,0,15,18.4013,7.173,1.793,-1,validation_before_training,2025-07-05 09:52:11,Phi-3.5-mini-instruct-phi35_classification_lora-C4-full_context
3
+ 2.325911045074463,0.0074,0.4090909090909091,35.67530340063379,0.06300703082747416,0.007575757575757569,0.15730614766759346,0.4090909090909091,0.31709120865747376,0,131,0,1,0,132,0,0,0,128,0,4,10,64,4,54,44,10,74,4,0,117,0,15,18.0239,7.324,1.831,6.0,validation_after_training,2025-07-05 09:52:11,Phi-3.5-mini-instruct-phi35_classification_lora-C4-full_context
4
+ 1.9528576135635376,0.0074,0.34057971014492755,38.52347298744614,0.083437110834371,0.01449275362318836,0.09239974422216134,0.34057971014492755,0.19540394231494831,0,137,0,1,0,137,0,1,0,129,0,9,2,58,4,74,45,5,87,1,0,133,0,5,19.0083,7.26,1.841,6.0,test_results,2025-07-05 09:52:11,Phi-3.5-mini-instruct-phi35_classification_lora-C4-full_context
run_experiment.log ADDED
@@ -0,0 +1,1289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [2025-07-05 09:51:54,796][__main__][INFO] - cache_dir: /tmp/
2
+ dataset:
3
+ name: kamel-usp/aes_enem_dataset
4
+ split: JBCS2025
5
+ training_params:
6
+ seed: 42
7
+ num_train_epochs: 20
8
+ logging_steps: 100
9
+ metric_for_best_model: QWK
10
+ bf16: true
11
+ bootstrap:
12
+ enabled: true
13
+ n_bootstrap: 10000
14
+ bootstrap_seed: 42
15
+ metrics:
16
+ - QWK
17
+ - Macro_F1
18
+ - Weighted_F1
19
+ post_training_results:
20
+ model_path: /workspace/jbcs2025/outputs/2025-03-24/20-42-59
21
+ experiments:
22
+ model:
23
+ name: microsoft/Phi-3.5-mini-instruct
24
+ type: phi35_classification_lora
25
+ num_labels: 6
26
+ output_dir: ./results/phi35-balanced/C4
27
+ logging_dir: ./logs/phi35-balanced/C4
28
+ best_model_dir: ./results/phi35-balanced/C4/best_model
29
+ lora_r: 16
30
+ lora_dropout: 0.1
31
+ lora_alpha: 32
32
+ lora_target_modules: all-linear
33
+ tokenizer:
34
+ name: microsoft/Phi-3.5-mini-instruct
35
+ dataset:
36
+ grade_index: 3
37
+ use_full_context: true
38
+ training_params:
39
+ weight_decay: 0.01
40
+ warmup_ratio: 0.1
41
+ learning_rate: 5.0e-05
42
+ train_batch_size: 8
43
+ eval_batch_size: 4
44
+ gradient_accumulation_steps: 2
45
+ gradient_checkpointing: true
46
+
47
+ [2025-07-05 09:51:58,697][__main__][INFO] - GPU 0: NVIDIA H200 | TDP ≈ 700 W
48
+ [2025-07-05 09:51:58,697][__main__][INFO] - Starting the Fine Tuning training process.
49
+ [2025-07-05 09:52:02,467][transformers.tokenization_utils_base][INFO] - loading file tokenizer.model from cache at /tmp/models--microsoft--Phi-3.5-mini-instruct/snapshots/3145e03a9fd4cdd7cd953c34d9bbf7ad606122ca/tokenizer.model
50
+ [2025-07-05 09:52:02,467][transformers.tokenization_utils_base][INFO] - loading file tokenizer.json from cache at /tmp/models--microsoft--Phi-3.5-mini-instruct/snapshots/3145e03a9fd4cdd7cd953c34d9bbf7ad606122ca/tokenizer.json
51
+ [2025-07-05 09:52:02,467][transformers.tokenization_utils_base][INFO] - loading file added_tokens.json from cache at /tmp/models--microsoft--Phi-3.5-mini-instruct/snapshots/3145e03a9fd4cdd7cd953c34d9bbf7ad606122ca/added_tokens.json
52
+ [2025-07-05 09:52:02,467][transformers.tokenization_utils_base][INFO] - loading file special_tokens_map.json from cache at /tmp/models--microsoft--Phi-3.5-mini-instruct/snapshots/3145e03a9fd4cdd7cd953c34d9bbf7ad606122ca/special_tokens_map.json
53
+ [2025-07-05 09:52:02,467][transformers.tokenization_utils_base][INFO] - loading file tokenizer_config.json from cache at /tmp/models--microsoft--Phi-3.5-mini-instruct/snapshots/3145e03a9fd4cdd7cd953c34d9bbf7ad606122ca/tokenizer_config.json
54
+ [2025-07-05 09:52:02,467][transformers.tokenization_utils_base][INFO] - loading file chat_template.jinja from cache at None
55
+ [2025-07-05 09:52:02,521][transformers.tokenization_utils_base][INFO] - Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
56
+ [2025-07-05 09:52:02,527][__main__][INFO] - Tokenizer function parameters- Padding:longest; Truncation: False; Use Full Context: True
57
+ [2025-07-05 09:52:03,092][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /tmp/models--microsoft--Phi-3.5-mini-instruct/snapshots/3145e03a9fd4cdd7cd953c34d9bbf7ad606122ca/config.json
58
+ [2025-07-05 09:52:03,092][transformers.configuration_utils][INFO] - Model config Phi3Config {
59
+ "architectures": [
60
+ "Phi3ForCausalLM"
61
+ ],
62
+ "attention_bias": false,
63
+ "attention_dropout": 0.0,
64
+ "auto_map": {
65
+ "AutoConfig": "configuration_phi3.Phi3Config",
66
+ "AutoModelForCausalLM": "modeling_phi3.Phi3ForCausalLM"
67
+ },
68
+ "bos_token_id": 1,
69
+ "embd_pdrop": 0.0,
70
+ "eos_token_id": 32000,
71
+ "hidden_act": "silu",
72
+ "hidden_size": 3072,
73
+ "id2label": {
74
+ "0": "LABEL_0",
75
+ "1": "LABEL_1",
76
+ "2": "LABEL_2",
77
+ "3": "LABEL_3",
78
+ "4": "LABEL_4",
79
+ "5": "LABEL_5"
80
+ },
81
+ "initializer_range": 0.02,
82
+ "intermediate_size": 8192,
83
+ "label2id": {
84
+ "LABEL_0": 0,
85
+ "LABEL_1": 1,
86
+ "LABEL_2": 2,
87
+ "LABEL_3": 3,
88
+ "LABEL_4": 4,
89
+ "LABEL_5": 5
90
+ },
91
+ "max_position_embeddings": 131072,
92
+ "model_type": "phi3",
93
+ "num_attention_heads": 32,
94
+ "num_hidden_layers": 32,
95
+ "num_key_value_heads": 32,
96
+ "original_max_position_embeddings": 4096,
97
+ "pad_token_id": 32000,
98
+ "partial_rotary_factor": 1.0,
99
+ "resid_pdrop": 0.0,
100
+ "rms_norm_eps": 1e-05,
101
+ "rope_scaling": {
102
+ "long_factor": [
103
+ 1.0800000429153442,
104
+ 1.1100000143051147,
105
+ 1.1399999856948853,
106
+ 1.340000033378601,
107
+ 1.5899999141693115,
108
+ 1.600000023841858,
109
+ 1.6200000047683716,
110
+ 2.620000123977661,
111
+ 3.2300000190734863,
112
+ 3.2300000190734863,
113
+ 4.789999961853027,
114
+ 7.400000095367432,
115
+ 7.700000286102295,
116
+ 9.09000015258789,
117
+ 12.199999809265137,
118
+ 17.670000076293945,
119
+ 24.46000099182129,
120
+ 28.57000160217285,
121
+ 30.420001983642578,
122
+ 30.840002059936523,
123
+ 32.590003967285156,
124
+ 32.93000411987305,
125
+ 42.320003509521484,
126
+ 44.96000289916992,
127
+ 50.340003967285156,
128
+ 50.45000457763672,
129
+ 57.55000305175781,
130
+ 57.93000411987305,
131
+ 58.21000289916992,
132
+ 60.1400032043457,
133
+ 62.61000442504883,
134
+ 62.62000274658203,
135
+ 62.71000289916992,
136
+ 63.1400032043457,
137
+ 63.1400032043457,
138
+ 63.77000427246094,
139
+ 63.93000411987305,
140
+ 63.96000289916992,
141
+ 63.970001220703125,
142
+ 64.02999877929688,
143
+ 64.06999969482422,
144
+ 64.08000183105469,
145
+ 64.12000274658203,
146
+ 64.41000366210938,
147
+ 64.4800033569336,
148
+ 64.51000213623047,
149
+ 64.52999877929688,
150
+ 64.83999633789062
151
+ ],
152
+ "short_factor": [
153
+ 1.0,
154
+ 1.0199999809265137,
155
+ 1.0299999713897705,
156
+ 1.0299999713897705,
157
+ 1.0499999523162842,
158
+ 1.0499999523162842,
159
+ 1.0499999523162842,
160
+ 1.0499999523162842,
161
+ 1.0499999523162842,
162
+ 1.0699999332427979,
163
+ 1.0999999046325684,
164
+ 1.1099998950958252,
165
+ 1.1599998474121094,
166
+ 1.1599998474121094,
167
+ 1.1699998378753662,
168
+ 1.2899998426437378,
169
+ 1.339999794960022,
170
+ 1.679999828338623,
171
+ 1.7899998426437378,
172
+ 1.8199998140335083,
173
+ 1.8499997854232788,
174
+ 1.8799997568130493,
175
+ 1.9099997282028198,
176
+ 1.9399996995925903,
177
+ 1.9899996519088745,
178
+ 2.0199997425079346,
179
+ 2.0199997425079346,
180
+ 2.0199997425079346,
181
+ 2.0199997425079346,
182
+ 2.0199997425079346,
183
+ 2.0199997425079346,
184
+ 2.0299997329711914,
185
+ 2.0299997329711914,
186
+ 2.0299997329711914,
187
+ 2.0299997329711914,
188
+ 2.0299997329711914,
189
+ 2.0299997329711914,
190
+ 2.0299997329711914,
191
+ 2.0299997329711914,
192
+ 2.0299997329711914,
193
+ 2.0799996852874756,
194
+ 2.0899996757507324,
195
+ 2.189999580383301,
196
+ 2.2199995517730713,
197
+ 2.5899994373321533,
198
+ 2.729999542236328,
199
+ 2.749999523162842,
200
+ 2.8399994373321533
201
+ ],
202
+ "type": "longrope"
203
+ },
204
+ "rope_theta": 10000.0,
205
+ "sliding_window": 262144,
206
+ "tie_word_embeddings": false,
207
+ "torch_dtype": "bfloat16",
208
+ "transformers_version": "4.53.0",
209
+ "use_cache": true,
210
+ "vocab_size": 32064
211
+ }
212
+
213
+ [2025-07-05 09:52:03,093][transformers.modeling_utils][INFO] - loading weights file model.safetensors from cache at /tmp/models--microsoft--Phi-3.5-mini-instruct/snapshots/3145e03a9fd4cdd7cd953c34d9bbf7ad606122ca/model.safetensors.index.json
214
+ [2025-07-05 09:52:03,093][transformers.modeling_utils][INFO] - Will use torch_dtype=torch.bfloat16 as defined in model's config object
215
+ [2025-07-05 09:52:03,093][transformers.modeling_utils][INFO] - Instantiating Phi3ForSequenceClassification model under default dtype torch.bfloat16.
216
+ [2025-07-05 09:52:10,643][transformers.modeling_utils][INFO] - Some weights of the model checkpoint at microsoft/Phi-3.5-mini-instruct were not used when initializing Phi3ForSequenceClassification: ['lm_head.weight']
217
+ - This IS expected if you are initializing Phi3ForSequenceClassification from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
218
+ - This IS NOT expected if you are initializing Phi3ForSequenceClassification from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
219
+ [2025-07-05 09:52:10,643][transformers.modeling_utils][WARNING] - Some weights of Phi3ForSequenceClassification were not initialized from the model checkpoint at microsoft/Phi-3.5-mini-instruct and are newly initialized: ['score.weight']
220
+ You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
221
+ [2025-07-05 09:52:11,667][__main__][INFO] - Initialized new PEFT model for ce loss
222
+ [2025-07-05 09:52:11,669][__main__][INFO] - None
223
+ [2025-07-05 09:52:11,670][transformers.training_args][INFO] - PyTorch: setting up devices
224
+ [2025-07-05 09:52:11,758][__main__][INFO] - Total steps: 620. Number of warmup steps: 62
225
+ [2025-07-05 09:52:11,764][transformers.trainer][INFO] - You have loaded a model on multiple GPUs. `is_model_parallel` attribute will be force-set to `True` to avoid any unexpected behavior such as device placement mismatching.
226
+ [2025-07-05 09:52:11,789][transformers.trainer][INFO] - Using auto half precision backend
227
+ [2025-07-05 09:52:11,790][transformers.trainer][WARNING] - No label_names provided for model class `PeftModelForSequenceClassification`. Since `PeftModel` hides base models input arguments, if label_names is not given, label_names can't be set automatically within `Trainer`. Note that empty label_names list will be used instead.
228
+ [2025-07-05 09:52:11,792][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt. If id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
229
+ [2025-07-05 09:52:11,802][transformers.trainer][INFO] -
230
+ ***** Running Evaluation *****
231
+ [2025-07-05 09:52:11,802][transformers.trainer][INFO] - Num examples = 132
232
+ [2025-07-05 09:52:11,802][transformers.trainer][INFO] - Batch size = 4
233
+ [2025-07-05 09:52:30,470][transformers.trainer][INFO] - The following columns in the Training set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt. If id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
234
+ [2025-07-05 09:52:30,502][transformers.trainer][INFO] - ***** Running training *****
235
+ [2025-07-05 09:52:30,503][transformers.trainer][INFO] - Num examples = 500
236
+ [2025-07-05 09:52:30,503][transformers.trainer][INFO] - Num Epochs = 20
237
+ [2025-07-05 09:52:30,503][transformers.trainer][INFO] - Instantaneous batch size per device = 8
238
+ [2025-07-05 09:52:30,503][transformers.trainer][INFO] - Total train batch size (w. parallel, distributed & accumulation) = 16
239
+ [2025-07-05 09:52:30,503][transformers.trainer][INFO] - Gradient Accumulation steps = 2
240
+ [2025-07-05 09:52:30,503][transformers.trainer][INFO] - Total optimization steps = 640
241
+ [2025-07-05 09:52:30,504][transformers.trainer][INFO] - Number of trainable parameters = 25,184,256
242
+ [2025-07-05 09:52:30,632][transformers.models.phi3.modeling_phi3][WARNING] - `use_cache=True` is incompatible with gradient checkpointing. Setting `use_cache=False`.
243
+ [2025-07-05 09:53:40,622][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt. If id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
244
+ [2025-07-05 09:53:40,626][transformers.trainer][INFO] -
245
+ ***** Running Evaluation *****
246
+ [2025-07-05 09:53:40,626][transformers.trainer][INFO] - Num examples = 132
247
+ [2025-07-05 09:53:40,626][transformers.trainer][INFO] - Batch size = 4
248
+ [2025-07-05 09:53:58,655][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/09-51-54/results/phi35-balanced/C4/checkpoint-32
249
+ [2025-07-05 09:53:58,953][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--microsoft--Phi-3.5-mini-instruct/snapshots/3145e03a9fd4cdd7cd953c34d9bbf7ad606122ca/config.json
250
+ [2025-07-05 09:53:58,954][transformers.configuration_utils][INFO] - Model config Phi3Config {
251
+ "architectures": [
252
+ "Phi3ForCausalLM"
253
+ ],
254
+ "attention_bias": false,
255
+ "attention_dropout": 0.0,
256
+ "auto_map": {
257
+ "AutoConfig": "configuration_phi3.Phi3Config",
258
+ "AutoModelForCausalLM": "modeling_phi3.Phi3ForCausalLM"
259
+ },
260
+ "bos_token_id": 1,
261
+ "embd_pdrop": 0.0,
262
+ "eos_token_id": 32000,
263
+ "hidden_act": "silu",
264
+ "hidden_size": 3072,
265
+ "initializer_range": 0.02,
266
+ "intermediate_size": 8192,
267
+ "max_position_embeddings": 131072,
268
+ "model_type": "phi3",
269
+ "num_attention_heads": 32,
270
+ "num_hidden_layers": 32,
271
+ "num_key_value_heads": 32,
272
+ "original_max_position_embeddings": 4096,
273
+ "pad_token_id": 32000,
274
+ "partial_rotary_factor": 1.0,
275
+ "resid_pdrop": 0.0,
276
+ "rms_norm_eps": 1e-05,
277
+ "rope_scaling": {
278
+ "long_factor": [
279
+ 1.0800000429153442,
280
+ 1.1100000143051147,
281
+ 1.1399999856948853,
282
+ 1.340000033378601,
283
+ 1.5899999141693115,
284
+ 1.600000023841858,
285
+ 1.6200000047683716,
286
+ 2.620000123977661,
287
+ 3.2300000190734863,
288
+ 3.2300000190734863,
289
+ 4.789999961853027,
290
+ 7.400000095367432,
291
+ 7.700000286102295,
292
+ 9.09000015258789,
293
+ 12.199999809265137,
294
+ 17.670000076293945,
295
+ 24.46000099182129,
296
+ 28.57000160217285,
297
+ 30.420001983642578,
298
+ 30.840002059936523,
299
+ 32.590003967285156,
300
+ 32.93000411987305,
301
+ 42.320003509521484,
302
+ 44.96000289916992,
303
+ 50.340003967285156,
304
+ 50.45000457763672,
305
+ 57.55000305175781,
306
+ 57.93000411987305,
307
+ 58.21000289916992,
308
+ 60.1400032043457,
309
+ 62.61000442504883,
310
+ 62.62000274658203,
311
+ 62.71000289916992,
312
+ 63.1400032043457,
313
+ 63.1400032043457,
314
+ 63.77000427246094,
315
+ 63.93000411987305,
316
+ 63.96000289916992,
317
+ 63.970001220703125,
318
+ 64.02999877929688,
319
+ 64.06999969482422,
320
+ 64.08000183105469,
321
+ 64.12000274658203,
322
+ 64.41000366210938,
323
+ 64.4800033569336,
324
+ 64.51000213623047,
325
+ 64.52999877929688,
326
+ 64.83999633789062
327
+ ],
328
+ "short_factor": [
329
+ 1.0,
330
+ 1.0199999809265137,
331
+ 1.0299999713897705,
332
+ 1.0299999713897705,
333
+ 1.0499999523162842,
334
+ 1.0499999523162842,
335
+ 1.0499999523162842,
336
+ 1.0499999523162842,
337
+ 1.0499999523162842,
338
+ 1.0699999332427979,
339
+ 1.0999999046325684,
340
+ 1.1099998950958252,
341
+ 1.1599998474121094,
342
+ 1.1599998474121094,
343
+ 1.1699998378753662,
344
+ 1.2899998426437378,
345
+ 1.339999794960022,
346
+ 1.679999828338623,
347
+ 1.7899998426437378,
348
+ 1.8199998140335083,
349
+ 1.8499997854232788,
350
+ 1.8799997568130493,
351
+ 1.9099997282028198,
352
+ 1.9399996995925903,
353
+ 1.9899996519088745,
354
+ 2.0199997425079346,
355
+ 2.0199997425079346,
356
+ 2.0199997425079346,
357
+ 2.0199997425079346,
358
+ 2.0199997425079346,
359
+ 2.0199997425079346,
360
+ 2.0299997329711914,
361
+ 2.0299997329711914,
362
+ 2.0299997329711914,
363
+ 2.0299997329711914,
364
+ 2.0299997329711914,
365
+ 2.0299997329711914,
366
+ 2.0299997329711914,
367
+ 2.0299997329711914,
368
+ 2.0299997329711914,
369
+ 2.0799996852874756,
370
+ 2.0899996757507324,
371
+ 2.189999580383301,
372
+ 2.2199995517730713,
373
+ 2.5899994373321533,
374
+ 2.729999542236328,
375
+ 2.749999523162842,
376
+ 2.8399994373321533
377
+ ],
378
+ "type": "longrope"
379
+ },
380
+ "rope_theta": 10000.0,
381
+ "sliding_window": 262144,
382
+ "tie_word_embeddings": false,
383
+ "torch_dtype": "bfloat16",
384
+ "transformers_version": "4.53.0",
385
+ "use_cache": true,
386
+ "vocab_size": 32064
387
+ }
388
+
389
+ [2025-07-05 09:55:09,379][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt. If id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
390
+ [2025-07-05 09:55:09,382][transformers.trainer][INFO] -
391
+ ***** Running Evaluation *****
392
+ [2025-07-05 09:55:09,382][transformers.trainer][INFO] - Num examples = 132
393
+ [2025-07-05 09:55:09,382][transformers.trainer][INFO] - Batch size = 4
394
+ [2025-07-05 09:55:27,420][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/09-51-54/results/phi35-balanced/C4/checkpoint-64
395
+ [2025-07-05 09:55:27,715][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--microsoft--Phi-3.5-mini-instruct/snapshots/3145e03a9fd4cdd7cd953c34d9bbf7ad606122ca/config.json
396
+ [2025-07-05 09:55:27,715][transformers.configuration_utils][INFO] - Model config Phi3Config {
397
+ "architectures": [
398
+ "Phi3ForCausalLM"
399
+ ],
400
+ "attention_bias": false,
401
+ "attention_dropout": 0.0,
402
+ "auto_map": {
403
+ "AutoConfig": "configuration_phi3.Phi3Config",
404
+ "AutoModelForCausalLM": "modeling_phi3.Phi3ForCausalLM"
405
+ },
406
+ "bos_token_id": 1,
407
+ "embd_pdrop": 0.0,
408
+ "eos_token_id": 32000,
409
+ "hidden_act": "silu",
410
+ "hidden_size": 3072,
411
+ "initializer_range": 0.02,
412
+ "intermediate_size": 8192,
413
+ "max_position_embeddings": 131072,
414
+ "model_type": "phi3",
415
+ "num_attention_heads": 32,
416
+ "num_hidden_layers": 32,
417
+ "num_key_value_heads": 32,
418
+ "original_max_position_embeddings": 4096,
419
+ "pad_token_id": 32000,
420
+ "partial_rotary_factor": 1.0,
421
+ "resid_pdrop": 0.0,
422
+ "rms_norm_eps": 1e-05,
423
+ "rope_scaling": {
424
+ "long_factor": [
425
+ 1.0800000429153442,
426
+ 1.1100000143051147,
427
+ 1.1399999856948853,
428
+ 1.340000033378601,
429
+ 1.5899999141693115,
430
+ 1.600000023841858,
431
+ 1.6200000047683716,
432
+ 2.620000123977661,
433
+ 3.2300000190734863,
434
+ 3.2300000190734863,
435
+ 4.789999961853027,
436
+ 7.400000095367432,
437
+ 7.700000286102295,
438
+ 9.09000015258789,
439
+ 12.199999809265137,
440
+ 17.670000076293945,
441
+ 24.46000099182129,
442
+ 28.57000160217285,
443
+ 30.420001983642578,
444
+ 30.840002059936523,
445
+ 32.590003967285156,
446
+ 32.93000411987305,
447
+ 42.320003509521484,
448
+ 44.96000289916992,
449
+ 50.340003967285156,
450
+ 50.45000457763672,
451
+ 57.55000305175781,
452
+ 57.93000411987305,
453
+ 58.21000289916992,
454
+ 60.1400032043457,
455
+ 62.61000442504883,
456
+ 62.62000274658203,
457
+ 62.71000289916992,
458
+ 63.1400032043457,
459
+ 63.1400032043457,
460
+ 63.77000427246094,
461
+ 63.93000411987305,
462
+ 63.96000289916992,
463
+ 63.970001220703125,
464
+ 64.02999877929688,
465
+ 64.06999969482422,
466
+ 64.08000183105469,
467
+ 64.12000274658203,
468
+ 64.41000366210938,
469
+ 64.4800033569336,
470
+ 64.51000213623047,
471
+ 64.52999877929688,
472
+ 64.83999633789062
473
+ ],
474
+ "short_factor": [
475
+ 1.0,
476
+ 1.0199999809265137,
477
+ 1.0299999713897705,
478
+ 1.0299999713897705,
479
+ 1.0499999523162842,
480
+ 1.0499999523162842,
481
+ 1.0499999523162842,
482
+ 1.0499999523162842,
483
+ 1.0499999523162842,
484
+ 1.0699999332427979,
485
+ 1.0999999046325684,
486
+ 1.1099998950958252,
487
+ 1.1599998474121094,
488
+ 1.1599998474121094,
489
+ 1.1699998378753662,
490
+ 1.2899998426437378,
491
+ 1.339999794960022,
492
+ 1.679999828338623,
493
+ 1.7899998426437378,
494
+ 1.8199998140335083,
495
+ 1.8499997854232788,
496
+ 1.8799997568130493,
497
+ 1.9099997282028198,
498
+ 1.9399996995925903,
499
+ 1.9899996519088745,
500
+ 2.0199997425079346,
501
+ 2.0199997425079346,
502
+ 2.0199997425079346,
503
+ 2.0199997425079346,
504
+ 2.0199997425079346,
505
+ 2.0199997425079346,
506
+ 2.0299997329711914,
507
+ 2.0299997329711914,
508
+ 2.0299997329711914,
509
+ 2.0299997329711914,
510
+ 2.0299997329711914,
511
+ 2.0299997329711914,
512
+ 2.0299997329711914,
513
+ 2.0299997329711914,
514
+ 2.0299997329711914,
515
+ 2.0799996852874756,
516
+ 2.0899996757507324,
517
+ 2.189999580383301,
518
+ 2.2199995517730713,
519
+ 2.5899994373321533,
520
+ 2.729999542236328,
521
+ 2.749999523162842,
522
+ 2.8399994373321533
523
+ ],
524
+ "type": "longrope"
525
+ },
526
+ "rope_theta": 10000.0,
527
+ "sliding_window": 262144,
528
+ "tie_word_embeddings": false,
529
+ "torch_dtype": "bfloat16",
530
+ "transformers_version": "4.53.0",
531
+ "use_cache": true,
532
+ "vocab_size": 32064
533
+ }
534
+
535
+ [2025-07-05 09:56:38,026][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt. If id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
536
+ [2025-07-05 09:56:38,029][transformers.trainer][INFO] -
537
+ ***** Running Evaluation *****
538
+ [2025-07-05 09:56:38,029][transformers.trainer][INFO] - Num examples = 132
539
+ [2025-07-05 09:56:38,029][transformers.trainer][INFO] - Batch size = 4
540
+ [2025-07-05 09:56:56,060][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/09-51-54/results/phi35-balanced/C4/checkpoint-96
541
+ [2025-07-05 09:56:56,563][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--microsoft--Phi-3.5-mini-instruct/snapshots/3145e03a9fd4cdd7cd953c34d9bbf7ad606122ca/config.json
542
+ [2025-07-05 09:56:56,563][transformers.configuration_utils][INFO] - Model config Phi3Config {
543
+ "architectures": [
544
+ "Phi3ForCausalLM"
545
+ ],
546
+ "attention_bias": false,
547
+ "attention_dropout": 0.0,
548
+ "auto_map": {
549
+ "AutoConfig": "configuration_phi3.Phi3Config",
550
+ "AutoModelForCausalLM": "modeling_phi3.Phi3ForCausalLM"
551
+ },
552
+ "bos_token_id": 1,
553
+ "embd_pdrop": 0.0,
554
+ "eos_token_id": 32000,
555
+ "hidden_act": "silu",
556
+ "hidden_size": 3072,
557
+ "initializer_range": 0.02,
558
+ "intermediate_size": 8192,
559
+ "max_position_embeddings": 131072,
560
+ "model_type": "phi3",
561
+ "num_attention_heads": 32,
562
+ "num_hidden_layers": 32,
563
+ "num_key_value_heads": 32,
564
+ "original_max_position_embeddings": 4096,
565
+ "pad_token_id": 32000,
566
+ "partial_rotary_factor": 1.0,
567
+ "resid_pdrop": 0.0,
568
+ "rms_norm_eps": 1e-05,
569
+ "rope_scaling": {
570
+ "long_factor": [
571
+ 1.0800000429153442,
572
+ 1.1100000143051147,
573
+ 1.1399999856948853,
574
+ 1.340000033378601,
575
+ 1.5899999141693115,
576
+ 1.600000023841858,
577
+ 1.6200000047683716,
578
+ 2.620000123977661,
579
+ 3.2300000190734863,
580
+ 3.2300000190734863,
581
+ 4.789999961853027,
582
+ 7.400000095367432,
583
+ 7.700000286102295,
584
+ 9.09000015258789,
585
+ 12.199999809265137,
586
+ 17.670000076293945,
587
+ 24.46000099182129,
588
+ 28.57000160217285,
589
+ 30.420001983642578,
590
+ 30.840002059936523,
591
+ 32.590003967285156,
592
+ 32.93000411987305,
593
+ 42.320003509521484,
594
+ 44.96000289916992,
595
+ 50.340003967285156,
596
+ 50.45000457763672,
597
+ 57.55000305175781,
598
+ 57.93000411987305,
599
+ 58.21000289916992,
600
+ 60.1400032043457,
601
+ 62.61000442504883,
602
+ 62.62000274658203,
603
+ 62.71000289916992,
604
+ 63.1400032043457,
605
+ 63.1400032043457,
606
+ 63.77000427246094,
607
+ 63.93000411987305,
608
+ 63.96000289916992,
609
+ 63.970001220703125,
610
+ 64.02999877929688,
611
+ 64.06999969482422,
612
+ 64.08000183105469,
613
+ 64.12000274658203,
614
+ 64.41000366210938,
615
+ 64.4800033569336,
616
+ 64.51000213623047,
617
+ 64.52999877929688,
618
+ 64.83999633789062
619
+ ],
620
+ "short_factor": [
621
+ 1.0,
622
+ 1.0199999809265137,
623
+ 1.0299999713897705,
624
+ 1.0299999713897705,
625
+ 1.0499999523162842,
626
+ 1.0499999523162842,
627
+ 1.0499999523162842,
628
+ 1.0499999523162842,
629
+ 1.0499999523162842,
630
+ 1.0699999332427979,
631
+ 1.0999999046325684,
632
+ 1.1099998950958252,
633
+ 1.1599998474121094,
634
+ 1.1599998474121094,
635
+ 1.1699998378753662,
636
+ 1.2899998426437378,
637
+ 1.339999794960022,
638
+ 1.679999828338623,
639
+ 1.7899998426437378,
640
+ 1.8199998140335083,
641
+ 1.8499997854232788,
642
+ 1.8799997568130493,
643
+ 1.9099997282028198,
644
+ 1.9399996995925903,
645
+ 1.9899996519088745,
646
+ 2.0199997425079346,
647
+ 2.0199997425079346,
648
+ 2.0199997425079346,
649
+ 2.0199997425079346,
650
+ 2.0199997425079346,
651
+ 2.0199997425079346,
652
+ 2.0299997329711914,
653
+ 2.0299997329711914,
654
+ 2.0299997329711914,
655
+ 2.0299997329711914,
656
+ 2.0299997329711914,
657
+ 2.0299997329711914,
658
+ 2.0299997329711914,
659
+ 2.0299997329711914,
660
+ 2.0299997329711914,
661
+ 2.0799996852874756,
662
+ 2.0899996757507324,
663
+ 2.189999580383301,
664
+ 2.2199995517730713,
665
+ 2.5899994373321533,
666
+ 2.729999542236328,
667
+ 2.749999523162842,
668
+ 2.8399994373321533
669
+ ],
670
+ "type": "longrope"
671
+ },
672
+ "rope_theta": 10000.0,
673
+ "sliding_window": 262144,
674
+ "tie_word_embeddings": false,
675
+ "torch_dtype": "bfloat16",
676
+ "transformers_version": "4.53.0",
677
+ "use_cache": true,
678
+ "vocab_size": 32064
679
+ }
680
+
681
+ [2025-07-05 09:56:56,872][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/09-51-54/results/phi35-balanced/C4/checkpoint-64] due to args.save_total_limit
682
+ [2025-07-05 09:58:06,881][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt. If id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
683
+ [2025-07-05 09:58:06,884][transformers.trainer][INFO] -
684
+ ***** Running Evaluation *****
685
+ [2025-07-05 09:58:06,884][transformers.trainer][INFO] - Num examples = 132
686
+ [2025-07-05 09:58:06,884][transformers.trainer][INFO] - Batch size = 4
687
+ [2025-07-05 09:58:24,923][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/09-51-54/results/phi35-balanced/C4/checkpoint-128
688
+ [2025-07-05 09:58:25,410][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--microsoft--Phi-3.5-mini-instruct/snapshots/3145e03a9fd4cdd7cd953c34d9bbf7ad606122ca/config.json
689
+ [2025-07-05 09:58:25,411][transformers.configuration_utils][INFO] - Model config Phi3Config {
690
+ "architectures": [
691
+ "Phi3ForCausalLM"
692
+ ],
693
+ "attention_bias": false,
694
+ "attention_dropout": 0.0,
695
+ "auto_map": {
696
+ "AutoConfig": "configuration_phi3.Phi3Config",
697
+ "AutoModelForCausalLM": "modeling_phi3.Phi3ForCausalLM"
698
+ },
699
+ "bos_token_id": 1,
700
+ "embd_pdrop": 0.0,
701
+ "eos_token_id": 32000,
702
+ "hidden_act": "silu",
703
+ "hidden_size": 3072,
704
+ "initializer_range": 0.02,
705
+ "intermediate_size": 8192,
706
+ "max_position_embeddings": 131072,
707
+ "model_type": "phi3",
708
+ "num_attention_heads": 32,
709
+ "num_hidden_layers": 32,
710
+ "num_key_value_heads": 32,
711
+ "original_max_position_embeddings": 4096,
712
+ "pad_token_id": 32000,
713
+ "partial_rotary_factor": 1.0,
714
+ "resid_pdrop": 0.0,
715
+ "rms_norm_eps": 1e-05,
716
+ "rope_scaling": {
717
+ "long_factor": [
718
+ 1.0800000429153442,
719
+ 1.1100000143051147,
720
+ 1.1399999856948853,
721
+ 1.340000033378601,
722
+ 1.5899999141693115,
723
+ 1.600000023841858,
724
+ 1.6200000047683716,
725
+ 2.620000123977661,
726
+ 3.2300000190734863,
727
+ 3.2300000190734863,
728
+ 4.789999961853027,
729
+ 7.400000095367432,
730
+ 7.700000286102295,
731
+ 9.09000015258789,
732
+ 12.199999809265137,
733
+ 17.670000076293945,
734
+ 24.46000099182129,
735
+ 28.57000160217285,
736
+ 30.420001983642578,
737
+ 30.840002059936523,
738
+ 32.590003967285156,
739
+ 32.93000411987305,
740
+ 42.320003509521484,
741
+ 44.96000289916992,
742
+ 50.340003967285156,
743
+ 50.45000457763672,
744
+ 57.55000305175781,
745
+ 57.93000411987305,
746
+ 58.21000289916992,
747
+ 60.1400032043457,
748
+ 62.61000442504883,
749
+ 62.62000274658203,
750
+ 62.71000289916992,
751
+ 63.1400032043457,
752
+ 63.1400032043457,
753
+ 63.77000427246094,
754
+ 63.93000411987305,
755
+ 63.96000289916992,
756
+ 63.970001220703125,
757
+ 64.02999877929688,
758
+ 64.06999969482422,
759
+ 64.08000183105469,
760
+ 64.12000274658203,
761
+ 64.41000366210938,
762
+ 64.4800033569336,
763
+ 64.51000213623047,
764
+ 64.52999877929688,
765
+ 64.83999633789062
766
+ ],
767
+ "short_factor": [
768
+ 1.0,
769
+ 1.0199999809265137,
770
+ 1.0299999713897705,
771
+ 1.0299999713897705,
772
+ 1.0499999523162842,
773
+ 1.0499999523162842,
774
+ 1.0499999523162842,
775
+ 1.0499999523162842,
776
+ 1.0499999523162842,
777
+ 1.0699999332427979,
778
+ 1.0999999046325684,
779
+ 1.1099998950958252,
780
+ 1.1599998474121094,
781
+ 1.1599998474121094,
782
+ 1.1699998378753662,
783
+ 1.2899998426437378,
784
+ 1.339999794960022,
785
+ 1.679999828338623,
786
+ 1.7899998426437378,
787
+ 1.8199998140335083,
788
+ 1.8499997854232788,
789
+ 1.8799997568130493,
790
+ 1.9099997282028198,
791
+ 1.9399996995925903,
792
+ 1.9899996519088745,
793
+ 2.0199997425079346,
794
+ 2.0199997425079346,
795
+ 2.0199997425079346,
796
+ 2.0199997425079346,
797
+ 2.0199997425079346,
798
+ 2.0199997425079346,
799
+ 2.0299997329711914,
800
+ 2.0299997329711914,
801
+ 2.0299997329711914,
802
+ 2.0299997329711914,
803
+ 2.0299997329711914,
804
+ 2.0299997329711914,
805
+ 2.0299997329711914,
806
+ 2.0299997329711914,
807
+ 2.0299997329711914,
808
+ 2.0799996852874756,
809
+ 2.0899996757507324,
810
+ 2.189999580383301,
811
+ 2.2199995517730713,
812
+ 2.5899994373321533,
813
+ 2.729999542236328,
814
+ 2.749999523162842,
815
+ 2.8399994373321533
816
+ ],
817
+ "type": "longrope"
818
+ },
819
+ "rope_theta": 10000.0,
820
+ "sliding_window": 262144,
821
+ "tie_word_embeddings": false,
822
+ "torch_dtype": "bfloat16",
823
+ "transformers_version": "4.53.0",
824
+ "use_cache": true,
825
+ "vocab_size": 32064
826
+ }
827
+
828
+ [2025-07-05 09:58:25,678][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/09-51-54/results/phi35-balanced/C4/checkpoint-96] due to args.save_total_limit
829
+ [2025-07-05 09:59:35,684][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt. If id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
830
+ [2025-07-05 09:59:35,687][transformers.trainer][INFO] -
831
+ ***** Running Evaluation *****
832
+ [2025-07-05 09:59:35,687][transformers.trainer][INFO] - Num examples = 132
833
+ [2025-07-05 09:59:35,687][transformers.trainer][INFO] - Batch size = 4
834
+ [2025-07-05 09:59:53,724][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/09-51-54/results/phi35-balanced/C4/checkpoint-160
835
+ [2025-07-05 09:59:54,025][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--microsoft--Phi-3.5-mini-instruct/snapshots/3145e03a9fd4cdd7cd953c34d9bbf7ad606122ca/config.json
836
+ [2025-07-05 09:59:54,026][transformers.configuration_utils][INFO] - Model config Phi3Config {
837
+ "architectures": [
838
+ "Phi3ForCausalLM"
839
+ ],
840
+ "attention_bias": false,
841
+ "attention_dropout": 0.0,
842
+ "auto_map": {
843
+ "AutoConfig": "configuration_phi3.Phi3Config",
844
+ "AutoModelForCausalLM": "modeling_phi3.Phi3ForCausalLM"
845
+ },
846
+ "bos_token_id": 1,
847
+ "embd_pdrop": 0.0,
848
+ "eos_token_id": 32000,
849
+ "hidden_act": "silu",
850
+ "hidden_size": 3072,
851
+ "initializer_range": 0.02,
852
+ "intermediate_size": 8192,
853
+ "max_position_embeddings": 131072,
854
+ "model_type": "phi3",
855
+ "num_attention_heads": 32,
856
+ "num_hidden_layers": 32,
857
+ "num_key_value_heads": 32,
858
+ "original_max_position_embeddings": 4096,
859
+ "pad_token_id": 32000,
860
+ "partial_rotary_factor": 1.0,
861
+ "resid_pdrop": 0.0,
862
+ "rms_norm_eps": 1e-05,
863
+ "rope_scaling": {
864
+ "long_factor": [
865
+ 1.0800000429153442,
866
+ 1.1100000143051147,
867
+ 1.1399999856948853,
868
+ 1.340000033378601,
869
+ 1.5899999141693115,
870
+ 1.600000023841858,
871
+ 1.6200000047683716,
872
+ 2.620000123977661,
873
+ 3.2300000190734863,
874
+ 3.2300000190734863,
875
+ 4.789999961853027,
876
+ 7.400000095367432,
877
+ 7.700000286102295,
878
+ 9.09000015258789,
879
+ 12.199999809265137,
880
+ 17.670000076293945,
881
+ 24.46000099182129,
882
+ 28.57000160217285,
883
+ 30.420001983642578,
884
+ 30.840002059936523,
885
+ 32.590003967285156,
886
+ 32.93000411987305,
887
+ 42.320003509521484,
888
+ 44.96000289916992,
889
+ 50.340003967285156,
890
+ 50.45000457763672,
891
+ 57.55000305175781,
892
+ 57.93000411987305,
893
+ 58.21000289916992,
894
+ 60.1400032043457,
895
+ 62.61000442504883,
896
+ 62.62000274658203,
897
+ 62.71000289916992,
898
+ 63.1400032043457,
899
+ 63.1400032043457,
900
+ 63.77000427246094,
901
+ 63.93000411987305,
902
+ 63.96000289916992,
903
+ 63.970001220703125,
904
+ 64.02999877929688,
905
+ 64.06999969482422,
906
+ 64.08000183105469,
907
+ 64.12000274658203,
908
+ 64.41000366210938,
909
+ 64.4800033569336,
910
+ 64.51000213623047,
911
+ 64.52999877929688,
912
+ 64.83999633789062
913
+ ],
914
+ "short_factor": [
915
+ 1.0,
916
+ 1.0199999809265137,
917
+ 1.0299999713897705,
918
+ 1.0299999713897705,
919
+ 1.0499999523162842,
920
+ 1.0499999523162842,
921
+ 1.0499999523162842,
922
+ 1.0499999523162842,
923
+ 1.0499999523162842,
924
+ 1.0699999332427979,
925
+ 1.0999999046325684,
926
+ 1.1099998950958252,
927
+ 1.1599998474121094,
928
+ 1.1599998474121094,
929
+ 1.1699998378753662,
930
+ 1.2899998426437378,
931
+ 1.339999794960022,
932
+ 1.679999828338623,
933
+ 1.7899998426437378,
934
+ 1.8199998140335083,
935
+ 1.8499997854232788,
936
+ 1.8799997568130493,
937
+ 1.9099997282028198,
938
+ 1.9399996995925903,
939
+ 1.9899996519088745,
940
+ 2.0199997425079346,
941
+ 2.0199997425079346,
942
+ 2.0199997425079346,
943
+ 2.0199997425079346,
944
+ 2.0199997425079346,
945
+ 2.0199997425079346,
946
+ 2.0299997329711914,
947
+ 2.0299997329711914,
948
+ 2.0299997329711914,
949
+ 2.0299997329711914,
950
+ 2.0299997329711914,
951
+ 2.0299997329711914,
952
+ 2.0299997329711914,
953
+ 2.0299997329711914,
954
+ 2.0299997329711914,
955
+ 2.0799996852874756,
956
+ 2.0899996757507324,
957
+ 2.189999580383301,
958
+ 2.2199995517730713,
959
+ 2.5899994373321533,
960
+ 2.729999542236328,
961
+ 2.749999523162842,
962
+ 2.8399994373321533
963
+ ],
964
+ "type": "longrope"
965
+ },
966
+ "rope_theta": 10000.0,
967
+ "sliding_window": 262144,
968
+ "tie_word_embeddings": false,
969
+ "torch_dtype": "bfloat16",
970
+ "transformers_version": "4.53.0",
971
+ "use_cache": true,
972
+ "vocab_size": 32064
973
+ }
974
+
975
+ [2025-07-05 09:59:54,282][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/09-51-54/results/phi35-balanced/C4/checkpoint-128] due to args.save_total_limit
976
+ [2025-07-05 10:01:04,308][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt. If id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
977
+ [2025-07-05 10:01:04,311][transformers.trainer][INFO] -
978
+ ***** Running Evaluation *****
979
+ [2025-07-05 10:01:04,311][transformers.trainer][INFO] - Num examples = 132
980
+ [2025-07-05 10:01:04,311][transformers.trainer][INFO] - Batch size = 4
981
+ [2025-07-05 10:01:22,358][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/09-51-54/results/phi35-balanced/C4/checkpoint-192
982
+ [2025-07-05 10:01:22,666][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--microsoft--Phi-3.5-mini-instruct/snapshots/3145e03a9fd4cdd7cd953c34d9bbf7ad606122ca/config.json
983
+ [2025-07-05 10:01:22,667][transformers.configuration_utils][INFO] - Model config Phi3Config {
984
+ "architectures": [
985
+ "Phi3ForCausalLM"
986
+ ],
987
+ "attention_bias": false,
988
+ "attention_dropout": 0.0,
989
+ "auto_map": {
990
+ "AutoConfig": "configuration_phi3.Phi3Config",
991
+ "AutoModelForCausalLM": "modeling_phi3.Phi3ForCausalLM"
992
+ },
993
+ "bos_token_id": 1,
994
+ "embd_pdrop": 0.0,
995
+ "eos_token_id": 32000,
996
+ "hidden_act": "silu",
997
+ "hidden_size": 3072,
998
+ "initializer_range": 0.02,
999
+ "intermediate_size": 8192,
1000
+ "max_position_embeddings": 131072,
1001
+ "model_type": "phi3",
1002
+ "num_attention_heads": 32,
1003
+ "num_hidden_layers": 32,
1004
+ "num_key_value_heads": 32,
1005
+ "original_max_position_embeddings": 4096,
1006
+ "pad_token_id": 32000,
1007
+ "partial_rotary_factor": 1.0,
1008
+ "resid_pdrop": 0.0,
1009
+ "rms_norm_eps": 1e-05,
1010
+ "rope_scaling": {
1011
+ "long_factor": [
1012
+ 1.0800000429153442,
1013
+ 1.1100000143051147,
1014
+ 1.1399999856948853,
1015
+ 1.340000033378601,
1016
+ 1.5899999141693115,
1017
+ 1.600000023841858,
1018
+ 1.6200000047683716,
1019
+ 2.620000123977661,
1020
+ 3.2300000190734863,
1021
+ 3.2300000190734863,
1022
+ 4.789999961853027,
1023
+ 7.400000095367432,
1024
+ 7.700000286102295,
1025
+ 9.09000015258789,
1026
+ 12.199999809265137,
1027
+ 17.670000076293945,
1028
+ 24.46000099182129,
1029
+ 28.57000160217285,
1030
+ 30.420001983642578,
1031
+ 30.840002059936523,
1032
+ 32.590003967285156,
1033
+ 32.93000411987305,
1034
+ 42.320003509521484,
1035
+ 44.96000289916992,
1036
+ 50.340003967285156,
1037
+ 50.45000457763672,
1038
+ 57.55000305175781,
1039
+ 57.93000411987305,
1040
+ 58.21000289916992,
1041
+ 60.1400032043457,
1042
+ 62.61000442504883,
1043
+ 62.62000274658203,
1044
+ 62.71000289916992,
1045
+ 63.1400032043457,
1046
+ 63.1400032043457,
1047
+ 63.77000427246094,
1048
+ 63.93000411987305,
1049
+ 63.96000289916992,
1050
+ 63.970001220703125,
1051
+ 64.02999877929688,
1052
+ 64.06999969482422,
1053
+ 64.08000183105469,
1054
+ 64.12000274658203,
1055
+ 64.41000366210938,
1056
+ 64.4800033569336,
1057
+ 64.51000213623047,
1058
+ 64.52999877929688,
1059
+ 64.83999633789062
1060
+ ],
1061
+ "short_factor": [
1062
+ 1.0,
1063
+ 1.0199999809265137,
1064
+ 1.0299999713897705,
1065
+ 1.0299999713897705,
1066
+ 1.0499999523162842,
1067
+ 1.0499999523162842,
1068
+ 1.0499999523162842,
1069
+ 1.0499999523162842,
1070
+ 1.0499999523162842,
1071
+ 1.0699999332427979,
1072
+ 1.0999999046325684,
1073
+ 1.1099998950958252,
1074
+ 1.1599998474121094,
1075
+ 1.1599998474121094,
1076
+ 1.1699998378753662,
1077
+ 1.2899998426437378,
1078
+ 1.339999794960022,
1079
+ 1.679999828338623,
1080
+ 1.7899998426437378,
1081
+ 1.8199998140335083,
1082
+ 1.8499997854232788,
1083
+ 1.8799997568130493,
1084
+ 1.9099997282028198,
1085
+ 1.9399996995925903,
1086
+ 1.9899996519088745,
1087
+ 2.0199997425079346,
1088
+ 2.0199997425079346,
1089
+ 2.0199997425079346,
1090
+ 2.0199997425079346,
1091
+ 2.0199997425079346,
1092
+ 2.0199997425079346,
1093
+ 2.0299997329711914,
1094
+ 2.0299997329711914,
1095
+ 2.0299997329711914,
1096
+ 2.0299997329711914,
1097
+ 2.0299997329711914,
1098
+ 2.0299997329711914,
1099
+ 2.0299997329711914,
1100
+ 2.0299997329711914,
1101
+ 2.0299997329711914,
1102
+ 2.0799996852874756,
1103
+ 2.0899996757507324,
1104
+ 2.189999580383301,
1105
+ 2.2199995517730713,
1106
+ 2.5899994373321533,
1107
+ 2.729999542236328,
1108
+ 2.749999523162842,
1109
+ 2.8399994373321533
1110
+ ],
1111
+ "type": "longrope"
1112
+ },
1113
+ "rope_theta": 10000.0,
1114
+ "sliding_window": 262144,
1115
+ "tie_word_embeddings": false,
1116
+ "torch_dtype": "bfloat16",
1117
+ "transformers_version": "4.53.0",
1118
+ "use_cache": true,
1119
+ "vocab_size": 32064
1120
+ }
1121
+
1122
+ [2025-07-05 10:01:22,966][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/09-51-54/results/phi35-balanced/C4/checkpoint-160] due to args.save_total_limit
1123
+ [2025-07-05 10:01:22,972][transformers.trainer][INFO] -
1124
+
1125
+ Training completed. Do not forget to share your model on huggingface.co/models =)
1126
+
1127
+
1128
+ [2025-07-05 10:01:22,973][transformers.trainer][INFO] - Loading best model from /workspace/jbcs2025/outputs/2025-07-05/09-51-54/results/phi35-balanced/C4/checkpoint-32 (score: 0.06300703082747416).
1129
+ [2025-07-05 10:01:23,070][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/09-51-54/results/phi35-balanced/C4/checkpoint-192] due to args.save_total_limit
1130
+ [2025-07-05 10:01:23,078][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt. If id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
1131
+ [2025-07-05 10:01:23,081][transformers.trainer][INFO] -
1132
+ ***** Running Evaluation *****
1133
+ [2025-07-05 10:01:23,081][transformers.trainer][INFO] - Num examples = 132
1134
+ [2025-07-05 10:01:23,081][transformers.trainer][INFO] - Batch size = 4
1135
+ [2025-07-05 10:01:41,115][__main__][INFO] - Training completed successfully.
1136
+ [2025-07-05 10:01:41,115][__main__][INFO] - Running on Test
1137
+ [2025-07-05 10:01:41,115][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt. If id, reference, essay_year, grades, essay_text, prompt, supporting_text, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
1138
+ [2025-07-05 10:01:41,118][transformers.trainer][INFO] -
1139
+ ***** Running Evaluation *****
1140
+ [2025-07-05 10:01:41,118][transformers.trainer][INFO] - Num examples = 138
1141
+ [2025-07-05 10:01:41,118][transformers.trainer][INFO] - Batch size = 4
1142
+ [2025-07-05 10:02:00,134][__main__][INFO] - Test metrics: {'eval_loss': 1.9528576135635376, 'eval_model_preparation_time': 0.0074, 'eval_accuracy': 0.34057971014492755, 'eval_RMSE': 38.52347298744614, 'eval_QWK': 0.083437110834371, 'eval_HDIV': 0.01449275362318836, 'eval_Macro_F1': 0.09239974422216134, 'eval_Micro_F1': 0.34057971014492755, 'eval_Weighted_F1': 0.19540394231494831, 'eval_TP_0': 0, 'eval_TN_0': 137, 'eval_FP_0': 0, 'eval_FN_0': 1, 'eval_TP_1': 0, 'eval_TN_1': 137, 'eval_FP_1': 0, 'eval_FN_1': 1, 'eval_TP_2': 0, 'eval_TN_2': 129, 'eval_FP_2': 0, 'eval_FN_2': 9, 'eval_TP_3': 2, 'eval_TN_3': 58, 'eval_FP_3': 4, 'eval_FN_3': 74, 'eval_TP_4': 45, 'eval_TN_4': 5, 'eval_FP_4': 87, 'eval_FN_4': 1, 'eval_TP_5': 0, 'eval_TN_5': 133, 'eval_FP_5': 0, 'eval_FN_5': 5, 'eval_runtime': 19.0083, 'eval_samples_per_second': 7.26, 'eval_steps_per_second': 1.841, 'epoch': 6.0}
1143
+ [2025-07-05 10:02:00,134][transformers.trainer][INFO] - Saving model checkpoint to ./results/phi35-balanced/C4/best_model
1144
+ [2025-07-05 10:02:00,426][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--microsoft--Phi-3.5-mini-instruct/snapshots/3145e03a9fd4cdd7cd953c34d9bbf7ad606122ca/config.json
1145
+ [2025-07-05 10:02:00,427][transformers.configuration_utils][INFO] - Model config Phi3Config {
1146
+ "architectures": [
1147
+ "Phi3ForCausalLM"
1148
+ ],
1149
+ "attention_bias": false,
1150
+ "attention_dropout": 0.0,
1151
+ "auto_map": {
1152
+ "AutoConfig": "configuration_phi3.Phi3Config",
1153
+ "AutoModelForCausalLM": "modeling_phi3.Phi3ForCausalLM"
1154
+ },
1155
+ "bos_token_id": 1,
1156
+ "embd_pdrop": 0.0,
1157
+ "eos_token_id": 32000,
1158
+ "hidden_act": "silu",
1159
+ "hidden_size": 3072,
1160
+ "initializer_range": 0.02,
1161
+ "intermediate_size": 8192,
1162
+ "max_position_embeddings": 131072,
1163
+ "model_type": "phi3",
1164
+ "num_attention_heads": 32,
1165
+ "num_hidden_layers": 32,
1166
+ "num_key_value_heads": 32,
1167
+ "original_max_position_embeddings": 4096,
1168
+ "pad_token_id": 32000,
1169
+ "partial_rotary_factor": 1.0,
1170
+ "resid_pdrop": 0.0,
1171
+ "rms_norm_eps": 1e-05,
1172
+ "rope_scaling": {
1173
+ "long_factor": [
1174
+ 1.0800000429153442,
1175
+ 1.1100000143051147,
1176
+ 1.1399999856948853,
1177
+ 1.340000033378601,
1178
+ 1.5899999141693115,
1179
+ 1.600000023841858,
1180
+ 1.6200000047683716,
1181
+ 2.620000123977661,
1182
+ 3.2300000190734863,
1183
+ 3.2300000190734863,
1184
+ 4.789999961853027,
1185
+ 7.400000095367432,
1186
+ 7.700000286102295,
1187
+ 9.09000015258789,
1188
+ 12.199999809265137,
1189
+ 17.670000076293945,
1190
+ 24.46000099182129,
1191
+ 28.57000160217285,
1192
+ 30.420001983642578,
1193
+ 30.840002059936523,
1194
+ 32.590003967285156,
1195
+ 32.93000411987305,
1196
+ 42.320003509521484,
1197
+ 44.96000289916992,
1198
+ 50.340003967285156,
1199
+ 50.45000457763672,
1200
+ 57.55000305175781,
1201
+ 57.93000411987305,
1202
+ 58.21000289916992,
1203
+ 60.1400032043457,
1204
+ 62.61000442504883,
1205
+ 62.62000274658203,
1206
+ 62.71000289916992,
1207
+ 63.1400032043457,
1208
+ 63.1400032043457,
1209
+ 63.77000427246094,
1210
+ 63.93000411987305,
1211
+ 63.96000289916992,
1212
+ 63.970001220703125,
1213
+ 64.02999877929688,
1214
+ 64.06999969482422,
1215
+ 64.08000183105469,
1216
+ 64.12000274658203,
1217
+ 64.41000366210938,
1218
+ 64.4800033569336,
1219
+ 64.51000213623047,
1220
+ 64.52999877929688,
1221
+ 64.83999633789062
1222
+ ],
1223
+ "short_factor": [
1224
+ 1.0,
1225
+ 1.0199999809265137,
1226
+ 1.0299999713897705,
1227
+ 1.0299999713897705,
1228
+ 1.0499999523162842,
1229
+ 1.0499999523162842,
1230
+ 1.0499999523162842,
1231
+ 1.0499999523162842,
1232
+ 1.0499999523162842,
1233
+ 1.0699999332427979,
1234
+ 1.0999999046325684,
1235
+ 1.1099998950958252,
1236
+ 1.1599998474121094,
1237
+ 1.1599998474121094,
1238
+ 1.1699998378753662,
1239
+ 1.2899998426437378,
1240
+ 1.339999794960022,
1241
+ 1.679999828338623,
1242
+ 1.7899998426437378,
1243
+ 1.8199998140335083,
1244
+ 1.8499997854232788,
1245
+ 1.8799997568130493,
1246
+ 1.9099997282028198,
1247
+ 1.9399996995925903,
1248
+ 1.9899996519088745,
1249
+ 2.0199997425079346,
1250
+ 2.0199997425079346,
1251
+ 2.0199997425079346,
1252
+ 2.0199997425079346,
1253
+ 2.0199997425079346,
1254
+ 2.0199997425079346,
1255
+ 2.0299997329711914,
1256
+ 2.0299997329711914,
1257
+ 2.0299997329711914,
1258
+ 2.0299997329711914,
1259
+ 2.0299997329711914,
1260
+ 2.0299997329711914,
1261
+ 2.0299997329711914,
1262
+ 2.0299997329711914,
1263
+ 2.0299997329711914,
1264
+ 2.0799996852874756,
1265
+ 2.0899996757507324,
1266
+ 2.189999580383301,
1267
+ 2.2199995517730713,
1268
+ 2.5899994373321533,
1269
+ 2.729999542236328,
1270
+ 2.749999523162842,
1271
+ 2.8399994373321533
1272
+ ],
1273
+ "type": "longrope"
1274
+ },
1275
+ "rope_theta": 10000.0,
1276
+ "sliding_window": 262144,
1277
+ "tie_word_embeddings": false,
1278
+ "torch_dtype": "bfloat16",
1279
+ "transformers_version": "4.53.0",
1280
+ "use_cache": true,
1281
+ "vocab_size": 32064
1282
+ }
1283
+
1284
+ [2025-07-05 10:02:00,654][transformers.tokenization_utils_base][INFO] - chat template saved in ./results/phi35-balanced/C4/best_model/chat_template.jinja
1285
+ [2025-07-05 10:02:00,655][transformers.tokenization_utils_base][INFO] - tokenizer config file saved in ./results/phi35-balanced/C4/best_model/tokenizer_config.json
1286
+ [2025-07-05 10:02:00,655][transformers.tokenization_utils_base][INFO] - Special tokens file saved in ./results/phi35-balanced/C4/best_model/special_tokens_map.json
1287
+ [2025-07-05 10:02:00,680][__main__][INFO] - Model and tokenizer saved to ./results/phi35-balanced/C4/best_model
1288
+ [2025-07-05 10:02:00,686][__main__][INFO] - Fine Tuning Finished.
1289
+ [2025-07-05 10:02:01,196][__main__][INFO] - Total emissions: 0.0074 kg CO2eq
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|dummy_id_0|>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": true,
27
+ "single_word": false,
28
+ "special": false
29
+ },
30
+ "32000": {
31
+ "content": "<|endoftext|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "32001": {
39
+ "content": "<|assistant|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": true,
43
+ "single_word": false,
44
+ "special": true
45
+ },
46
+ "32002": {
47
+ "content": "<|placeholder1|>",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": true,
51
+ "single_word": false,
52
+ "special": true
53
+ },
54
+ "32003": {
55
+ "content": "<|placeholder2|>",
56
+ "lstrip": false,
57
+ "normalized": false,
58
+ "rstrip": true,
59
+ "single_word": false,
60
+ "special": true
61
+ },
62
+ "32004": {
63
+ "content": "<|placeholder3|>",
64
+ "lstrip": false,
65
+ "normalized": false,
66
+ "rstrip": true,
67
+ "single_word": false,
68
+ "special": true
69
+ },
70
+ "32005": {
71
+ "content": "<|placeholder4|>",
72
+ "lstrip": false,
73
+ "normalized": false,
74
+ "rstrip": true,
75
+ "single_word": false,
76
+ "special": true
77
+ },
78
+ "32006": {
79
+ "content": "<|system|>",
80
+ "lstrip": false,
81
+ "normalized": false,
82
+ "rstrip": true,
83
+ "single_word": false,
84
+ "special": true
85
+ },
86
+ "32007": {
87
+ "content": "<|end|>",
88
+ "lstrip": false,
89
+ "normalized": false,
90
+ "rstrip": true,
91
+ "single_word": false,
92
+ "special": true
93
+ },
94
+ "32008": {
95
+ "content": "<|placeholder5|>",
96
+ "lstrip": false,
97
+ "normalized": false,
98
+ "rstrip": true,
99
+ "single_word": false,
100
+ "special": true
101
+ },
102
+ "32009": {
103
+ "content": "<|placeholder6|>",
104
+ "lstrip": false,
105
+ "normalized": false,
106
+ "rstrip": true,
107
+ "single_word": false,
108
+ "special": true
109
+ },
110
+ "32010": {
111
+ "content": "<|user|>",
112
+ "lstrip": false,
113
+ "normalized": false,
114
+ "rstrip": true,
115
+ "single_word": false,
116
+ "special": true
117
+ },
118
+ "32011": {
119
+ "content": "<|dummy_id_0|>",
120
+ "lstrip": false,
121
+ "normalized": false,
122
+ "rstrip": false,
123
+ "single_word": false,
124
+ "special": true
125
+ }
126
+ },
127
+ "bos_token": "<s>",
128
+ "clean_up_tokenization_spaces": false,
129
+ "eos_token": "<|endoftext|>",
130
+ "extra_special_tokens": {},
131
+ "legacy": false,
132
+ "model_max_length": 131072,
133
+ "pad_token": "<|dummy_id_0|>",
134
+ "padding_side": "left",
135
+ "sp_model_kwargs": {},
136
+ "tokenizer_class": "LlamaTokenizer",
137
+ "unk_token": "<unk>",
138
+ "use_default_system_prompt": false
139
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7073be4ddd68d8c7b5ef808ffc484ee2cba54285c301a4d8597e10860564830d
3
+ size 5841