transformers/docs/source/model_doc
Thomas Wolf 827d6d6ef0
Cleanup fast tokenizers integration (#3706)
* First pass on utility classes and python tokenizers

* finishing cleanup pass

* style and quality

* Fix tests

* Updating following @mfuntowicz comment

* style and quality

* Fix Roberta

* fix batch_size/seq_length inBatchEncoding

* add alignement methods + tests

* Fix OpenAI and Transfo-XL tokenizers

* adding trim_offsets=True default for GPT2 et RoBERTa

* style and quality

* fix tests

* add_prefix_space in roberta

* bump up tokenizers to rc7

* style

* unfortunately tensorfow does like these - removing shape/seq_len for now

* Update src/transformers/tokenization_utils.py

Co-Authored-By: Stefan Schweter <stefan@schweter.it>

* Adding doc and docstrings

* making flake8 happy

Co-authored-by: Stefan Schweter <stefan@schweter.it>
2020-04-18 13:43:57 +02:00
..
albert.rst [Docs] Add DialoGPT (#3755) 2020-04-16 09:04:32 +02:00
auto.rst adding in the doc 2020-01-27 14:27:07 -05:00
bart.rst Rename BartForMaskedLM -> BartForConditionalGeneration (#3114) 2020-03-05 17:41:18 -05:00
bert.rst Cleanup fast tokenizers integration (#3706) 2020-04-18 13:43:57 +02:00
camembert.rst [Docs] Add DialoGPT (#3755) 2020-04-16 09:04:32 +02:00
ctrl.rst [Docs] Add DialoGPT (#3755) 2020-04-16 09:04:32 +02:00
dialogpt.rst [Docs] Add DialoGPT (#3755) 2020-04-16 09:04:32 +02:00
distilbert.rst Cleanup fast tokenizers integration (#3706) 2020-04-18 13:43:57 +02:00
electra.rst Cleanup fast tokenizers integration (#3706) 2020-04-18 13:43:57 +02:00
flaubert.rst [Docs] Add DialoGPT (#3755) 2020-04-16 09:04:32 +02:00
gpt.rst Cleanup fast tokenizers integration (#3706) 2020-04-18 13:43:57 +02:00
gpt2.rst Cleanup fast tokenizers integration (#3706) 2020-04-18 13:43:57 +02:00
roberta.rst Cleanup fast tokenizers integration (#3706) 2020-04-18 13:43:57 +02:00
t5.rst [Docs] Add DialoGPT (#3755) 2020-04-16 09:04:32 +02:00
transformerxl.rst Cleanup fast tokenizers integration (#3706) 2020-04-18 13:43:57 +02:00
xlm.rst [Docs] Add DialoGPT (#3755) 2020-04-16 09:04:32 +02:00
xlmroberta.rst [Docs] Add DialoGPT (#3755) 2020-04-16 09:04:32 +02:00
xlnet.rst [Docs] Add DialoGPT (#3755) 2020-04-16 09:04:32 +02:00