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

Fix save&load #8652

Open xingmingyyj opened 4 days ago

xingmingyyj commented 4 days ago

PR types

Others

PR changes

Others

Description

修复auto_trainer的save,load

paddle-bot[bot] commented 4 days ago

Thanks for your contribution!

codecov[bot] commented 1 day ago

Codecov Report

Attention: Patch coverage is 2.85714% with 68 lines in your changes missing coverage. Please review.

Project coverage is 55.76%. Comparing base (c6c2cd8) to head (31efe9a). Report is 7 commits behind head on develop.

Files Patch % Lines
paddlenlp/trainer/auto_trainer.py 0.00% 59 Missing :warning:
paddlenlp/trainer/trainer.py 18.18% 9 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #8652 +/- ## =========================================== - Coverage 55.79% 55.76% -0.04% =========================================== Files 620 620 Lines 96659 96713 +54 =========================================== + Hits 53928 53929 +1 - Misses 42731 42784 +53 ```

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