Commit Graph
26 Commits
Author SHA1 Message Date
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