Skip to content

Conversation

sshleifer
Copy link
Contributor

No description provided.

@@ -85,7 +85,7 @@ def __init__(
prefix="",
):
super().__init__()
tok_name = "T5" if not isinstance(tokenizer, BartTokenizer) else ""
tok_name = tokenizer.__class__.__name__.lower().rstrip('tokenizer')
Copy link
Member

Choose a reason for hiding this comment

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

neat!

@codecov
Copy link

codecov bot commented Jun 19, 2020

Codecov Report

Merging #5119 into master will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5119      +/-   ##
==========================================
- Coverage   77.28%   77.28%   -0.01%     
==========================================
  Files         133      133              
  Lines       22134    22134              
==========================================
- Hits        17107    17106       -1     
- Misses       5027     5028       +1     
Impacted Files Coverage Δ
src/transformers/file_utils.py 75.00% <0.00%> (-0.41%) ⬇️
src/transformers/modeling_tf_utils.py 87.26% <0.00%> (-0.16%) ⬇️
src/transformers/trainer.py 39.62% <0.00%> (+0.23%) ⬆️

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 355954f...09ff62a. Read the comment docs.

@sshleifer sshleifer merged commit 2db1e2f into huggingface:master Jun 19, 2020
@sshleifer sshleifer deleted the redundancy branch June 19, 2020 00:34
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