- 21 Dec, 2019 1 commit
-
-
thomwolf authored
-
- 18 Dec, 2019 1 commit
-
-
thomwolf authored
-
- 10 Dec, 2019 15 commits
-
-
R茅mi Louf authored
-
Julien Chaumond authored
-
R茅mi Louf authored
-
R茅mi Louf authored
-
R茅mi Louf authored
-
R茅mi Louf authored
-
R茅mi Louf authored
-
R茅mi Louf authored
-
R茅mi Louf authored
-
R茅mi Louf authored
-
R茅mi Louf authored
-
R茅mi Louf authored
-
R茅mi Louf authored
-
R茅mi Louf authored
We currently save the pretrained_weights of the encoder and decoder in two separate directories `encoder` and `decoder`. However, for the `from_pretrained` function to operate with automodels we need to specify the type of model in the path to the weights. The path to the encoder/decoder weights is handled by the `PreTrainedEncoderDecoder` class in the `save_pretrained` function. Sice there is no easy way to infer the type of model that was initialized for the encoder and decoder we add a parameter `model_type` to the function. This is not an ideal solution as it is error prone, and the model type should be carried by the Model classes somehow. This is a temporary fix that should be changed before merging.
-
R茅mi Louf authored
Since I started my PR the `add_special_token_single_sequence` function has been deprecated for another; I replaced it with the new function.
-
- 09 Dec, 2019 7 commits
-
-
Bilal Khan authored
-
Bilal Khan authored
-
Bilal Khan authored
-
Bilal Khan authored
-
Bilal Khan authored
-
Bilal Khan authored
-
LysandreJik authored
-
- 05 Dec, 2019 7 commits
-
-
LysandreJik authored
Improve global visibility on the run_squad script, remove unused files and fixes related to XLNet.
-
LysandreJik authored
-
VictorSanh authored
-
VictorSanh authored
-
Rosanne Liu authored
* license * changes * ok * Update paper link and commands to run * pointer to uber repo
-
Julien Plu authored
-
thomwolf authored
-
- 04 Dec, 2019 5 commits
-
-
LysandreJik authored
-
LysandreJik authored
-
LysandreJik authored
-
thomwolf authored
-
Julien Plu authored
Create a NER example similar to the Pytorch one. It takes the same options, and can be run the same way.
-
- 03 Dec, 2019 4 commits
-
-
LysandreJik authored
-
Julien Chaumond authored
-
VictorSanh authored
-
Julien Chaumond authored
Co-Authored-By:Piero Molino <w4nderlust@gmail.com>
-