Patrick von Platen
|
af471ce5e8
|
Improved Error message when loading config/model with .from_pretrained() (#3247)
* better error message
* better error message
* update to model identifier instead of url
* update to model identifier instead of ur
|
2020-03-16 09:48:30 +01:00 |
|
Sam Shleifer
|
5ea8ba67b4
|
[BART] Remove unused kwargs (#3279)
* Remove unused kwargs
* dont call forward in tests
|
2020-03-15 23:00:44 -04:00 |
|
Thomas Wolf
|
3814e167d9
|
Merge pull request #3225 from patrickvonplaten/finalize_merge_bart_generate_into_default_generate
Complete merge Seq-2-Seq generation into default generation
|
2020-03-14 15:08:59 +01:00 |
|
Sam Shleifer
|
2bd79e23de
|
[BART] FP16 testing fixes (#3266)
|
2020-03-13 19:48:26 -04:00 |
|
Patrick von Platen
|
ab756f713c
|
add gpt2-xl for tf
|
2020-03-13 16:40:35 -04:00 |
|
Patrick von Platen
|
6047f46b19
|
re-add eos token to get good bart results
|
2020-03-12 20:17:50 +01:00 |
|
Patrick von Platen
|
c11160114a
|
small clean-up
|
2020-03-12 20:02:35 +01:00 |
|
Sam Shleifer
|
2e81b9d8d7
|
Bart: update example for #3140 compatibility (#3233)
* Update bart example docs
|
2020-03-12 10:36:37 -04:00 |
|
Patrick von Platen
|
a332cc9f7f
|
finalize generation merge
|
2020-03-11 11:53:36 +01:00 |
|
Patrick von Platen
|
1ba21f96ca
|
fix bug in tf no_repeat_ngram_size
|
2020-03-11 11:06:56 +01:00 |
|
Patrick von Platen
|
d997ac7810
|
fix typo
|
2020-03-11 11:06:56 +01:00 |
|
Patrick von Platen
|
7351a8dbaf
|
re-add scoring filtering
|
2020-03-11 11:06:56 +01:00 |
|
Patrick von Platen
|
9b8ee8cea0
|
delete print and make style
|
2020-03-11 11:06:56 +01:00 |
|
Patrick von Platen
|
ca1330f0b2
|
do not mess with the negative sign
|
2020-03-11 11:06:56 +01:00 |
|
Patrick von Platen
|
10989715d0
|
rename variable
|
2020-03-11 11:06:56 +01:00 |
|
Patrick von Platen
|
cf06290565
|
remove ipdb
|
2020-03-11 11:06:56 +01:00 |
|
Patrick von Platen
|
374deef48d
|
fixed typo
|
2020-03-11 11:06:56 +01:00 |
|
Patrick von Platen
|
a2c8e516c2
|
fix torch to tf translation
|
2020-03-11 11:06:56 +01:00 |
|
Patrick von Platen
|
ca2047bc35
|
refactor variable naming and improve tf generate in line with torch generate
|
2020-03-11 11:06:56 +01:00 |
|
patrickvonplaten
|
41b437ea3a
|
add draft version of propsoed changes for ROGUE score
|
2020-03-11 11:06:56 +01:00 |
|
patrickvonplaten
|
629aac92ec
|
do not allow do_sample and weird force bos token things
|
2020-03-11 11:06:56 +01:00 |
|
patrickvonplaten
|
d880a5fbde
|
finalized PR
|
2020-03-11 11:06:56 +01:00 |
|
patrickvonplaten
|
2acfe63964
|
best current version and make style
|
2020-03-11 11:06:56 +01:00 |
|
patrickvonplaten
|
c62444da39
|
fix conflicts
|
2020-03-11 11:06:56 +01:00 |
|
Patrick von Platen
|
333affcb81
|
add current changes
|
2020-03-11 11:06:56 +01:00 |
|
Patrick von Platen
|
7a11e925cf
|
work in progress
|
2020-03-11 11:06:56 +01:00 |
|
Patrick von Platen
|
7cba11fb9b
|
better naming
|
2020-03-11 11:06:56 +01:00 |
|
Patrick von Platen
|
ff648221bd
|
fix conflicts
|
2020-03-11 11:06:56 +01:00 |
|
Patrick von Platen
|
c0d9dd3ba9
|
refactored code a bit and made more generic
|
2020-03-11 11:06:56 +01:00 |
|
Patrick von Platen
|
d8e2b3c547
|
fix conflicts
|
2020-03-11 11:06:56 +01:00 |
|
Julien Chaumond
|
270dfa1c8e
|
[dialogpt] conversion script
Reference: https://github.com/huggingface/transformers/pull/1778#issuecomment-567675530
cc @patrickvonplaten and @dreasysnail
|
2020-03-10 15:09:29 -04:00 |
|
Patrick von Platen
|
31f2437f07
|
Merge pull request #3191 from patrickvonplaten/add_integration_tests_lm_generate_torch_tf
Add integration tests lm generate torch tf
|
2020-03-10 11:29:17 +01:00 |
|
Julien Chaumond
|
cbf8f5d32b
|
[model upload] Support for organizations
|
2020-03-09 17:33:57 -04:00 |
|
Lysandre Debut
|
5164ea91a7
|
Skipping outputs (#3116)
* Minimal example
* Proposal 2
* Proposal 2 for fast tokenizers
* Typings
* Docs
* Revert "Docs" for easier review
This reverts commit eaf0f97062e809887704a542144c537f769d5223.
* Remove unnecessary assignments
* Tests
* Fix faulty type
* Remove prints
* return_outputs -> model_input_names
* Revert "Revert "Docs" for easier review"
This reverts commit 6fdc69408102bf695797f2dfddbb6350c6b9e722.
* code quality
|
2020-03-09 13:48:58 -04:00 |
|
Patrick von Platen
|
847d370301
|
fix typo
|
2020-03-09 16:18:29 +01:00 |
|
Patrick von Platen
|
3e624c64ca
|
fix repetition penalty mask in tf
|
2020-03-09 14:55:11 +01:00 |
|
Patrick von Platen
|
4620caa864
|
fix if use lang embeddings in tf xlm
|
2020-03-09 11:18:54 +01:00 |
|
Lysandre Debut
|
0ae91c80aa
|
Change back pipeline signatures (#3105)
* Change back pipeline signatures
* String types for non-imported objects
|
2020-03-06 17:26:18 -05:00 |
|
Sam Shleifer
|
ed37f9fa4f
|
[Bart] _prepare_decoder_inputs should use large negative (#3158)
|
2020-03-06 16:06:36 -05:00 |
|
Thomas Wolf
|
0416d437fb
|
Merge pull request #3148 from patrickvonplaten/refactoring_beam_search_for_tf_2
refactored beam search according to torch implementation
|
2020-03-06 22:01:46 +01:00 |
|
Funtowicz Morgan
|
db9279dedb
|
Fix QA models binding for Flaubert, XLNet and XLM. (#3100)
Signed-off-by: Morgan Funtowicz <morgan@huggingface.co>
Format & quality
Signed-off-by: Morgan Funtowicz <morgan@huggingface.co>
Again.
Signed-off-by: Morgan Funtowicz <morgan@huggingface.co>
|
2020-03-06 13:04:29 -05:00 |
|
Sam Shleifer
|
e58b3ec5df
|
add imports to examples (#3160)
|
2020-03-06 11:15:33 -05:00 |
|
Thomas Wolf
|
6ffe03a0a1
|
Merge pull request #3137 from tomhosking/bart-refactor
Refactor BartModel so that input checks are handled within enc/dec
|
2020-03-06 13:06:34 +01:00 |
|
Thomas Wolf
|
3e5da38dae
|
Merge pull request #3132 from huggingface/hf_api_model_list
[hf_api] Get the public list of all the models on huggingface
|
2020-03-06 13:05:52 +01:00 |
|
Thomas Wolf
|
9499a3778e
|
Merge pull request #3103 from gthb/keras-serialization
Support keras JSON/HDF5 serialization of main layers
|
2020-03-06 12:59:13 +01:00 |
|
patrickvonplaten
|
9362eb4a07
|
refactored beam search according to torch implementation
|
2020-03-06 00:46:29 +01:00 |
|
Sam Shleifer
|
857e0a0d3b
|
Rename BartForMaskedLM -> BartForConditionalGeneration (#3114)
* improved documentation
|
2020-03-05 17:41:18 -05:00 |
|
Lysandre Debut
|
146c521235
|
Merge branch 'master' into add_models_special_tokens_to_specific_configs
|
2020-03-05 17:24:42 -05:00 |
|
Lysandre Debut
|
b623ddc000
|
Pass kwargs to configuration (#3147)
* Pass kwargs to configuration
* Setter
* test
|
2020-03-05 17:16:57 -05:00 |
|
Lysandre Debut
|
0001d05686
|
Correct missing keys + test (#3143)
|
2020-03-05 17:01:54 -05:00 |
|