Files
HuggingFace_transformer/tests
Yusuke Mori 04d8136bde Adding the prepare_seq2seq_batch function to ProphetNet (#8515)
* Simply insert T5Tokenizer's prepare_seq2seq_batch

* Update/Add some 'import'

* fix RunTimeError caused by '.view'

* Moves .view related error avoidance from seq2seq_trainer to inside prophetnet

* Update test_tokenization_prophetnet.py

* Format the test code with black

* Re-format the test code

* Update test_tokenization_prophetnet.py

* Add importing require_torch in the test code

* Add importing BatchEncoding in the test code

* Re-format the test code on Colab
2020-11-16 14:18:25 +01:00
..
2020-11-10 07:11:02 -05:00
2020-11-11 12:59:40 -05:00
2020-10-07 19:09:23 -04:00
2020-08-26 17:20:22 +02:00
2020-11-11 12:28:09 -05:00
2020-08-26 17:20:22 +02:00
2020-11-11 12:28:09 -05:00
2020-08-26 17:20:22 +02:00
2020-10-30 10:25:48 -04:00
2020-08-27 18:31:51 +02:00