From b2a14fc3762e42571e865f93187d652222ef0647 Mon Sep 17 00:00:00 2001 From: jfrery Date: Tue, 17 Dec 2024 17:35:32 +0100 Subject: [PATCH] dd --- use_case_examples/lora_finetuning/eval.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/use_case_examples/lora_finetuning/eval.py b/use_case_examples/lora_finetuning/eval.py index da47ce6e4..dd15e1453 100644 --- a/use_case_examples/lora_finetuning/eval.py +++ b/use_case_examples/lora_finetuning/eval.py @@ -125,12 +125,9 @@ def processed(example): warmup_steps=10, weight_decay=0.01, prediction_loss_only=True, - logging_steps=50, # evaluation_strategy is handled by LoraTrainer, not HuggingFace Trainer report_to="none", ) - - # Define a causal LM loss function def causal_lm_loss(logits, labels, ignore_index=-100): shift_logits = logits[..., :-1, :].contiguous()