Commit Graph
41 Commits
Author SHA1 Message Date
Abhishek Rao c603d099aa reraise EnvironmentError in from_pretrained functions of Model and Tokenizer 2019-08-22 15:25:40 -07:00
Abhishek Rao 14eef67eb2 Fix at config rather than model 2019-08-21 15:48:43 -07:00
Abhishek Rao 296df2b18c reraise exception 2019-08-21 15:29:30 -07:00
thomwolf 43489756ad adding proxies options for the from_pretrained methods 2019-08-20 16:59:11 +02:00
thomwolf fecaed0ed4 add force_download option to from_pretrained methods 2019-08-20 10:56:12 +02:00
Lysandre c589862b78 Doc: loading from config alone does not load the model weights 2019-08-19 10:17:47 -04:00
LysandreJik 3566d27919 Clarified PreTrainedModel.from_pretrained warning messages in documentation. 2019-08-08 19:04:34 -04:00
Thomas Wolf d43dc48b34 Merge branch 'master' into auto_models 2019-08-05 19:17:35 +02:00
thomwolf ed4e542260 adding tests 2019-08-05 18:14:07 +02:00
thomwolf b90e29d52c working on automodels 2019-08-05 16:06:34 +02:00
thomwolf 00132b7a7a updating docs - adding few tests to tokenizers 2019-08-04 22:42:55 +02:00
thomwolf 009273dbdd big doc update [WIP] 2019-08-04 12:14:57 +02:00
thomwolf bfbe52ec39 cleaning up example docstrings 2019-07-27 20:25:39 +02:00
thomwolf 4cc1bf81ee typos 2019-07-27 12:08:21 +02:00
thomwolf c717d38573 dictionnary => dictionary 2019-07-26 23:30:48 +02:00
Thomas Wolf 067923d326 Merge pull request #873 from huggingface/identity_replacement
Add nn.Identity replacement for old PyTorch
2019-07-23 18:16:35 +02:00
thomwolf 1383c7b87a Fix #869 2019-07-23 17:52:20 +02:00
Anish Moorthy 4fb56c7729 Remove unused *args parameter from PreTrainedConfig.from_pretrained 2019-07-23 10:43:01 -04:00
Anish Moorthy e179c55490 Add docs for from_pretrained functions, rename return_unused_args 2019-07-23 10:43:01 -04:00
Anish Moorthy 490ebbdcf7 Fix PretrainedModel.from_pretrained not passing cache_dir forward 2019-07-22 18:03:08 -04:00
Anish Moorthy b8009cb0da Make PreTrainedModel.from_pretrained pass unused arguments to model 2019-07-22 18:03:08 -04:00
thomwolf 4acaa65068 model in evaluation mode by default after from_pretrained 2019-07-16 15:41:57 +02:00
thomwolf 352e3ff998 added migration guide to readme 2019-07-16 09:03:49 +02:00
thomwolf 3b8b0e01bb update readme 2019-07-16 00:12:55 +02:00
thomwolf 15d8b1266c update tokenizer - update squad example for xlnet 2019-07-15 17:30:42 +02:00
thomwolf 3b469cb422 updating squad for compatibility with XLNet 2019-07-15 15:28:37 +02:00
thomwolf f7cd7392fd fixed tests 2019-07-15 12:32:19 +02:00
thomwolf e28d8bde0d doc on base classes 2019-07-15 12:08:06 +02:00
thomwolf 44c985facd update doc for XLM and XLNet 2019-07-15 11:36:50 +02:00
thomwolf 62b8eb43c1 fix add_start_docstrings on python 2 (removed) 2019-07-15 09:49:02 +02:00
thomwolf 2397f958f9 updating examples and doc 2019-07-14 23:20:10 +02:00
thomwolf 7442956361 save config file 2019-07-12 11:26:16 +02:00
thomwolf 2918b7d2a0 updating tests 2019-07-12 10:57:58 +02:00
thomwolf bd404735a7 embeddings resizing + tie_weights 2019-07-12 00:02:49 +02:00
thomwolf c6bf1a400d fix test examples et model pretrained 2019-07-11 22:29:08 +02:00
thomwolf ec07cf5a66 rewamp optimization 2019-07-11 14:48:22 +02:00
thomwolf 4fef5919a5 updating examples 2019-07-11 12:03:08 +02:00
thomwolf d5481cbe1b adding tests to examples - updating summary module - coverage update 2019-07-09 15:29:42 +02:00
thomwolf b19786985d unified tokenizer api and serialization + tests 2019-07-09 10:25:18 +02:00
thomwolf 162ba383b0 fix model loading 2019-07-05 15:57:14 +02:00
thomwolf 36bca545ff tokenization abstract class - tests for examples 2019-07-05 15:02:59 +02:00