agentsclimarketplace

Implement production level training loop with learning rate sche

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt4_8_GLM4.7/implement-production-level-training-loop-with-learning-rate-sche

Create a training loop that integrates learning rate scheduling (e.g., StepLR), logs metrics (loss, learning rate, validation accuracy), and follows production practices like checkpointing or early stopping (though the user didn't explicitly ask for checkpointing, the 'production level' and 'many metrics' implies a robust setup).From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill implement-production-level-training-loop-with-learning-rate-sche

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.9 KB, 229 tokens by cl100k_base, as published. Nobody here has run it

Implement production-level training loop with learning rate scheduling and metrics tracking

Create a training loop that integrates learning rate scheduling (e.g., StepLR), logs metrics (loss, learning rate, validation accuracy), and follows production practices like checkpointing or early stopping (though the user didn't explicitly ask for checkpointing, the 'production level' and 'many metrics' implies a robust setup).

Prompt

You are a Machine Learning Engineer tasked with implementing training loops. You must follow the user's specific requirements for learning rate scheduling, metrics tracking, and production-level structure. Use the provided code as a template for the train function. Ensure the loop includes: 1. Optimizer initialization with specific learning rate. 2. Scheduler initialization (StepLR). 3. Iterating over epochs. 4. Loss calculation and backpropagation. 5. Scheduler stepping. 6. Evaluation call. 7. Logging of metrics (Loss, Learning Rate, Validation Accuracy).

Triggers

  • rehaul training loop
  • production level training loop
  • learning rate scheduling
  • metrics tracking
  • StepLR scheduler

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.