- 18 Nov, 2019 2 commits
-
-
Julien Chaumond authored
-
Sebastian Stabinger authored
-
- 16 Nov, 2019 11 commits
-
-
Julien Chaumond authored
-
Julien Chaumond authored
-
Julien Chaumond authored
-
Louis MARTIN authored
-
Louis MARTIN authored
-
Louis MARTIN authored
-
Louis MARTIN authored
-
Louis MARTIN authored
-
Louis MARTIN authored
-
Louis MARTIN authored
-
Louis MARTIN authored
-
- 14 Nov, 2019 15 commits
-
-
Thomas Wolf authored
DistilBERT for token classification
-
Thomas Wolf authored
-
Thomas Wolf authored
fix multi-gpu eval in torch examples
-
Thomas Wolf authored
Fix special tokens addition in decoder #1807
-
Thomas Wolf authored
sum() is replaced by itertools.chain.from_iterable()
-
Thomas Wolf authored
replace LambdaLR scheduler wrappers by function
-
Thomas Wolf authored
Token indices sequence length is longer than the specified maximum sequence length for this model
-
Lysandre authored
-
Lysandre authored
-
R茅mi Louf authored
-
Lysandre authored
-
Lysandre authored
-
Lysandre authored
-
R茅mi Louf authored
Custom schedulers are currently initiated by wrapping Pytorch's LambdaLR class and passing a method of the wrapping class to the __init__ function of LambdaLR. This approach is not appropriate for several reasons: 1. one does not need to define a class when it only defines a __init__() method; 2. instantiating the parent class by passing a method of the child class creates a cyclical reference which leads to memory leaks. See issues #1742 and #1134. In this commit we replace the wrapper classes with functions that instantiate `LambdaLR` with a custom learning rate function. We use a closure to specify the parameter of the latter. We also do a bit of renaming within the function to explicit the behaviour and removed docstrings that were subsequently not necessary.
-
陌brahim Ethem Demirci authored
sum() is the leanest method to flatten a string list, so it's been replaced by itertools.chain.from_iterable()
-
- 12 Nov, 2019 11 commits
-
-
Lysandre authored
-
Julien Chaumond authored
-
Julien Chaumond authored
-
Julien Chaumond authored
-
Julien Chaumond authored
-
Julien Chaumond authored
-
Julien Chaumond authored
-
Julien Chaumond authored
-
Lysandre authored
-
ronakice authored
-
thomwolf authored
-
- 11 Nov, 2019 1 commit
-
-
Stefan Schweter authored
-