e06fe8e8c6
Self-hosted runner (benchmark) / Benchmark (aws-g5-4xlarge-cache) (push) Waiting to run
New model PR merged notification / Notify new model (push) Waiting to run
Update Transformers metadata / build_and_package (push) Waiting to run
Secret Leaks / trufflehog (push) Failing after 1s
Build documentation / build (push) Failing after 1s
Build documentation / build_other_lang (push) Failing after 0s
CodeQL Security Analysis / CodeQL Analysis (push) Failing after 0s
PR CI / pr-ci (push) Failing after 1s
Slow tests on important models (on Push - A10) / Get all modified files (push) Failing after 1s
Slow tests on important models (on Push - A10) / Model CI (push) Has been skipped
1.9 KiB
1.9 KiB
Optimization
.optimization 模块提供了:
- 一个带有固定权重衰减的优化器,可用于微调模型
- 继承自
_LRSchedule多个调度器: - 一个梯度累积类,用于累积多个批次的梯度
AdaFactor (PyTorch)
autodoc Adafactor
Schedules
Learning Rate Schedules (Pytorch)
autodoc SchedulerType
autodoc get_scheduler
autodoc get_constant_schedule
autodoc get_constant_schedule_with_warmup
autodoc get_cosine_schedule_with_warmup
autodoc get_cosine_with_hard_restarts_schedule_with_warmup
autodoc get_linear_schedule_with_warmup
autodoc get_polynomial_decay_schedule_with_warmup
autodoc get_inverse_sqrt_schedule