e06fe8e8c6
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
Self-hosted runner (benchmark) / Benchmark (aws-g5-4xlarge-cache) (push) Has been cancelled
New model PR merged notification / Notify new model (push) Has been cancelled
Update Transformers metadata / build_and_package (push) Has been cancelled
2.1 KiB
2.1 KiB
최적화optimization
.optimization 모듈은 다음을 제공합니다:
- 미세 조정된 모델에 사용할 수 있는 가중치 감쇠가 적용된 옵티마이저
_LRSchedule을 상속받는 스케줄 객체 형태의 여러 스케줄- 여러 배치의 그래디언트를 누적하는 그래디언트 누적 클래스
AdaFactor (PyTorch)transformers.Adafactor
autodoc Adafactor
스케줄schedules
학습률 스케줄 (PyTorch)transformers.SchedulerType
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
autodoc get_wsd_schedule