- 14 Nov, 2019 2 commits
-
-
R茅mi Louf 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.
-
- 06 Nov, 2019 7 commits
-
-
Julien Chaumond authored
converted from https://github.com/openai/gpt-2-output-dataset/tree/master/detector Co-Authored-By:
Lysandre Debut <lysandre.debut@reseau.eseo.fr> Co-Authored-By:
Jong Wook Kim <jongwook@nyu.edu> Co-Authored-By:
Jeff Wu <wuthefwasthat@gmail.com>
-
Julien Chaumond authored
-
Julien Chaumond authored
-
Julien Chaumond authored
-
-
Julien Chaumond authored
-
Julien Chaumond authored
-
- 05 Nov, 2019 11 commits
-
-
Dom Hudson authored
-
Lysandre authored
-
Julien Chaumond authored
model forwards can take an inputs_embeds param
-
Clement authored
-
Thomas Wolf authored
add progress bar to convert_examples_to_features
-
Thomas Wolf authored
Add speed log to examples/run_squad.py
-
Thomas Wolf authored
Fixing mode in evaluate during training
-
thomwolf authored
-
Oren Amsalem authored
It takes considerate amount of time (~10 min) to parse the examples to features, it is good to have a progress-bar to track this
-
Thomas Wolf authored
Fix #1623
-
Julien Chaumond authored
-
- 04 Nov, 2019 12 commits
-
-
Julien Chaumond authored
-
Julien Chaumond authored
-
Lysandre authored
Co-Authored-By:Santosh-Gupta <San.Gupta.ML@gmail.com>
-
Thomas Wolf authored
Add common getter and setter for input_embeddings & output_embeddings
-
thomwolf authored
-
thomwolf authored
-
thomwolf authored
-
Thomas Wolf authored
Fix token order in xlnet preprocessing for SQuAD
-
thomwolf authored
-
thomwolf authored
-
Thomas Wolf authored
-
thomwolf authored
-
- 03 Nov, 2019 1 commit
-
-
Raghavan authored
-
- 01 Nov, 2019 2 commits
-
-
-
Julien Chaumond authored
-
- 31 Oct, 2019 5 commits
-
-
Lysandre authored
-
Timothy Liu authored
-
Julien Chaumond authored
-
Julien Chaumond authored
-
Julien Chaumond authored
-