Files
HuggingFace_transformer/docs/source
Patrick von Platen 2e12b907ae TF generate refactor - Greedy Search (#15562)
* TF generate start refactor

* Add tf tests for sample generate

* re-organize

* boom boom

* Apply suggestions from code review

* re-add

* add all code

* make random greedy pass

* make encoder-decoder random work

* further improvements

* delete bogus file

* make gpt2 and t5 tests work

* finish logits tests

* correct logits processors

* correct past / encoder_outputs drama

* refactor some methods

* another fix

* refactor shape_list

* fix more shape list

* import shape
_list

* finish docs

* fix imports

* make style

* correct tf utils

* Fix TFRag as well

* Apply Lysandre's and Sylvais suggestions

* Update tests/test_generation_tf_logits_process.py

Co-authored-by: Matt <Rocketknight1@users.noreply.github.com>

* Update src/transformers/tf_utils.py

Co-authored-by: Matt <Rocketknight1@users.noreply.github.com>

* remove cpu according to gante

* correct logit processor

Co-authored-by: Matt <Rocketknight1@users.noreply.github.com>
2022-02-15 17:54:43 +01:00
..
2021-12-27 19:07:46 -05:00
2021-12-22 16:14:35 -05:00
2022-01-31 17:03:06 +01:00
2021-12-22 16:14:35 -05:00
2021-12-27 19:07:46 -05:00
2022-02-08 16:27:23 +00:00
2022-01-28 19:01:37 -06:00
2021-12-27 19:07:46 -05:00
2021-12-27 19:07:46 -05:00
2020-04-06 14:32:39 -04:00
2021-12-27 19:07:46 -05:00
2021-12-22 16:14:35 -05:00
2022-02-15 17:49:38 +01:00
2021-12-22 16:14:35 -05:00
2021-12-27 19:07:46 -05:00
2022-02-01 18:28:12 -06:00
2021-12-22 16:14:35 -05:00