-
Notifications
You must be signed in to change notification settings - Fork 3.1k
add to_static for electra-doc #7652
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
Conversation
Thanks for your contribution! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #7652 +/- ##
===========================================
- Coverage 58.23% 57.58% -0.65%
===========================================
Files 579 582 +3
Lines 85819 86932 +1113
===========================================
+ Hits 49973 50064 +91
- Misses 35846 36868 +1022 ☔ View full report in Codecov by Sentry. |
贴一下报错截图哈~ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This Pull Request is stale because it has been open for 60 days with no activity. 当前Pull Request 60天内无活动,被标记为stale。 |
This Pull Request is stale because it has been open for 60 days with no activity. 当前Pull Request 60天内无活动,被标记为stale。 |
PR types
Others
PR changes
Others
Description
为 ernie-doc 模型训练接入动转静
训练环境
训练结果
动态图
运行命令
✅运行正常

静态图 SOT模式
运行命令
export GRAPH_SIZE=0 COST_MODEL=False ENABLE_FALL_BACK=True python run_classifier.py --batch_size 8 --model_name_or_path ernie-doc-base-en --to_static True
❌运行报错

静态图 AST模式
运行命令
export COST_MODEL=False ENABLE_FALL_BACK=False python run_classifier.py --batch_size 8 --model_name_or_path ernie-doc-base-en --to_static True
❌运行报错
