Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Conversation

eric-haibin-lin
Copy link
Member

Description

total_mlm_loss was only updated every log_interval steps, and losses of last few steps are not added to the total loss. This PR fixes that.

@khetan2 @paperplanet @AI-richard FYI

Checklist

Essentials

  • PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
  • Changes are complete (i.e. I finished coding on this PR)
  • All changes have test coverage
  • Code is well-documented

@eric-haibin-lin eric-haibin-lin requested a review from szha as a code owner May 6, 2019 21:29
@codecov
Copy link

codecov bot commented May 6, 2019

Codecov Report

❗ No coverage uploaded for pull request head (fix-eval@7a2d641). Click here to learn what that means.
The diff coverage is n/a.

@codecov
Copy link

codecov bot commented May 6, 2019

Codecov Report

Merging #696 into master will increase coverage by 0.1%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #696     +/-   ##
=========================================
+ Coverage   90.94%   91.04%   +0.1%     
=========================================
  Files          64       64             
  Lines        5887     5887             
=========================================
+ Hits         5354     5360      +6     
+ Misses        533      527      -6
Impacted Files Coverage Δ
src/gluonnlp/data/dataloader.py 88.79% <0%> (+5.17%) ⬆️

@mli
Copy link
Member

mli commented May 6, 2019

Job PR-696/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-696/1/index.html

@szha szha merged commit 1cd1bad into dmlc:master May 7, 2019
@eric-haibin-lin eric-haibin-lin deleted the fix-eval branch May 9, 2019 04:54
astonzhang pushed a commit that referenced this pull request May 10, 2019
* fix eval precision

* remove dtype cast

* add doc
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants