PaddlePaddle / PaddleNLP

👑 Easy-to-use and powerful NLP and LLM library with 🤗 Awesome model zoo, supporting wide-range of NLP tasks from research to industrial applications, including 🗂Text Classification, 🔍 Neural Search, ❓ Question Answering, ℹ️ Information Extraction, 📄 Document Intelligence, 💌 Sentiment Analysis etc.
https://paddlenlp.readthedocs.io
Apache License 2.0
11.71k stars 2.86k forks source link

bug fix #8620

Open wtmlon opened 1 week ago

wtmlon commented 1 week ago

PR types

PR changes

Description

修复 max_steps > epoch_steps 的计算错误问题

paddle-bot[bot] commented 1 week ago

Thanks for your contribution!

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Project coverage is 54.41%. Comparing base (307960c) to head (33182a9). Report is 1 commits behind head on develop.

Files Patch % Lines
paddlenlp/trl/trl_utils.py 0.00% 7 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #8620 +/- ## =========================================== - Coverage 54.41% 54.41% -0.01% =========================================== Files 632 632 Lines 99481 99484 +3 =========================================== Hits 54132 54132 - Misses 45349 45352 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.