dmlc / gluon-nlp

NLP made easy
https://nlp.gluon.ai/
Apache License 2.0
2.56k stars 538 forks source link

Fix bert cfg #1245

Closed zheyuye closed 4 years ago

zheyuye commented 4 years ago

Description

Comments

cc @dmlc/gluon-nlp-team

codecov[bot] commented 4 years ago

Codecov Report

Merging #1245 into numpy will increase coverage by 20.82%. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##            numpy    #1245       +/-   ##
===========================================
+ Coverage   58.86%   79.68%   +20.82%     
===========================================
  Files          52       38       -14     
  Lines        7273     5370     -1903     
===========================================
- Hits         4281     4279        -2     
+ Misses       2992     1091     -1901     
Impacted Files Coverage Δ
src/gluonnlp/models/bert.py 67.80% <ø> (-0.16%) :arrow_down:
src/gluonnlp/models/mobilebert.py 60.81% <ø> (-0.13%) :arrow_down:
...ts/datasets/music_generation/prepare_music_midi.py
scripts/datasets/__main__.py
...cripts/datasets/machine_translation/prepare_wmt.py
scripts/preprocess/learn_subword.py
scripts/preprocess/apply_subword.py
...ripts/datasets/question_answering/prepare_squad.py
...pts/datasets/pretrain_corpus/prepare_bookcorpus.py
...pts/datasets/general_nlp_benchmark/prepare_glue.py
... and 6 more