Skip to content

s2s: fix LR logging, remove some dead code. #6205

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

Merged
merged 11 commits into from
Aug 3, 2020

Conversation

sshleifer
Copy link
Contributor

No description provided.

@sshleifer sshleifer requested a review from sgugger August 2, 2020 22:26
@codecov
Copy link

codecov bot commented Aug 2, 2020

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6205      +/-   ##
==========================================
+ Coverage   79.65%   79.73%   +0.07%     
==========================================
  Files         146      146              
  Lines       26607    26607              
==========================================
+ Hits        21194    21214      +20     
+ Misses       5413     5393      -20     
Impacted Files Coverage Δ
src/transformers/tokenization_xlm_roberta.py 84.52% <0.00%> (-10.72%) ⬇️
src/transformers/generation_tf_utils.py 81.70% <0.00%> (+1.00%) ⬆️
src/transformers/tokenization_bart.py 95.77% <0.00%> (+35.21%) ⬆️

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 82a0e2b...f39a67f. Read the comment docs.

@@ -159,11 +158,9 @@ def _feature_file(self, mode):
@pl.utilities.rank_zero_only
def on_save_checkpoint(self, checkpoint: Dict[str, Any]) -> None:
save_path = self.output_dir.joinpath("best_tfmr")
save_path.mkdir(exist_ok=True)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it created somewhere else?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah in save_pretrained

@sshleifer sshleifer merged commit b6b2f22 into huggingface:master Aug 3, 2020
@sshleifer sshleifer deleted the pl-fix-clean branch August 3, 2020 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants