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

[LLM] Fix Qwen2 #8584

Closed DrownFish19 closed 2 weeks ago

DrownFish19 commented 2 weeks ago

PR types

Bug fixes

PR changes

Models

Description

  1. Fix import error for python3.8
  2. Remove output_router_logits for predictor, issue #8583
paddle-bot[bot] commented 2 weeks ago

Thanks for your contribution!

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 54.42%. Comparing base (4609d07) to head (29af5ea).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #8584 +/- ## ======================================== Coverage 54.42% 54.42% ======================================== Files 632 632 Lines 99450 99451 +1 ======================================== + Hits 54128 54129 +1 Misses 45322 45322 ```

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