HW-202337458-trainer-callback

Assignment

06์›” 04์ผ Trainer Callback ๊ตฌํ˜„ ๊ณผ์ œ์ž…๋‹ˆ๋‹ค.

Student

  • Student ID: 202337458
  • Hugging Face ID: hf-june

Selected Option

Option 1: Continuous training

Contents

  • Custom TrainerCallback ๊ตฌํ˜„
  • IMDB ๋ฐ์ดํ„ฐ์…‹ ๊ธฐ์ค€ ๊ตฌํ˜„
  • 1์ฐจ ํ•™์Šต ํ›„ ์ฒดํฌํฌ์ธํŠธ ์ €์žฅ
  • ์ฒดํฌํฌ์ธํŠธ์—์„œ Optimizer์™€ Scheduler ์ƒํƒœ๋ฅผ ์œ ์ง€ํ•˜๋ฉฐ ์ด์–ด์„œ ํ•™์Šต
  • ๋กœ๊ทธ๋ฅผ JSON/CSV๋กœ ์ €์žฅ
  • ํ•™์Šต ๋กœ๊ทธ๋ฅผ ์—ฐ์†๋œ ๊ทธ๋ž˜ํ”„๋กœ ์‹œ๊ฐํ™”

Files

  • trainer_callback_option1_executed.ipynb
  • trainer_callback.py
  • callback_logs.json
  • callback_logs.csv
  • final_metrics.json
  • continuous_loss_curve.png
  • continuous_metric_curve.png
  • README.md

Output Directory

/content/drive/MyDrive/trainer_callback_outputs/20260610_144840

Final Metrics

{
  "eval_loss": 0.5539242029190063,
  "eval_accuracy": 0.736,
  "eval_precision": 0.7435897435897436,
  "eval_recall": 0.7073170731707317,
  "eval_f1": 0.725,
  "eval_runtime": 243.0385,
  "eval_samples_per_second": 2.057,
  "eval_steps_per_second": 0.259,
  "epoch": 0.32
}

Note

The vertical line at step 40 means the resume point from checkpoint.

Created At

2026-06-10 15:27:50

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support