fastnlp / fastNLP

fastNLP: A Modularized and Extensible NLP Framework. Currently still in incubation.
https://gitee.com/fastnlp/fastNLP
Apache License 2.0
3.06k stars 450 forks source link

[new] Motified to Fastnlp/io/pipe/summarization.py for Summarization/Baseline #224

Closed dqwang122 closed 5 years ago

dqwang122 commented 5 years ago

Description:简要描述这次PR的内容

Main reason: 做出这次修改的原因

Checklist 检查下面各项是否完成

Please feel free to remove inapplicable items for your PR.

Changes: 逐项描述修改的内容

Mention: 找人review你的PR

@修改过这个文件的人 @核心开发人员

codecov-io commented 5 years ago

Codecov Report

Merging #224 into dev0.5.0 will increase coverage by 5.1%. The diff coverage is 88.78%.

Impacted file tree graph

@@            Coverage Diff             @@
##           dev0.5.0    #224     +/-   ##
==========================================
+ Coverage      70.8%   75.9%   +5.1%     
==========================================
  Files            80      81      +1     
  Lines          9345    9717    +372     
==========================================
+ Hits           6617    7376    +759     
+ Misses         2728    2341    -387
Impacted Files Coverage Δ
fastNLP/io/loader/json.py 95.83% <ø> (ø) :arrow_up:
fastNLP/io/pipe/summarization.py 88.78% <88.78%> (ø)
fastNLP/models/snli.py 91.48% <0%> (-1.79%) :arrow_down:
fastNLP/modules/__init__.py 100% <0%> (ø) :arrow_up:
fastNLP/modules/encoder/__init__.py 100% <0%> (ø) :arrow_up:
fastNLP/core/trainer.py 77.31% <0%> (+0.25%) :arrow_up:
fastNLP/core/dataset.py 81.34% <0%> (+0.91%) :arrow_up:
fastNLP/core/field.py 71.09% <0%> (+1.15%) :arrow_up:
fastNLP/io/data_bundle.py 62.2% <0%> (+2.36%) :arrow_up:
... and 19 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 86ba31b...8affc4a. Read the comment docs.