Skip to content

Add ELMo modules #299

Open
gpengzhi wants to merge 2 commits into
asyml:masterfrom
gpengzhi:elmo
Open

Add ELMo modules #299
gpengzhi wants to merge 2 commits into
asyml:masterfrom
gpengzhi:elmo

Polish ELMo modules

1ad8c7d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 7, 2026 in 1s

82.93% (+0.29%) compared to 931ead9

View this Pull Request on Codecov

82.93% (+0.29%) compared to 931ead9

Details

Codecov Report

❌ Patch coverage is 86.64032% with 169 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.93%. Comparing base (931ead9) to head (1ad8c7d).
⚠️ Report is 74 commits behind head on master.

Files with missing lines Patch % Lines
texar/torch/modules/pretrained/elmo_utils.py 84.77% 90 Missing ⚠️
texar/torch/modules/encoders/elmo_encoder.py 74.69% 21 Missing ⚠️
texar/torch/modules/pretrained/elmo_utils_test.py 95.73% 15 Missing ⚠️
texar/torch/modules/encoders/elmo_encoder_test.py 73.33% 12 Missing ⚠️
texar/torch/modules/pretrained/elmo.py 53.84% 12 Missing ⚠️
texar/torch/modules/pretrained/elmo_test.py 47.05% 9 Missing ⚠️
texar/torch/utils/utils.py 80.64% 6 Missing ⚠️
...exar/torch/data/tokenizers/elmo_tokenizer_utils.py 94.23% 3 Missing ⚠️
...torch/data/tokenizers/elmo_tokenizer_utils_test.py 97.14% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #299      +/-   ##
==========================================
+ Coverage   82.63%   82.93%   +0.29%     
==========================================
  Files         207      215       +8     
  Lines       16006    17271    +1265     
==========================================
+ Hits        13226    14323    +1097     
- Misses       2780     2948     +168     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.