thomwolf
1efb1f1660
split configuration and modeling files
2019-09-08 15:02:06 +03:00
thomwolf
7fba47b7d9
WIP reordering
2019-09-04 22:39:23 +02:00
thomwolf
e25cba78cf
WIP reodering arguments for torchscript and TF
2019-09-04 22:39:23 +02:00
LysandreJik
b6992b7b47
Applied patch to OpenAI GPT, RoBERTa, TransfoL, XLM and XLNet
2019-08-31 00:33:50 -04:00
LysandreJik
0c8e823b03
Added patch to remaining models
2019-08-31 00:33:50 -04:00
LysandreJik
87747518e9
Blocks deletion from already deleted heads. Necessary integration test.
...
Now raises a warning when a head to be deleted already has been deleted. An integration test verifying the total pipeline (-> from config -> save model -> load model -> additional head pruning) has been added.
2019-08-31 00:33:50 -04:00
LysandreJik
719cb3738d
Pruning for GPT and GPT-2
2019-08-31 00:33:50 -04:00
Lysandre
814a3f4e01
Removed attention_mask
from GPT-2 and GPT documentation. Corrected multiple_choice_labels
to actual name mc_labels
2019-08-21 14:11:14 -04:00
Thomas Wolf
e4515faf54
Merge pull request #1057 from huggingface/fixes
...
Add a few of typos corrections, bugs fixes and small improvements
2019-08-21 01:54:05 +02:00
Julien Chaumond
b0b9b8091b
minor typo
2019-08-20 11:33:46 +02:00
thomwolf
53c8f700f4
fix #808
2019-08-20 11:29:26 +02:00
Lysandre
c589862b78
Doc: loading from config alone does not load the model weights
2019-08-19 10:17:47 -04:00
thomwolf
c683c3d5a5
fix #993
2019-08-10 20:04:35 +02:00
LysandreJik
7df303f5ad
fix #971
2019-08-08 10:36:26 -04:00
wangfei
6ec1ee9ec2
Fix examples in docstring
2019-08-06 11:32:54 +08:00
wangfei
beb03ec6c5
Fix examples of loading pretrained models in docstring
2019-08-06 11:24:46 +08:00
Thomas Wolf
d43dc48b34
Merge branch 'master' into auto_models
2019-08-05 19:17:35 +02:00
thomwolf
b90e29d52c
working on automodels
2019-08-05 16:06:34 +02:00
thomwolf
bfbe52ec39
cleaning up example docstrings
2019-07-27 20:25:39 +02:00
rococo // Ron
66b15f73f0
Update docs for parameter rename
...
OpenAIGPTLMHeadModel now accepts `labels` instead of `lm_labels`
2019-07-24 11:27:08 -07:00
thomwolf
0227b4a940
fix #827
2019-07-23 14:06:43 +02:00
thomwolf
f289e6cfe4
fix docstrings
2019-07-16 15:31:21 +02:00
thomwolf
f7cd7392fd
fixed tests
2019-07-15 12:32:19 +02:00
thomwolf
44c985facd
update doc for XLM and XLNet
2019-07-15 11:36:50 +02:00
thomwolf
0201d86015
added doc for transformer-xl
2019-07-15 10:11:09 +02:00
thomwolf
4cb489457f
added doc for openai GPT
2019-07-15 09:58:01 +02:00
thomwolf
7d4b200e40
good quality generation example for GPT, GPT-2, Transfo-XL, XLNet
2019-07-13 15:25:03 +02:00
thomwolf
2918b7d2a0
updating tests
2019-07-12 10:57:58 +02:00
LysandreJik
3fbceed8d2
Fix layer reference loss + previous attempted fix
2019-07-11 22:29:55 -04:00
LysandreJik
6c2ee16c04
Test suite testing the tie_weights function as well as the resize_token_embeddings function.
...
Patched an issue relating to the tied weights I had introduced with the TorchScript addition.
Byte order mark management in TSV glue reading.
2019-07-11 22:09:16 -04:00
thomwolf
bd404735a7
embeddings resizing + tie_weights
2019-07-12 00:02:49 +02:00
thomwolf
273617b86d
update config - fix gpt/gpt-2 from pretrained
2019-07-11 22:45:03 +02:00
Thomas Wolf
b87eb82b4f
Merge branch 'xlnet' into doc-sphinx
2019-07-11 15:46:27 +02:00
thomwolf
4fef5919a5
updating examples
2019-07-11 12:03:08 +02:00
LysandreJik
5288913bdd
All TODOs to be checked by Thom have been added.
2019-07-10 15:16:40 -04:00
LysandreJik
8fe2c9d98e
Refactored Docstrings of BERT, GPT2, GPT, TransfoXL, XLM and XLNet.
2019-07-09 15:55:31 -04:00
thomwolf
d0efbd3cd1
update sequencesummary module
2019-07-09 15:46:43 +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
36bca545ff
tokenization abstract class - tests for examples
2019-07-05 15:02:59 +02:00
thomwolf
0bab55d5d5
[BIG] name change
2019-07-05 11:55:36 +02:00