Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cherry-Pick] Add PP-UIE and fix TaskFlow #9914

Open
wants to merge 4 commits into
base: release/3.0-beta4
Choose a base branch
from

Conversation

DrownFish19
Copy link
Collaborator

Before submitting

  • Lint code. If there are lint issues, please format the code first.
# Install and register `pre-commit` in the project folder
pip install pre-commit && pre-commit install

# Process previous code files separately
pre-commit run --file XXXX.py
  • Add test cases into tests folder. If there are codecov issues, please add tests cases first.

PR types

New features and Bug fixes

PR changes

Models and APIs

Description

Add PP-UIE and fix TaskFlow

DrownFish19 and others added 4 commits February 20, 2025 11:29
* fix pir for taskflow

* update suffix for PIR(ON/OFF)

* fix and revert skip

* update dependency_parsing

* fix pir bug

* fix pir bug

* fix lint

* fix ci

* disable test case

---------

Co-authored-by: Zhong Hui <[email protected]>
Co-authored-by: Fantasy-02 <[email protected]>
* fix taskflow

* add llm/ie for SFT of ie task

* remove data folder

* update readme

* add taskflow

* remove taskflow

* add sft for ie task

* add multi_stage_predict of taskflow

* fix some bug and rename qwen2 as uie-llm

* fixed test and lint

* fixed test and lint

* fixed test and lint

* update 0109

* update 0109

* update 0113

* updaate 0113

* remove static mode in taskflow

* update 0115

* update 0115

* update 0115

* update 0116

* update 0116

* update readme.md

* update readme.md

* update 0116

* update taskflow.py and readme.md

* rename model name

* update
* update doc for pp-uie

* update
Copy link

paddle-bot bot commented Feb 20, 2025

Thanks for your contribution!

Copy link

codecov bot commented Feb 20, 2025

Codecov Report

Attention: Patch coverage is 11.98502% with 235 lines in your changes missing coverage. Please review.

Project coverage is 52.17%. Comparing base (2f85a64) to head (ebcdc4b).

Files with missing lines Patch % Lines
paddlenlp/taskflow/information_extraction.py 9.09% 160 Missing ⚠️
...addlenlp/taskflow/zero_shot_text_classification.py 0.00% 24 Missing ⚠️
paddlenlp/taskflow/task.py 14.81% 23 Missing ⚠️
...addlenlp/taskflow/multimodal_feature_extraction.py 11.11% 8 Missing ⚠️
paddlenlp/generation/utils.py 0.00% 6 Missing ⚠️
paddlenlp/server/predictor.py 16.66% 5 Missing ⚠️
paddlenlp/utils/env.py 63.63% 4 Missing ⚠️
paddlenlp/transformers/semantic_search/modeling.py 0.00% 3 Missing ⚠️
...dlenlp/experimental/autonlp/text_classification.py 0.00% 1 Missing ⚠️
paddlenlp/taskflow/text_similarity.py 0.00% 1 Missing ⚠️

❌ Your patch check has failed because the patch coverage (11.98%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.
❌ Your project check has failed because the head coverage (52.17%) is below the target coverage (58.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@                  Coverage Diff                  @@
##           release/3.0-beta4    #9914      +/-   ##
=====================================================
+ Coverage              51.89%   52.17%   +0.27%     
=====================================================
  Files                    734      730       -4     
  Lines                 118118   115971    -2147     
=====================================================
- Hits                   61300    60506     -794     
+ Misses                 56818    55465    -1353     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants