Instructions to use kamel-usp/jbcs2025_Llama-3.1-8B-llama31_classification_lora-C5-full_context-r16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kamel-usp/jbcs2025_Llama-3.1-8B-llama31_classification_lora-C5-full_context-r16 with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("meta-llama/Llama-3.1-8B") model = PeftModel.from_pretrained(base_model, "kamel-usp/jbcs2025_Llama-3.1-8B-llama31_classification_lora-C5-full_context-r16") - Notebooks
- Google Colab
- Kaggle
Download run_experiment.log from kamel-usp/jbcs2025_Llama-3.1-8B-llama31_classification_lora-C5-full_context-r16: direct link, hf CLI and curl.
- Browser
- Download file 45.1 kB
-
https://huggingface.co/kamel-usp/jbcs2025_Llama-3.1-8B-llama31_classification_lora-C5-full_context-r16/resolve/main/run_experiment.log
- Command line
-
hf download hf://kamel-usp/jbcs2025_Llama-3.1-8B-llama31_classification_lora-C5-full_context-r16/run_experiment.log
-
curl -L -o run_experiment.log https://huggingface.co/kamel-usp/jbcs2025_Llama-3.1-8B-llama31_classification_lora-C5-full_context-r16/resolve/main/run_experiment.log
45.1 kB
| [2025-07-05 18:41:07,041][__main__][INFO] - cache_dir: /tmp/ | |
| dataset: | |
| name: kamel-usp/aes_enem_dataset | |
| split: JBCS2025 | |
| training_params: | |
| seed: 42 | |
| num_train_epochs: 20 | |
| logging_steps: 100 | |
| metric_for_best_model: QWK | |
| bf16: true | |
| bootstrap: | |
| enabled: true | |
| n_bootstrap: 10000 | |
| bootstrap_seed: 42 | |
| metrics: | |
| - QWK | |
| - Macro_F1 | |
| - Weighted_F1 | |
| post_training_results: | |
| model_path: /workspace/jbcs2025/outputs/2025-03-24/20-42-59 | |
| experiments: | |
| model: | |
| name: meta-llama/Llama-3.1-8B | |
| type: llama31_classification_lora | |
| num_labels: 6 | |
| output_dir: ./results/llama31-8b-balanced/C5 | |
| logging_dir: ./logs/llama31-8b-balanced/C5 | |
| best_model_dir: ./results/llama31-8b-balanced/C5/best_model | |
| lora_r: 16 | |
| lora_dropout: 0.1 | |
| lora_alpha: 32 | |
| lora_target_modules: all-linear | |
| tokenizer: | |
| name: meta-llama/Llama-3.1-8B | |
| dataset: | |
| grade_index: 4 | |
| use_full_context: true | |
| training_params: | |
| weight_decay: 0.01 | |
| warmup_ratio: 0.1 | |
| learning_rate: 5.0e-05 | |
| train_batch_size: 8 | |
| eval_batch_size: 4 | |
| gradient_accumulation_steps: 2 | |
| gradient_checkpointing: true | |
| [2025-07-05 18:41:10,949][__main__][INFO] - GPU 0: NVIDIA H200 | TDP ≈ 700 W | |
| [2025-07-05 18:41:10,950][__main__][INFO] - Starting the Fine Tuning training process. | |
| [2025-07-05 18:41:15,349][transformers.tokenization_utils_base][INFO] - loading file tokenizer.json from cache at /tmp/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/tokenizer.json | |
| [2025-07-05 18:41:15,349][transformers.tokenization_utils_base][INFO] - loading file tokenizer.model from cache at None | |
| [2025-07-05 18:41:15,349][transformers.tokenization_utils_base][INFO] - loading file added_tokens.json from cache at None | |
| [2025-07-05 18:41:15,349][transformers.tokenization_utils_base][INFO] - loading file special_tokens_map.json from cache at /tmp/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/special_tokens_map.json | |
| [2025-07-05 18:41:15,349][transformers.tokenization_utils_base][INFO] - loading file tokenizer_config.json from cache at /tmp/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/tokenizer_config.json | |
| [2025-07-05 18:41:15,349][transformers.tokenization_utils_base][INFO] - loading file chat_template.jinja from cache at None | |
| [2025-07-05 18:41:15,620][transformers.tokenization_utils_base][INFO] - Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained. | |
| [2025-07-05 18:41:15,625][__main__][INFO] - Tokenizer function parameters- Padding:longest; Truncation: False; Use Full Context: True | |
| [2025-07-05 18:41:16,246][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /tmp/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 18:41:16,248][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1", | |
| "2": "LABEL_2", | |
| "3": "LABEL_3", | |
| "4": "LABEL_4", | |
| "5": "LABEL_5" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1, | |
| "LABEL_2": 2, | |
| "LABEL_3": 3, | |
| "LABEL_4": 4, | |
| "LABEL_5": 5 | |
| }, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 18:41:16,379][transformers.modeling_utils][INFO] - loading weights file model.safetensors from cache at /tmp/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/model.safetensors.index.json | |
| [2025-07-05 18:41:16,379][transformers.modeling_utils][INFO] - Will use torch_dtype=torch.bfloat16 as defined in model's config object | |
| [2025-07-05 18:41:16,379][transformers.modeling_utils][INFO] - Instantiating LlamaForSequenceClassification model under default dtype torch.bfloat16. | |
| [2025-07-05 18:41:28,919][transformers.modeling_utils][INFO] - Some weights of the model checkpoint at meta-llama/Llama-3.1-8B were not used when initializing LlamaForSequenceClassification: ['lm_head.weight'] | |
| - This IS expected if you are initializing LlamaForSequenceClassification from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model). | |
| - This IS NOT expected if you are initializing LlamaForSequenceClassification from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model). | |
| [2025-07-05 18:41:28,919][transformers.modeling_utils][WARNING] - Some weights of LlamaForSequenceClassification were not initialized from the model checkpoint at meta-llama/Llama-3.1-8B and are newly initialized: ['score.weight'] | |
| You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference. | |
| [2025-07-05 18:41:30,774][__main__][INFO] - Initialized new PEFT model for ce loss | |
| [2025-07-05 18:41:30,777][__main__][INFO] - None | |
| [2025-07-05 18:41:30,778][transformers.training_args][INFO] - PyTorch: setting up devices | |
| [2025-07-05 18:41:30,815][__main__][INFO] - Total steps: 620. Number of warmup steps: 62 | |
| [2025-07-05 18:41:30,822][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. | |
| [2025-07-05 18:41:30,854][transformers.trainer][INFO] - Using auto half precision backend | |
| [2025-07-05 18:41:30,854][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. | |
| [2025-07-05 18:41:30,856][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 18:41:30,872][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 18:41:30,872][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 18:41:30,872][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 18:41:54,656][transformers.trainer][INFO] - The following columns in the Training set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 18:41:54,708][transformers.trainer][INFO] - ***** Running training ***** | |
| [2025-07-05 18:41:54,708][transformers.trainer][INFO] - Num examples = 500 | |
| [2025-07-05 18:41:54,708][transformers.trainer][INFO] - Num Epochs = 20 | |
| [2025-07-05 18:41:54,708][transformers.trainer][INFO] - Instantaneous batch size per device = 8 | |
| [2025-07-05 18:41:54,708][transformers.trainer][INFO] - Total train batch size (w. parallel, distributed & accumulation) = 16 | |
| [2025-07-05 18:41:54,708][transformers.trainer][INFO] - Gradient Accumulation steps = 2 | |
| [2025-07-05 18:41:54,708][transformers.trainer][INFO] - Total optimization steps = 640 | |
| [2025-07-05 18:41:54,711][transformers.trainer][INFO] - Number of trainable parameters = 41,967,616 | |
| [2025-07-05 18:41:54,798][transformers.models.llama.modeling_llama][WARNING] - `use_cache=True` is incompatible with gradient checkpointing. Setting `use_cache=False`. | |
| [2025-07-05 18:46:55,568][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 18:46:55,572][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 18:46:55,572][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 18:46:55,572][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 18:47:19,040][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-32 | |
| [2025-07-05 18:47:19,373][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 18:47:19,374][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 18:52:21,119][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 18:52:21,123][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 18:52:21,123][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 18:52:21,123][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 18:52:44,559][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-64 | |
| [2025-07-05 18:52:44,926][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 18:52:44,926][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 18:57:46,479][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 18:57:46,483][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 18:57:46,483][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 18:57:46,483][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 18:58:09,916][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-96 | |
| [2025-07-05 18:58:10,246][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 18:58:10,247][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 18:58:11,092][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-64] due to args.save_total_limit | |
| [2025-07-05 19:03:11,880][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 19:03:11,884][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 19:03:11,884][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 19:03:11,884][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 19:03:35,319][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-128 | |
| [2025-07-05 19:03:35,681][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 19:03:35,682][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 19:03:36,479][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-32] due to args.save_total_limit | |
| [2025-07-05 19:03:36,512][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-96] due to args.save_total_limit | |
| [2025-07-05 19:08:37,227][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 19:08:37,231][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 19:08:37,231][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 19:08:37,231][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 19:09:00,665][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-160 | |
| [2025-07-05 19:09:01,172][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 19:09:01,172][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 19:14:02,802][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 19:14:02,806][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 19:14:02,806][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 19:14:02,806][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 19:14:26,246][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-192 | |
| [2025-07-05 19:14:26,598][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 19:14:26,599][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 19:14:27,365][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-128] due to args.save_total_limit | |
| [2025-07-05 19:14:27,394][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-160] due to args.save_total_limit | |
| [2025-07-05 19:19:28,195][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 19:19:28,199][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 19:19:28,199][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 19:19:28,199][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 19:19:51,638][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-224 | |
| [2025-07-05 19:19:51,961][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 19:19:51,961][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 19:24:53,360][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 19:24:53,363][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 19:24:53,364][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 19:24:53,364][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 19:25:16,807][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-256 | |
| [2025-07-05 19:25:17,304][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 19:25:17,305][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 19:25:18,078][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-224] due to args.save_total_limit | |
| [2025-07-05 19:30:18,849][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 19:30:18,853][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 19:30:18,853][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 19:30:18,853][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 19:30:42,305][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-288 | |
| [2025-07-05 19:30:42,632][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 19:30:42,633][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 19:30:43,475][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-192] due to args.save_total_limit | |
| [2025-07-05 19:30:43,504][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-256] due to args.save_total_limit | |
| [2025-07-05 19:35:44,138][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 19:35:44,142][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 19:35:44,142][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 19:35:44,142][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 19:36:07,584][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-320 | |
| [2025-07-05 19:36:07,923][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 19:36:07,923][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 19:41:09,310][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 19:41:09,314][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 19:41:09,314][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 19:41:09,314][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 19:41:32,741][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-352 | |
| [2025-07-05 19:41:33,092][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 19:41:33,093][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 19:41:33,781][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-320] due to args.save_total_limit | |
| [2025-07-05 19:46:34,382][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 19:46:34,385][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 19:46:34,386][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 19:46:34,386][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 19:46:57,824][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-384 | |
| [2025-07-05 19:46:58,163][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 19:46:58,164][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 19:46:58,887][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-352] due to args.save_total_limit | |
| [2025-07-05 19:51:59,436][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 19:51:59,440][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 19:51:59,440][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 19:51:59,440][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 19:52:22,875][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-416 | |
| [2025-07-05 19:52:23,195][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 19:52:23,196][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 19:52:23,906][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-384] due to args.save_total_limit | |
| [2025-07-05 19:57:24,602][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 19:57:24,606][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 19:57:24,606][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 19:57:24,606][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 19:57:48,050][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-448 | |
| [2025-07-05 19:57:48,364][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 19:57:48,365][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 19:57:49,177][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-416] due to args.save_total_limit | |
| [2025-07-05 19:57:49,208][transformers.trainer][INFO] - | |
| Training completed. Do not forget to share your model on huggingface.co/models =) | |
| [2025-07-05 19:57:49,208][transformers.trainer][INFO] - Loading best model from /workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-288 (score: 0.33846248160863157). | |
| [2025-07-05 19:57:49,460][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-05/18-41-07/results/llama31-8b-balanced/C5/checkpoint-448] due to args.save_total_limit | |
| [2025-07-05 19:57:49,495][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 19:57:49,498][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 19:57:49,498][transformers.trainer][INFO] - Num examples = 132 | |
| [2025-07-05 19:57:49,498][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 19:58:12,915][__main__][INFO] - Training completed successfully. | |
| [2025-07-05 19:58:12,915][__main__][INFO] - Running on Test | |
| [2025-07-05 19:58:12,915][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `PeftModelForSequenceClassification.forward` and have been ignored: essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text. If essay_text, id_prompt, prompt, reference, id, grades, essay_year, supporting_text are not expected by `PeftModelForSequenceClassification.forward`, you can safely ignore this message. | |
| [2025-07-05 19:58:12,919][transformers.trainer][INFO] - | |
| ***** Running Evaluation ***** | |
| [2025-07-05 19:58:12,919][transformers.trainer][INFO] - Num examples = 138 | |
| [2025-07-05 19:58:12,919][transformers.trainer][INFO] - Batch size = 4 | |
| [2025-07-05 19:58:37,911][__main__][INFO] - Test metrics: {'eval_loss': 1.9958173036575317, 'eval_model_preparation_time': 0.012, 'eval_accuracy': 0.2536231884057971, 'eval_RMSE': 76.59416862050705, 'eval_QWK': 0.19154355578196658, 'eval_HDIV': 0.21014492753623193, 'eval_Macro_F1': 0.2486268413650159, 'eval_Micro_F1': 0.2536231884057971, 'eval_Weighted_F1': 0.21634369357626318, 'eval_TP_0': 11, 'eval_TN_0': 89, 'eval_FP_0': 27, 'eval_FN_0': 11, 'eval_TP_1': 0, 'eval_TN_1': 104, 'eval_FP_1': 2, 'eval_FN_1': 32, 'eval_TP_2': 2, 'eval_TN_2': 102, 'eval_FP_2': 12, 'eval_FN_2': 22, 'eval_TP_3': 10, 'eval_TN_3': 69, 'eval_FP_3': 44, 'eval_FN_3': 15, 'eval_TP_4': 11, 'eval_TN_4': 89, 'eval_FP_4': 17, 'eval_FN_4': 21, 'eval_TP_5': 1, 'eval_TN_5': 134, 'eval_FP_5': 1, 'eval_FN_5': 2, 'eval_runtime': 24.9801, 'eval_samples_per_second': 5.524, 'eval_steps_per_second': 1.401, 'epoch': 14.0} | |
| [2025-07-05 19:58:37,911][transformers.trainer][INFO] - Saving model checkpoint to ./results/llama31-8b-balanced/C5/best_model | |
| [2025-07-05 19:58:38,284][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /workspace/.hf_home/hub/models--meta-llama--Llama-3.1-8B/snapshots/d04e592bb4f6aa9cfee91e2e20afa771667e1d4b/config.json | |
| [2025-07-05 19:58:38,284][transformers.configuration_utils][INFO] - Model config LlamaConfig { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.53.0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } | |
| [2025-07-05 19:58:38,699][transformers.tokenization_utils_base][INFO] - tokenizer config file saved in ./results/llama31-8b-balanced/C5/best_model/tokenizer_config.json | |
| [2025-07-05 19:58:38,699][transformers.tokenization_utils_base][INFO] - Special tokens file saved in ./results/llama31-8b-balanced/C5/best_model/special_tokens_map.json | |
| [2025-07-05 19:58:38,826][__main__][INFO] - Model and tokenizer saved to ./results/llama31-8b-balanced/C5/best_model | |
| [2025-07-05 19:58:38,855][__main__][INFO] - Fine Tuning Finished. | |
| [2025-07-05 19:58:39,365][__main__][INFO] - Total emissions: 0.0593 kg CO2eq | |