Pushing fine-tuned model to Hugging Face Hub
Browse files- README.md +49 -0
- adapter_config.json +39 -0
- adapter_model.safetensors +3 -0
- run_experiment.log +612 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-4
|
11 |
+
metrics:
|
12 |
+
- accuracy
|
13 |
+
- qwk
|
14 |
+
library_name: peft
|
15 |
+
model-index:
|
16 |
+
- name: phi4-balanced-C5
|
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 (ignoring nan)
|
28 |
+
type: f1
|
29 |
+
value: 0.2844881733253827
|
30 |
+
- name: QWK
|
31 |
+
type: qwk
|
32 |
+
value: 0.4574405346962846
|
33 |
+
- name: Weighted Macro F1
|
34 |
+
type: f1
|
35 |
+
value: 0.2439300683587842
|
36 |
+
---
|
37 |
+
# Model ID: phi4-balanced-C5
|
38 |
+
## Results
|
39 |
+
| | test_data |
|
40 |
+
|:-----------------------------|------------:|
|
41 |
+
| eval_accuracy | 0.311594 |
|
42 |
+
| eval_RMSE | 60.911 |
|
43 |
+
| eval_QWK | 0.457441 |
|
44 |
+
| eval_Macro_F1 | 0.189659 |
|
45 |
+
| eval_Macro_F1_(ignoring_nan) | 0.284488 |
|
46 |
+
| eval_Weighted_F1 | 0.24393 |
|
47 |
+
| eval_Micro_F1 | 0.311594 |
|
48 |
+
| eval_HDIV | 0.137681 |
|
49 |
+
|
adapter_config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "microsoft/phi-4",
|
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": 16,
|
17 |
+
"lora_bias": false,
|
18 |
+
"lora_dropout": 0.05,
|
19 |
+
"megatron_config": null,
|
20 |
+
"megatron_core": "megatron.core",
|
21 |
+
"modules_to_save": [
|
22 |
+
"classifier",
|
23 |
+
"score"
|
24 |
+
],
|
25 |
+
"peft_type": "LORA",
|
26 |
+
"r": 8,
|
27 |
+
"rank_pattern": {},
|
28 |
+
"revision": null,
|
29 |
+
"target_modules": [
|
30 |
+
"gate_up_proj",
|
31 |
+
"down_proj",
|
32 |
+
"qkv_proj",
|
33 |
+
"o_proj"
|
34 |
+
],
|
35 |
+
"task_type": "SEQ_CLS",
|
36 |
+
"trainable_token_indices": null,
|
37 |
+
"use_dora": false,
|
38 |
+
"use_rslora": false
|
39 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be9f0ca5d0c3ee968784f114ab311b8f9316a13979b32f2f12d05c265e3e2d06
|
3 |
+
size 111515584
|
run_experiment.log
ADDED
@@ -0,0 +1,612 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[2025-03-23 23:16:55,398][__main__][INFO] - cache_dir: /media/data/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 |
+
post_training_results:
|
12 |
+
model_path: /workspace/jbcs2025/outputs/2025-03-23/20-41-58
|
13 |
+
experiments:
|
14 |
+
model:
|
15 |
+
name: microsoft/phi-4
|
16 |
+
type: phi4_classification_lora
|
17 |
+
num_labels: 6
|
18 |
+
output_dir: ./results/phi4-balanced/C5
|
19 |
+
logging_dir: ./logs/phi4-balanced/C5
|
20 |
+
best_model_dir: ./results/phi4-balanced/C5/best_model
|
21 |
+
lora_r: 8
|
22 |
+
lora_dropout: 0.05
|
23 |
+
lora_alpha: 16
|
24 |
+
lora_target_modules: all-linear
|
25 |
+
dataset:
|
26 |
+
grade_index: 4
|
27 |
+
training_id: phi4-balanced-C5
|
28 |
+
training_params:
|
29 |
+
weight_decay: 0.01
|
30 |
+
warmup_ratio: 0.1
|
31 |
+
learning_rate: 5.0e-05
|
32 |
+
train_batch_size: 1
|
33 |
+
eval_batch_size: 16
|
34 |
+
gradient_accumulation_steps: 16
|
35 |
+
gradient_checkpointing: false
|
36 |
+
|
37 |
+
[2025-03-23 23:16:55,400][__main__][INFO] - Starting the Fine Tuning training process.
|
38 |
+
[2025-03-23 23:16:59,427][transformers.tokenization_utils_base][INFO] - loading file vocab.json from cache at /media/data/tmp/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/vocab.json
|
39 |
+
[2025-03-23 23:16:59,427][transformers.tokenization_utils_base][INFO] - loading file merges.txt from cache at /media/data/tmp/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/merges.txt
|
40 |
+
[2025-03-23 23:16:59,427][transformers.tokenization_utils_base][INFO] - loading file tokenizer.json from cache at /media/data/tmp/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/tokenizer.json
|
41 |
+
[2025-03-23 23:16:59,428][transformers.tokenization_utils_base][INFO] - loading file added_tokens.json from cache at /media/data/tmp/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/added_tokens.json
|
42 |
+
[2025-03-23 23:16:59,428][transformers.tokenization_utils_base][INFO] - loading file special_tokens_map.json from cache at /media/data/tmp/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/special_tokens_map.json
|
43 |
+
[2025-03-23 23:16:59,428][transformers.tokenization_utils_base][INFO] - loading file tokenizer_config.json from cache at /media/data/tmp/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/tokenizer_config.json
|
44 |
+
[2025-03-23 23:16:59,428][transformers.tokenization_utils_base][INFO] - loading file chat_template.jinja from cache at None
|
45 |
+
[2025-03-23 23:16:59,643][__main__][INFO] - Tokenizer function parameters- Padding:longest; Truncation: False
|
46 |
+
[2025-03-23 23:17:00,914][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /media/data/tmp/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/config.json
|
47 |
+
[2025-03-23 23:17:00,915][transformers.configuration_utils][INFO] - Model config Phi3Config {
|
48 |
+
"architectures": [
|
49 |
+
"Phi3ForCausalLM"
|
50 |
+
],
|
51 |
+
"attention_bias": false,
|
52 |
+
"attention_dropout": 0.0,
|
53 |
+
"bos_token_id": 100257,
|
54 |
+
"embd_pdrop": 0.0,
|
55 |
+
"eos_token_id": 100265,
|
56 |
+
"hidden_act": "silu",
|
57 |
+
"hidden_size": 5120,
|
58 |
+
"id2label": {
|
59 |
+
"0": 0,
|
60 |
+
"1": 40,
|
61 |
+
"2": 80,
|
62 |
+
"3": 120,
|
63 |
+
"4": 160,
|
64 |
+
"5": 200
|
65 |
+
},
|
66 |
+
"initializer_range": 0.02,
|
67 |
+
"intermediate_size": 17920,
|
68 |
+
"label2id": {
|
69 |
+
"0": 0,
|
70 |
+
"40": 1,
|
71 |
+
"80": 2,
|
72 |
+
"120": 3,
|
73 |
+
"160": 4,
|
74 |
+
"200": 5
|
75 |
+
},
|
76 |
+
"max_position_embeddings": 16384,
|
77 |
+
"model_type": "phi3",
|
78 |
+
"num_attention_heads": 40,
|
79 |
+
"num_hidden_layers": 40,
|
80 |
+
"num_key_value_heads": 10,
|
81 |
+
"original_max_position_embeddings": 16384,
|
82 |
+
"pad_token_id": 100349,
|
83 |
+
"partial_rotary_factor": 1.0,
|
84 |
+
"resid_pdrop": 0.0,
|
85 |
+
"rms_norm_eps": 1e-05,
|
86 |
+
"rope_scaling": null,
|
87 |
+
"rope_theta": 250000,
|
88 |
+
"sliding_window": null,
|
89 |
+
"tie_word_embeddings": false,
|
90 |
+
"torch_dtype": "bfloat16",
|
91 |
+
"transformers_version": "4.50.0",
|
92 |
+
"use_cache": true,
|
93 |
+
"vocab_size": 100352
|
94 |
+
}
|
95 |
+
|
96 |
+
[2025-03-23 23:17:00,937][transformers.modeling_utils][INFO] - loading weights file model.safetensors from cache at /media/data/tmp/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/model.safetensors.index.json
|
97 |
+
[2025-03-23 23:17:00,938][transformers.modeling_utils][INFO] - Will use torch_dtype=torch.bfloat16 as defined in model's config object
|
98 |
+
[2025-03-23 23:17:00,938][transformers.modeling_utils][INFO] - Instantiating Phi3ForSequenceClassification model under default dtype torch.bfloat16.
|
99 |
+
[2025-03-23 23:17:22,309][transformers.modeling_utils][INFO] - Some weights of the model checkpoint at microsoft/phi-4 were not used when initializing Phi3ForSequenceClassification: ['lm_head.weight']
|
100 |
+
- 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).
|
101 |
+
- 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).
|
102 |
+
[2025-03-23 23:17:22,309][transformers.modeling_utils][WARNING] - Some weights of Phi3ForSequenceClassification were not initialized from the model checkpoint at microsoft/phi-4 and are newly initialized: ['score.weight']
|
103 |
+
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
|
104 |
+
[2025-03-23 23:17:24,119][__main__][INFO] - None
|
105 |
+
[2025-03-23 23:17:24,121][transformers.training_args][INFO] - PyTorch: setting up devices
|
106 |
+
[2025-03-23 23:17:24,160][__main__][INFO] - Total steps: 620. Number of warmup steps: 62
|
107 |
+
[2025-03-23 23:17:24,166][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.
|
108 |
+
[2025-03-23 23:17:24,188][transformers.trainer][INFO] - Using auto half precision backend
|
109 |
+
[2025-03-23 23:17:24,189][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.
|
110 |
+
[2025-03-23 23:17:24,244][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, essay_text, supporting_text, prompt, grades, id_prompt. If id, reference, essay_year, essay_text, supporting_text, prompt, grades, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
|
111 |
+
[2025-03-23 23:17:24,258][transformers.trainer][INFO] -
|
112 |
+
***** Running Evaluation *****
|
113 |
+
[2025-03-23 23:17:24,258][transformers.trainer][INFO] - Num examples = 132
|
114 |
+
[2025-03-23 23:17:24,258][transformers.trainer][INFO] - Batch size = 16
|
115 |
+
[2025-03-23 23:17:52,247][transformers][INFO] - {'accuracy': 0.18181818181818182, 'RMSE': 83.4847109936722, 'QWK': -0.005937549700471889, 'HDIV': 0.28787878787878785, 'Macro_F1': 0.08773946360153256, 'Micro_F1': 0.18181818181818182, 'Weighted_F1': 0.08864507140369209, 'Macro_F1_(ignoring_nan)': np.float64(0.2632183908045977)}
|
116 |
+
[2025-03-23 23:17:52,250][tensorboardX.summary][INFO] - Summary name eval/Macro_F1_(ignoring_nan) is illegal; using eval/Macro_F1__ignoring_nan_ instead.
|
117 |
+
[2025-03-23 23:17:52,477][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, essay_text, supporting_text, prompt, grades, id_prompt. If id, reference, essay_year, essay_text, supporting_text, prompt, grades, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
|
118 |
+
[2025-03-23 23:17:52,509][transformers.trainer][INFO] - ***** Running training *****
|
119 |
+
[2025-03-23 23:17:52,509][transformers.trainer][INFO] - Num examples = 500
|
120 |
+
[2025-03-23 23:17:52,509][transformers.trainer][INFO] - Num Epochs = 20
|
121 |
+
[2025-03-23 23:17:52,509][transformers.trainer][INFO] - Instantaneous batch size per device = 1
|
122 |
+
[2025-03-23 23:17:52,509][transformers.trainer][INFO] - Total train batch size (w. parallel, distributed & accumulation) = 16
|
123 |
+
[2025-03-23 23:17:52,509][transformers.trainer][INFO] - Gradient Accumulation steps = 16
|
124 |
+
[2025-03-23 23:17:52,509][transformers.trainer][INFO] - Total optimization steps = 620
|
125 |
+
[2025-03-23 23:17:52,511][transformers.trainer][INFO] - Number of trainable parameters = 27,883,520
|
126 |
+
[2025-03-23 23:25:14,205][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, essay_text, supporting_text, prompt, grades, id_prompt. If id, reference, essay_year, essay_text, supporting_text, prompt, grades, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
|
127 |
+
[2025-03-23 23:25:14,207][transformers.trainer][INFO] -
|
128 |
+
***** Running Evaluation *****
|
129 |
+
[2025-03-23 23:25:14,207][transformers.trainer][INFO] - Num examples = 132
|
130 |
+
[2025-03-23 23:25:14,207][transformers.trainer][INFO] - Batch size = 16
|
131 |
+
[2025-03-23 23:25:42,038][transformers][INFO] - {'accuracy': 0.12121212121212122, 'RMSE': 59.39084716749482, 'QWK': -0.05031171387947064, 'HDIV': 0.045454545454545414, 'Macro_F1': 0.04404761904761905, 'Micro_F1': 0.12121212121212122, 'Weighted_F1': 0.0461038961038961, 'Macro_F1_(ignoring_nan)': np.float64(0.06607142857142857)}
|
132 |
+
[2025-03-23 23:25:42,038][tensorboardX.summary][INFO] - Summary name eval/Macro_F1_(ignoring_nan) is illegal; using eval/Macro_F1__ignoring_nan_ instead.
|
133 |
+
[2025-03-23 23:25:42,041][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-32
|
134 |
+
[2025-03-23 23:25:42,738][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/config.json
|
135 |
+
[2025-03-23 23:25:42,739][transformers.configuration_utils][INFO] - Model config Phi3Config {
|
136 |
+
"architectures": [
|
137 |
+
"Phi3ForCausalLM"
|
138 |
+
],
|
139 |
+
"attention_bias": false,
|
140 |
+
"attention_dropout": 0.0,
|
141 |
+
"bos_token_id": 100257,
|
142 |
+
"embd_pdrop": 0.0,
|
143 |
+
"eos_token_id": 100265,
|
144 |
+
"hidden_act": "silu",
|
145 |
+
"hidden_size": 5120,
|
146 |
+
"initializer_range": 0.02,
|
147 |
+
"intermediate_size": 17920,
|
148 |
+
"max_position_embeddings": 16384,
|
149 |
+
"model_type": "phi3",
|
150 |
+
"num_attention_heads": 40,
|
151 |
+
"num_hidden_layers": 40,
|
152 |
+
"num_key_value_heads": 10,
|
153 |
+
"original_max_position_embeddings": 16384,
|
154 |
+
"pad_token_id": 100349,
|
155 |
+
"partial_rotary_factor": 1.0,
|
156 |
+
"resid_pdrop": 0.0,
|
157 |
+
"rms_norm_eps": 1e-05,
|
158 |
+
"rope_scaling": null,
|
159 |
+
"rope_theta": 250000,
|
160 |
+
"sliding_window": null,
|
161 |
+
"tie_word_embeddings": false,
|
162 |
+
"torch_dtype": "bfloat16",
|
163 |
+
"transformers_version": "4.50.0",
|
164 |
+
"use_cache": true,
|
165 |
+
"vocab_size": 100352
|
166 |
+
}
|
167 |
+
|
168 |
+
[2025-03-23 23:33:04,853][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, essay_text, supporting_text, prompt, grades, id_prompt. If id, reference, essay_year, essay_text, supporting_text, prompt, grades, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
|
169 |
+
[2025-03-23 23:33:04,856][transformers.trainer][INFO] -
|
170 |
+
***** Running Evaluation *****
|
171 |
+
[2025-03-23 23:33:04,856][transformers.trainer][INFO] - Num examples = 132
|
172 |
+
[2025-03-23 23:33:04,856][transformers.trainer][INFO] - Batch size = 16
|
173 |
+
[2025-03-23 23:33:32,550][transformers][INFO] - {'accuracy': 0.3181818181818182, 'RMSE': 58.77538136452586, 'QWK': 0.2504781638508129, 'HDIV': 0.09848484848484851, 'Macro_F1': 0.1403307622819818, 'Micro_F1': 0.3181818181818182, 'Weighted_F1': 0.21991964674891504, 'Macro_F1_(ignoring_nan)': np.float64(0.2806615245639636)}
|
174 |
+
[2025-03-23 23:33:32,551][tensorboardX.summary][INFO] - Summary name eval/Macro_F1_(ignoring_nan) is illegal; using eval/Macro_F1__ignoring_nan_ instead.
|
175 |
+
[2025-03-23 23:33:32,554][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-64
|
176 |
+
[2025-03-23 23:33:32,940][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/config.json
|
177 |
+
[2025-03-23 23:33:32,941][transformers.configuration_utils][INFO] - Model config Phi3Config {
|
178 |
+
"architectures": [
|
179 |
+
"Phi3ForCausalLM"
|
180 |
+
],
|
181 |
+
"attention_bias": false,
|
182 |
+
"attention_dropout": 0.0,
|
183 |
+
"bos_token_id": 100257,
|
184 |
+
"embd_pdrop": 0.0,
|
185 |
+
"eos_token_id": 100265,
|
186 |
+
"hidden_act": "silu",
|
187 |
+
"hidden_size": 5120,
|
188 |
+
"initializer_range": 0.02,
|
189 |
+
"intermediate_size": 17920,
|
190 |
+
"max_position_embeddings": 16384,
|
191 |
+
"model_type": "phi3",
|
192 |
+
"num_attention_heads": 40,
|
193 |
+
"num_hidden_layers": 40,
|
194 |
+
"num_key_value_heads": 10,
|
195 |
+
"original_max_position_embeddings": 16384,
|
196 |
+
"pad_token_id": 100349,
|
197 |
+
"partial_rotary_factor": 1.0,
|
198 |
+
"resid_pdrop": 0.0,
|
199 |
+
"rms_norm_eps": 1e-05,
|
200 |
+
"rope_scaling": null,
|
201 |
+
"rope_theta": 250000,
|
202 |
+
"sliding_window": null,
|
203 |
+
"tie_word_embeddings": false,
|
204 |
+
"torch_dtype": "bfloat16",
|
205 |
+
"transformers_version": "4.50.0",
|
206 |
+
"use_cache": true,
|
207 |
+
"vocab_size": 100352
|
208 |
+
}
|
209 |
+
|
210 |
+
[2025-03-23 23:33:33,641][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-32] due to args.save_total_limit
|
211 |
+
[2025-03-23 23:40:54,983][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, essay_text, supporting_text, prompt, grades, id_prompt. If id, reference, essay_year, essay_text, supporting_text, prompt, grades, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
|
212 |
+
[2025-03-23 23:40:54,985][transformers.trainer][INFO] -
|
213 |
+
***** Running Evaluation *****
|
214 |
+
[2025-03-23 23:40:54,985][transformers.trainer][INFO] - Num examples = 132
|
215 |
+
[2025-03-23 23:40:54,985][transformers.trainer][INFO] - Batch size = 16
|
216 |
+
[2025-03-23 23:41:22,758][transformers][INFO] - {'accuracy': 0.18181818181818182, 'RMSE': 54.27204202399745, 'QWK': 0.19317838816782373, 'HDIV': 0.022727272727272707, 'Macro_F1': 0.1194578636607622, 'Micro_F1': 0.18181818181818182, 'Weighted_F1': 0.11230176157712389, 'Macro_F1_(ignoring_nan)': np.float64(0.2389157273215244)}
|
217 |
+
[2025-03-23 23:41:22,758][tensorboardX.summary][INFO] - Summary name eval/Macro_F1_(ignoring_nan) is illegal; using eval/Macro_F1__ignoring_nan_ instead.
|
218 |
+
[2025-03-23 23:41:22,761][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-96
|
219 |
+
[2025-03-23 23:41:23,054][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/config.json
|
220 |
+
[2025-03-23 23:41:23,055][transformers.configuration_utils][INFO] - Model config Phi3Config {
|
221 |
+
"architectures": [
|
222 |
+
"Phi3ForCausalLM"
|
223 |
+
],
|
224 |
+
"attention_bias": false,
|
225 |
+
"attention_dropout": 0.0,
|
226 |
+
"bos_token_id": 100257,
|
227 |
+
"embd_pdrop": 0.0,
|
228 |
+
"eos_token_id": 100265,
|
229 |
+
"hidden_act": "silu",
|
230 |
+
"hidden_size": 5120,
|
231 |
+
"initializer_range": 0.02,
|
232 |
+
"intermediate_size": 17920,
|
233 |
+
"max_position_embeddings": 16384,
|
234 |
+
"model_type": "phi3",
|
235 |
+
"num_attention_heads": 40,
|
236 |
+
"num_hidden_layers": 40,
|
237 |
+
"num_key_value_heads": 10,
|
238 |
+
"original_max_position_embeddings": 16384,
|
239 |
+
"pad_token_id": 100349,
|
240 |
+
"partial_rotary_factor": 1.0,
|
241 |
+
"resid_pdrop": 0.0,
|
242 |
+
"rms_norm_eps": 1e-05,
|
243 |
+
"rope_scaling": null,
|
244 |
+
"rope_theta": 250000,
|
245 |
+
"sliding_window": null,
|
246 |
+
"tie_word_embeddings": false,
|
247 |
+
"torch_dtype": "bfloat16",
|
248 |
+
"transformers_version": "4.50.0",
|
249 |
+
"use_cache": true,
|
250 |
+
"vocab_size": 100352
|
251 |
+
}
|
252 |
+
|
253 |
+
[2025-03-23 23:48:45,477][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, essay_text, supporting_text, prompt, grades, id_prompt. If id, reference, essay_year, essay_text, supporting_text, prompt, grades, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
|
254 |
+
[2025-03-23 23:48:45,480][transformers.trainer][INFO] -
|
255 |
+
***** Running Evaluation *****
|
256 |
+
[2025-03-23 23:48:45,480][transformers.trainer][INFO] - Num examples = 132
|
257 |
+
[2025-03-23 23:48:45,480][transformers.trainer][INFO] - Batch size = 16
|
258 |
+
[2025-03-23 23:49:13,271][transformers][INFO] - {'accuracy': 0.29545454545454547, 'RMSE': 62.957417066111944, 'QWK': 0.264367032517554, 'HDIV': 0.13636363636363635, 'Macro_F1': 0.17574013949013947, 'Micro_F1': 0.29545454545454547, 'Weighted_F1': 0.24230158730158732, 'Macro_F1_(ignoring_nan)': np.float64(0.21088816738816737)}
|
259 |
+
[2025-03-23 23:49:13,272][tensorboardX.summary][INFO] - Summary name eval/Macro_F1_(ignoring_nan) is illegal; using eval/Macro_F1__ignoring_nan_ instead.
|
260 |
+
[2025-03-23 23:49:13,274][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-128
|
261 |
+
[2025-03-23 23:49:13,582][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/config.json
|
262 |
+
[2025-03-23 23:49:13,583][transformers.configuration_utils][INFO] - Model config Phi3Config {
|
263 |
+
"architectures": [
|
264 |
+
"Phi3ForCausalLM"
|
265 |
+
],
|
266 |
+
"attention_bias": false,
|
267 |
+
"attention_dropout": 0.0,
|
268 |
+
"bos_token_id": 100257,
|
269 |
+
"embd_pdrop": 0.0,
|
270 |
+
"eos_token_id": 100265,
|
271 |
+
"hidden_act": "silu",
|
272 |
+
"hidden_size": 5120,
|
273 |
+
"initializer_range": 0.02,
|
274 |
+
"intermediate_size": 17920,
|
275 |
+
"max_position_embeddings": 16384,
|
276 |
+
"model_type": "phi3",
|
277 |
+
"num_attention_heads": 40,
|
278 |
+
"num_hidden_layers": 40,
|
279 |
+
"num_key_value_heads": 10,
|
280 |
+
"original_max_position_embeddings": 16384,
|
281 |
+
"pad_token_id": 100349,
|
282 |
+
"partial_rotary_factor": 1.0,
|
283 |
+
"resid_pdrop": 0.0,
|
284 |
+
"rms_norm_eps": 1e-05,
|
285 |
+
"rope_scaling": null,
|
286 |
+
"rope_theta": 250000,
|
287 |
+
"sliding_window": null,
|
288 |
+
"tie_word_embeddings": false,
|
289 |
+
"torch_dtype": "bfloat16",
|
290 |
+
"transformers_version": "4.50.0",
|
291 |
+
"use_cache": true,
|
292 |
+
"vocab_size": 100352
|
293 |
+
}
|
294 |
+
|
295 |
+
[2025-03-23 23:49:14,345][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-64] due to args.save_total_limit
|
296 |
+
[2025-03-23 23:49:14,390][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-96] due to args.save_total_limit
|
297 |
+
[2025-03-23 23:56:36,123][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, essay_text, supporting_text, prompt, grades, id_prompt. If id, reference, essay_year, essay_text, supporting_text, prompt, grades, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
|
298 |
+
[2025-03-23 23:56:36,126][transformers.trainer][INFO] -
|
299 |
+
***** Running Evaluation *****
|
300 |
+
[2025-03-23 23:56:36,126][transformers.trainer][INFO] - Num examples = 132
|
301 |
+
[2025-03-23 23:56:36,126][transformers.trainer][INFO] - Batch size = 16
|
302 |
+
[2025-03-23 23:57:03,856][transformers][INFO] - {'accuracy': 0.38636363636363635, 'RMSE': 50.81159495448044, 'QWK': 0.6200335153251527, 'HDIV': 0.0757575757575758, 'Macro_F1': 0.2967917478882391, 'Micro_F1': 0.38636363636363635, 'Weighted_F1': 0.3230093330970524, 'Macro_F1_(ignoring_nan)': np.float64(0.44518762183235866)}
|
303 |
+
[2025-03-23 23:57:03,857][tensorboardX.summary][INFO] - Summary name eval/Macro_F1_(ignoring_nan) is illegal; using eval/Macro_F1__ignoring_nan_ instead.
|
304 |
+
[2025-03-23 23:57:03,860][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-160
|
305 |
+
[2025-03-23 23:57:04,170][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/config.json
|
306 |
+
[2025-03-23 23:57:04,171][transformers.configuration_utils][INFO] - Model config Phi3Config {
|
307 |
+
"architectures": [
|
308 |
+
"Phi3ForCausalLM"
|
309 |
+
],
|
310 |
+
"attention_bias": false,
|
311 |
+
"attention_dropout": 0.0,
|
312 |
+
"bos_token_id": 100257,
|
313 |
+
"embd_pdrop": 0.0,
|
314 |
+
"eos_token_id": 100265,
|
315 |
+
"hidden_act": "silu",
|
316 |
+
"hidden_size": 5120,
|
317 |
+
"initializer_range": 0.02,
|
318 |
+
"intermediate_size": 17920,
|
319 |
+
"max_position_embeddings": 16384,
|
320 |
+
"model_type": "phi3",
|
321 |
+
"num_attention_heads": 40,
|
322 |
+
"num_hidden_layers": 40,
|
323 |
+
"num_key_value_heads": 10,
|
324 |
+
"original_max_position_embeddings": 16384,
|
325 |
+
"pad_token_id": 100349,
|
326 |
+
"partial_rotary_factor": 1.0,
|
327 |
+
"resid_pdrop": 0.0,
|
328 |
+
"rms_norm_eps": 1e-05,
|
329 |
+
"rope_scaling": null,
|
330 |
+
"rope_theta": 250000,
|
331 |
+
"sliding_window": null,
|
332 |
+
"tie_word_embeddings": false,
|
333 |
+
"torch_dtype": "bfloat16",
|
334 |
+
"transformers_version": "4.50.0",
|
335 |
+
"use_cache": true,
|
336 |
+
"vocab_size": 100352
|
337 |
+
}
|
338 |
+
|
339 |
+
[2025-03-23 23:57:04,948][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-128] due to args.save_total_limit
|
340 |
+
[2025-03-24 00:04:26,242][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, essay_text, supporting_text, prompt, grades, id_prompt. If id, reference, essay_year, essay_text, supporting_text, prompt, grades, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
|
341 |
+
[2025-03-24 00:04:26,244][transformers.trainer][INFO] -
|
342 |
+
***** Running Evaluation *****
|
343 |
+
[2025-03-24 00:04:26,244][transformers.trainer][INFO] - Num examples = 132
|
344 |
+
[2025-03-24 00:04:26,244][transformers.trainer][INFO] - Batch size = 16
|
345 |
+
[2025-03-24 00:04:54,063][transformers][INFO] - {'accuracy': 0.3409090909090909, 'RMSE': 63.3413073130103, 'QWK': 0.5011417610522471, 'HDIV': 0.16666666666666663, 'Macro_F1': 0.2601190476190476, 'Micro_F1': 0.3409090909090909, 'Weighted_F1': 0.2519480519480519, 'Macro_F1_(ignoring_nan)': np.float64(0.3121428571428571)}
|
346 |
+
[2025-03-24 00:04:54,064][tensorboardX.summary][INFO] - Summary name eval/Macro_F1_(ignoring_nan) is illegal; using eval/Macro_F1__ignoring_nan_ instead.
|
347 |
+
[2025-03-24 00:04:54,067][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-192
|
348 |
+
[2025-03-24 00:05:05,042][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/config.json
|
349 |
+
[2025-03-24 00:05:05,043][transformers.configuration_utils][INFO] - Model config Phi3Config {
|
350 |
+
"architectures": [
|
351 |
+
"Phi3ForCausalLM"
|
352 |
+
],
|
353 |
+
"attention_bias": false,
|
354 |
+
"attention_dropout": 0.0,
|
355 |
+
"bos_token_id": 100257,
|
356 |
+
"embd_pdrop": 0.0,
|
357 |
+
"eos_token_id": 100265,
|
358 |
+
"hidden_act": "silu",
|
359 |
+
"hidden_size": 5120,
|
360 |
+
"initializer_range": 0.02,
|
361 |
+
"intermediate_size": 17920,
|
362 |
+
"max_position_embeddings": 16384,
|
363 |
+
"model_type": "phi3",
|
364 |
+
"num_attention_heads": 40,
|
365 |
+
"num_hidden_layers": 40,
|
366 |
+
"num_key_value_heads": 10,
|
367 |
+
"original_max_position_embeddings": 16384,
|
368 |
+
"pad_token_id": 100349,
|
369 |
+
"partial_rotary_factor": 1.0,
|
370 |
+
"resid_pdrop": 0.0,
|
371 |
+
"rms_norm_eps": 1e-05,
|
372 |
+
"rope_scaling": null,
|
373 |
+
"rope_theta": 250000,
|
374 |
+
"sliding_window": null,
|
375 |
+
"tie_word_embeddings": false,
|
376 |
+
"torch_dtype": "bfloat16",
|
377 |
+
"transformers_version": "4.50.0",
|
378 |
+
"use_cache": true,
|
379 |
+
"vocab_size": 100352
|
380 |
+
}
|
381 |
+
|
382 |
+
[2025-03-24 00:12:26,477][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, essay_text, supporting_text, prompt, grades, id_prompt. If id, reference, essay_year, essay_text, supporting_text, prompt, grades, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
|
383 |
+
[2025-03-24 00:12:26,479][transformers.trainer][INFO] -
|
384 |
+
***** Running Evaluation *****
|
385 |
+
[2025-03-24 00:12:26,479][transformers.trainer][INFO] - Num examples = 132
|
386 |
+
[2025-03-24 00:12:26,479][transformers.trainer][INFO] - Batch size = 16
|
387 |
+
[2025-03-24 00:12:54,193][transformers][INFO] - {'accuracy': 0.3409090909090909, 'RMSE': 61.987290975039734, 'QWK': 0.517926267281106, 'HDIV': 0.15909090909090906, 'Macro_F1': 0.24659673516262667, 'Micro_F1': 0.3409090909090909, 'Weighted_F1': 0.2650430103918476, 'Macro_F1_(ignoring_nan)': np.float64(0.36989510274394)}
|
388 |
+
[2025-03-24 00:12:54,194][tensorboardX.summary][INFO] - Summary name eval/Macro_F1_(ignoring_nan) is illegal; using eval/Macro_F1__ignoring_nan_ instead.
|
389 |
+
[2025-03-24 00:12:54,197][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-224
|
390 |
+
[2025-03-24 00:12:54,509][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/config.json
|
391 |
+
[2025-03-24 00:12:54,510][transformers.configuration_utils][INFO] - Model config Phi3Config {
|
392 |
+
"architectures": [
|
393 |
+
"Phi3ForCausalLM"
|
394 |
+
],
|
395 |
+
"attention_bias": false,
|
396 |
+
"attention_dropout": 0.0,
|
397 |
+
"bos_token_id": 100257,
|
398 |
+
"embd_pdrop": 0.0,
|
399 |
+
"eos_token_id": 100265,
|
400 |
+
"hidden_act": "silu",
|
401 |
+
"hidden_size": 5120,
|
402 |
+
"initializer_range": 0.02,
|
403 |
+
"intermediate_size": 17920,
|
404 |
+
"max_position_embeddings": 16384,
|
405 |
+
"model_type": "phi3",
|
406 |
+
"num_attention_heads": 40,
|
407 |
+
"num_hidden_layers": 40,
|
408 |
+
"num_key_value_heads": 10,
|
409 |
+
"original_max_position_embeddings": 16384,
|
410 |
+
"pad_token_id": 100349,
|
411 |
+
"partial_rotary_factor": 1.0,
|
412 |
+
"resid_pdrop": 0.0,
|
413 |
+
"rms_norm_eps": 1e-05,
|
414 |
+
"rope_scaling": null,
|
415 |
+
"rope_theta": 250000,
|
416 |
+
"sliding_window": null,
|
417 |
+
"tie_word_embeddings": false,
|
418 |
+
"torch_dtype": "bfloat16",
|
419 |
+
"transformers_version": "4.50.0",
|
420 |
+
"use_cache": true,
|
421 |
+
"vocab_size": 100352
|
422 |
+
}
|
423 |
+
|
424 |
+
[2025-03-24 00:12:55,227][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-192] due to args.save_total_limit
|
425 |
+
[2025-03-24 00:20:16,667][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, essay_text, supporting_text, prompt, grades, id_prompt. If id, reference, essay_year, essay_text, supporting_text, prompt, grades, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
|
426 |
+
[2025-03-24 00:20:16,669][transformers.trainer][INFO] -
|
427 |
+
***** Running Evaluation *****
|
428 |
+
[2025-03-24 00:20:16,669][transformers.trainer][INFO] - Num examples = 132
|
429 |
+
[2025-03-24 00:20:16,669][transformers.trainer][INFO] - Batch size = 16
|
430 |
+
[2025-03-24 00:20:44,402][transformers][INFO] - {'accuracy': 0.4090909090909091, 'RMSE': 47.60952285695233, 'QWK': 0.5631150442477876, 'HDIV': 0.045454545454545414, 'Macro_F1': 0.3140257192676547, 'Micro_F1': 0.4090909090909091, 'Weighted_F1': 0.36155693816984147, 'Macro_F1_(ignoring_nan)': np.float64(0.3768308631211857)}
|
431 |
+
[2025-03-24 00:20:44,403][tensorboardX.summary][INFO] - Summary name eval/Macro_F1_(ignoring_nan) is illegal; using eval/Macro_F1__ignoring_nan_ instead.
|
432 |
+
[2025-03-24 00:20:44,406][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-256
|
433 |
+
[2025-03-24 00:20:44,706][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/config.json
|
434 |
+
[2025-03-24 00:20:44,707][transformers.configuration_utils][INFO] - Model config Phi3Config {
|
435 |
+
"architectures": [
|
436 |
+
"Phi3ForCausalLM"
|
437 |
+
],
|
438 |
+
"attention_bias": false,
|
439 |
+
"attention_dropout": 0.0,
|
440 |
+
"bos_token_id": 100257,
|
441 |
+
"embd_pdrop": 0.0,
|
442 |
+
"eos_token_id": 100265,
|
443 |
+
"hidden_act": "silu",
|
444 |
+
"hidden_size": 5120,
|
445 |
+
"initializer_range": 0.02,
|
446 |
+
"intermediate_size": 17920,
|
447 |
+
"max_position_embeddings": 16384,
|
448 |
+
"model_type": "phi3",
|
449 |
+
"num_attention_heads": 40,
|
450 |
+
"num_hidden_layers": 40,
|
451 |
+
"num_key_value_heads": 10,
|
452 |
+
"original_max_position_embeddings": 16384,
|
453 |
+
"pad_token_id": 100349,
|
454 |
+
"partial_rotary_factor": 1.0,
|
455 |
+
"resid_pdrop": 0.0,
|
456 |
+
"rms_norm_eps": 1e-05,
|
457 |
+
"rope_scaling": null,
|
458 |
+
"rope_theta": 250000,
|
459 |
+
"sliding_window": null,
|
460 |
+
"tie_word_embeddings": false,
|
461 |
+
"torch_dtype": "bfloat16",
|
462 |
+
"transformers_version": "4.50.0",
|
463 |
+
"use_cache": true,
|
464 |
+
"vocab_size": 100352
|
465 |
+
}
|
466 |
+
|
467 |
+
[2025-03-24 00:20:45,443][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-224] due to args.save_total_limit
|
468 |
+
[2025-03-24 00:28:06,290][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, essay_text, supporting_text, prompt, grades, id_prompt. If id, reference, essay_year, essay_text, supporting_text, prompt, grades, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
|
469 |
+
[2025-03-24 00:28:06,292][transformers.trainer][INFO] -
|
470 |
+
***** Running Evaluation *****
|
471 |
+
[2025-03-24 00:28:06,292][transformers.trainer][INFO] - Num examples = 132
|
472 |
+
[2025-03-24 00:28:06,292][transformers.trainer][INFO] - Batch size = 16
|
473 |
+
[2025-03-24 00:28:34,075][transformers][INFO] - {'accuracy': 0.3333333333333333, 'RMSE': 57.52469825293227, 'QWK': 0.5462832393231265, 'HDIV': 0.11363636363636365, 'Macro_F1': 0.2698364410228817, 'Micro_F1': 0.3333333333333333, 'Weighted_F1': 0.29051889729855834, 'Macro_F1_(ignoring_nan)': np.float64(0.32380372922745804)}
|
474 |
+
[2025-03-24 00:28:34,075][tensorboardX.summary][INFO] - Summary name eval/Macro_F1_(ignoring_nan) is illegal; using eval/Macro_F1__ignoring_nan_ instead.
|
475 |
+
[2025-03-24 00:28:34,077][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-288
|
476 |
+
[2025-03-24 00:28:34,585][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/config.json
|
477 |
+
[2025-03-24 00:28:34,586][transformers.configuration_utils][INFO] - Model config Phi3Config {
|
478 |
+
"architectures": [
|
479 |
+
"Phi3ForCausalLM"
|
480 |
+
],
|
481 |
+
"attention_bias": false,
|
482 |
+
"attention_dropout": 0.0,
|
483 |
+
"bos_token_id": 100257,
|
484 |
+
"embd_pdrop": 0.0,
|
485 |
+
"eos_token_id": 100265,
|
486 |
+
"hidden_act": "silu",
|
487 |
+
"hidden_size": 5120,
|
488 |
+
"initializer_range": 0.02,
|
489 |
+
"intermediate_size": 17920,
|
490 |
+
"max_position_embeddings": 16384,
|
491 |
+
"model_type": "phi3",
|
492 |
+
"num_attention_heads": 40,
|
493 |
+
"num_hidden_layers": 40,
|
494 |
+
"num_key_value_heads": 10,
|
495 |
+
"original_max_position_embeddings": 16384,
|
496 |
+
"pad_token_id": 100349,
|
497 |
+
"partial_rotary_factor": 1.0,
|
498 |
+
"resid_pdrop": 0.0,
|
499 |
+
"rms_norm_eps": 1e-05,
|
500 |
+
"rope_scaling": null,
|
501 |
+
"rope_theta": 250000,
|
502 |
+
"sliding_window": null,
|
503 |
+
"tie_word_embeddings": false,
|
504 |
+
"torch_dtype": "bfloat16",
|
505 |
+
"transformers_version": "4.50.0",
|
506 |
+
"use_cache": true,
|
507 |
+
"vocab_size": 100352
|
508 |
+
}
|
509 |
+
|
510 |
+
[2025-03-24 00:28:35,556][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-256] due to args.save_total_limit
|
511 |
+
[2025-03-24 00:35:57,242][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, essay_text, supporting_text, prompt, grades, id_prompt. If id, reference, essay_year, essay_text, supporting_text, prompt, grades, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
|
512 |
+
[2025-03-24 00:35:57,244][transformers.trainer][INFO] -
|
513 |
+
***** Running Evaluation *****
|
514 |
+
[2025-03-24 00:35:57,244][transformers.trainer][INFO] - Num examples = 132
|
515 |
+
[2025-03-24 00:35:57,244][transformers.trainer][INFO] - Batch size = 16
|
516 |
+
[2025-03-24 00:36:24,886][transformers][INFO] - {'accuracy': 0.3560606060606061, 'RMSE': 55.37749241945383, 'QWK': 0.5304010349288486, 'HDIV': 0.0757575757575758, 'Macro_F1': 0.3200910987796234, 'Micro_F1': 0.3560606060606061, 'Weighted_F1': 0.36146696131793, 'Macro_F1_(ignoring_nan)': np.float64(0.3200910987796234)}
|
517 |
+
[2025-03-24 00:36:24,887][tensorboardX.summary][INFO] - Summary name eval/Macro_F1_(ignoring_nan) is illegal; using eval/Macro_F1__ignoring_nan_ instead.
|
518 |
+
[2025-03-24 00:36:24,890][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-320
|
519 |
+
[2025-03-24 00:36:25,182][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/config.json
|
520 |
+
[2025-03-24 00:36:25,182][transformers.configuration_utils][INFO] - Model config Phi3Config {
|
521 |
+
"architectures": [
|
522 |
+
"Phi3ForCausalLM"
|
523 |
+
],
|
524 |
+
"attention_bias": false,
|
525 |
+
"attention_dropout": 0.0,
|
526 |
+
"bos_token_id": 100257,
|
527 |
+
"embd_pdrop": 0.0,
|
528 |
+
"eos_token_id": 100265,
|
529 |
+
"hidden_act": "silu",
|
530 |
+
"hidden_size": 5120,
|
531 |
+
"initializer_range": 0.02,
|
532 |
+
"intermediate_size": 17920,
|
533 |
+
"max_position_embeddings": 16384,
|
534 |
+
"model_type": "phi3",
|
535 |
+
"num_attention_heads": 40,
|
536 |
+
"num_hidden_layers": 40,
|
537 |
+
"num_key_value_heads": 10,
|
538 |
+
"original_max_position_embeddings": 16384,
|
539 |
+
"pad_token_id": 100349,
|
540 |
+
"partial_rotary_factor": 1.0,
|
541 |
+
"resid_pdrop": 0.0,
|
542 |
+
"rms_norm_eps": 1e-05,
|
543 |
+
"rope_scaling": null,
|
544 |
+
"rope_theta": 250000,
|
545 |
+
"sliding_window": null,
|
546 |
+
"tie_word_embeddings": false,
|
547 |
+
"torch_dtype": "bfloat16",
|
548 |
+
"transformers_version": "4.50.0",
|
549 |
+
"use_cache": true,
|
550 |
+
"vocab_size": 100352
|
551 |
+
}
|
552 |
+
|
553 |
+
[2025-03-24 00:36:25,925][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-288] due to args.save_total_limit
|
554 |
+
[2025-03-24 00:36:25,966][transformers.trainer][INFO] -
|
555 |
+
|
556 |
+
Training completed. Do not forget to share your model on huggingface.co/models =)
|
557 |
+
|
558 |
+
|
559 |
+
[2025-03-24 00:36:25,966][transformers.trainer][INFO] - Loading best model from /workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-160 (score: 0.6200335153251527).
|
560 |
+
[2025-03-24 00:36:26,125][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-03-23/23-16-55/results/phi4-balanced/C5/checkpoint-320] due to args.save_total_limit
|
561 |
+
[2025-03-24 00:36:26,228][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, essay_text, supporting_text, prompt, grades, id_prompt. If id, reference, essay_year, essay_text, supporting_text, prompt, grades, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
|
562 |
+
[2025-03-24 00:36:26,230][transformers.trainer][INFO] -
|
563 |
+
***** Running Evaluation *****
|
564 |
+
[2025-03-24 00:36:26,230][transformers.trainer][INFO] - Num examples = 132
|
565 |
+
[2025-03-24 00:36:26,230][transformers.trainer][INFO] - Batch size = 16
|
566 |
+
[2025-03-24 00:36:53,892][transformers][INFO] - {'accuracy': 0.38636363636363635, 'RMSE': 50.81159495448044, 'QWK': 0.6200335153251527, 'HDIV': 0.0757575757575758, 'Macro_F1': 0.2967917478882391, 'Micro_F1': 0.38636363636363635, 'Weighted_F1': 0.3230093330970524, 'Macro_F1_(ignoring_nan)': np.float64(0.44518762183235866)}
|
567 |
+
[2025-03-24 00:36:53,894][tensorboardX.summary][INFO] - Summary name eval/Macro_F1_(ignoring_nan) is illegal; using eval/Macro_F1__ignoring_nan_ instead.
|
568 |
+
[2025-03-24 00:36:53,896][__main__][INFO] - Training completed successfully.
|
569 |
+
[2025-03-24 00:36:53,896][__main__][INFO] - Running on Test
|
570 |
+
[2025-03-24 00:36:53,896][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, essay_text, supporting_text, prompt, grades, id_prompt. If id, reference, essay_year, essay_text, supporting_text, prompt, grades, id_prompt are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message.
|
571 |
+
[2025-03-24 00:36:53,898][transformers.trainer][INFO] -
|
572 |
+
***** Running Evaluation *****
|
573 |
+
[2025-03-24 00:36:53,898][transformers.trainer][INFO] - Num examples = 138
|
574 |
+
[2025-03-24 00:36:53,898][transformers.trainer][INFO] - Batch size = 16
|
575 |
+
[2025-03-24 00:37:23,490][transformers][INFO] - {'accuracy': 0.3115942028985507, 'RMSE': 60.91095901015048, 'QWK': 0.45744053469628465, 'HDIV': 0.1376811594202898, 'Macro_F1': 0.18965878221692178, 'Micro_F1': 0.3115942028985507, 'Weighted_F1': 0.24393006835878425, 'Macro_F1_(ignoring_nan)': np.float64(0.2844881733253827)}
|
576 |
+
[2025-03-24 00:37:23,491][tensorboardX.summary][INFO] - Summary name eval/Macro_F1_(ignoring_nan) is illegal; using eval/Macro_F1__ignoring_nan_ instead.
|
577 |
+
[2025-03-24 00:37:23,493][transformers.trainer][INFO] - Saving model checkpoint to ./results/phi4-balanced/C5/best_model
|
578 |
+
[2025-03-24 00:37:23,784][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-4/snapshots/187ef0342fff0eb3333be9f00389385e95ef0b61/config.json
|
579 |
+
[2025-03-24 00:37:23,785][transformers.configuration_utils][INFO] - Model config Phi3Config {
|
580 |
+
"architectures": [
|
581 |
+
"Phi3ForCausalLM"
|
582 |
+
],
|
583 |
+
"attention_bias": false,
|
584 |
+
"attention_dropout": 0.0,
|
585 |
+
"bos_token_id": 100257,
|
586 |
+
"embd_pdrop": 0.0,
|
587 |
+
"eos_token_id": 100265,
|
588 |
+
"hidden_act": "silu",
|
589 |
+
"hidden_size": 5120,
|
590 |
+
"initializer_range": 0.02,
|
591 |
+
"intermediate_size": 17920,
|
592 |
+
"max_position_embeddings": 16384,
|
593 |
+
"model_type": "phi3",
|
594 |
+
"num_attention_heads": 40,
|
595 |
+
"num_hidden_layers": 40,
|
596 |
+
"num_key_value_heads": 10,
|
597 |
+
"original_max_position_embeddings": 16384,
|
598 |
+
"pad_token_id": 100349,
|
599 |
+
"partial_rotary_factor": 1.0,
|
600 |
+
"resid_pdrop": 0.0,
|
601 |
+
"rms_norm_eps": 1e-05,
|
602 |
+
"rope_scaling": null,
|
603 |
+
"rope_theta": 250000,
|
604 |
+
"sliding_window": null,
|
605 |
+
"tie_word_embeddings": false,
|
606 |
+
"torch_dtype": "bfloat16",
|
607 |
+
"transformers_version": "4.50.0",
|
608 |
+
"use_cache": true,
|
609 |
+
"vocab_size": 100352
|
610 |
+
}
|
611 |
+
|
612 |
+
[2025-03-24 00:37:24,325][__main__][INFO] - Fine Tuning Finished.
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:065a3a3921f47d4e57a31b01366a43217b1088a41873fc71333a4fb6fd3ff598
|
3 |
+
size 5432
|