- 29 Nov, 2019 1 commit
-
-
Juha Kiili authored
-
- 21 Nov, 2019 4 commits
-
-
Juha Kiili authored
-
Aarni Koskela authored
Original source: https://github.com/kamalkraj/ALBERT-TF2.0/blob/fa90194e5fe729dbb19f32ac29c8d6d6372c0f93/download_glue_data.py Original license: https://github.com/kamalkraj/ALBERT-TF2.0/blob/fa90194e5fe729dbb19f32ac29c8d6d6372c0f93/LICENSE (Apache-2.0)
-
Juha Kiili authored
-
Thomas Wolf authored
[WIP] Add support for CamembertForTokenClassification
-
- 20 Nov, 2019 2 commits
-
-
Jin Young Sohn authored
TPU runner is currently implemented in: https://github.com/pytorch-tpu/transformers/blob/tpu/examples/run_glue_tpu.py. We plan to upstream this directly into `huggingface/transformers` (either `master` or `tpu`) branch once it's been more thoroughly tested.
-
Lysandre authored
-
- 18 Nov, 2019 7 commits
-
-
Kazutoshi Shinoda authored
-
Stefan Schweter authored
-
Stefan Schweter authored
-
Julien Chaumond authored
-
Sebastian Stabinger authored
-
Stefan Schweter authored
-
Stefan Schweter 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()
-