transformers/tests/models/markuplm
Nathan Cahill b5ca8fcd20
Add tokenizer kwargs to fill mask pipeline. (#26234)
* add tokenizer kwarg inputs

* Adding tokenizer_kwargs to _sanitize_parameters

* Add truncation=True example to tests

* Update test_pipelines_fill_mask.py

* Update test_pipelines_fill_mask.py

* make fix-copies and make style

* Update fill_mask.py

Replace single tick with double

* make fix-copies

* Style

---------

Co-authored-by: Lysandre <lysandre@huggingface.co>
2023-10-03 10:25:10 +02:00
..
__init__.py Add MarkupLM (#19198) 2022-09-30 08:25:43 +02:00
test_feature_extraction_markuplm.py Add MarkupLM (#19198) 2022-09-30 08:25:43 +02:00
test_modeling_markuplm.py CI with num_hidden_layers=2 🚀🚀🚀 (#25266) 2023-08-02 20:22:36 +02:00
test_processor_markuplm.py Add tokenizer kwargs to fill mask pipeline. (#26234) 2023-10-03 10:25:10 +02:00
test_tokenization_markuplm.py 🚨🚨 🚨🚨 [Tokenizer] attemp to fix add_token issues🚨🚨 🚨🚨 (#23909) 2023-09-18 20:28:36 +02:00