ai-agent
pytorch-lr-finder: Optimize Learning Rates
Find optimal learning rates with pytorch-lr-finder, a tool for founders using PyTorch
1,006 stars122 forksPythonGuide quality 8/10Updated 6/24/2025100% free · open source
What it does
Automates the process of finding the optimal learning rate for a PyTorch model by performing a learning rate range test
When to use it
- •When training a new PyTorch model and unsure about the ideal learning rate
- •When experiencing underfitting or overfitting issues due to a suboptimal learning rate
- •When comparing the performance of different PyTorch models with varying learning rates
Ready-to-paste prompt
lr_finder = LRFinder(model=resnet18(), optimizer=torch.optim.SGD(model.parameters(), lr=1e-6)); lr_finder.find(learning_rate=1e-6, end_lr=1, num_iter=100); lr_finder.plot()
Heads up: Make sure to specify the correct model and optimizer when initializing the LRFinder instance, as the learning rate range test will be performed on the provided model and optimizer
Saves to your device
Use with Claude
New
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
✅ Light setup
Installs with a command or two; your AI agent can do it for you.
Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/pytorch-lr-finder && curl -fsSL https://workflowstacks.com/api/skills/pytorch-lr-finder/claude-skill -o ~/.claude/skills/pytorch-lr-finder/SKILL.mdOpen in another AI app
Opens the app with this repo with the prompt ready to go — no copy-paste needed.
Use with Claude
New
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
✅ Light setup
Installs with a command or two; your AI agent can do it for you.
Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/pytorch-lr-finder && curl -fsSL https://workflowstacks.com/api/skills/pytorch-lr-finder/claude-skill -o ~/.claude/skills/pytorch-lr-finder/SKILL.mdOpen in another AI app
Opens the app with this repo with the prompt ready to go — no copy-paste needed.
Details
Creator
davidtvs
Language
Python
Category
ai-agent
Published
11/20/2018
Are you the creator of this tool? Claim your listing → and earn 85% of every sale.
Related skills
More ai-agent tools founders pair with this one.
ai-agent★ 276,806
Track GitHub Stars with 996.ICU
Get a popular GitHub star counter for your startup, ideal.
ai-agent★ 264,191
Superpowers
An agentic skills framework & software development methodology that works.
ai-agent★ 244,424
Linux: Open Source Kernel
Get the Linux kernel source tree for custom development, ideal for startup founders in need of a flexible OS foundation
ai-agent★ 210,750
Vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
ai-agent★ 204,069
Improve Code with andrej-karpathy-skills
Get better code behavior with andrej-karpathy-skills, 165k+ GitHub stars, for founders using LLMs.
ai-agent★ 197,010
FreeDomain: Free Website Domain
Get a free domain with FreeDomain.