transformers.js/tests
Joshua Lochner d307f270dd
Add support for `DonutSwin` models (#320)
* Add `add_special_tokens` option to tokenizers

* Improve error messages for loading processors

* Add `DonutFeatureExtractor`

* Add `DonutSwinModel` and `MBartForCausalLM` models

* Fix `addPastKeyValues` for `VisionEncoderDecoder` models

* Add `Donut` to list of supported models

* Make encode parameters optional

* Support batched decoder input ids

* Remove unused import

* Add `do_thumbnail` for donut image processing

* Fix `TypeError: decoder_input_ids[i].map is not a function`

* Only pad if width and height specified in size

* Only pad if `pad_size` is defined

* Only cut `decoder_input_ids` if past model output

* Add donut model

* Add example usage to JSDoc for `DonutSwinModel`

* Add support for `DocumentQuestionAnsweringPipeline`

* Add simple document question answering unit test

* Add listed support for document QA pipeline
2023-09-26 17:46:26 +02:00
..
data Generate tests before running unit tests 2023-05-02 20:01:19 +02:00
configs.test.js Remove unnecessary imports 2023-05-31 02:06:34 +02:00
generate_tests.py Add support for `Blenderbot` and `BlenderbotSmall` (#292) 2023-09-19 13:34:00 +02:00
generation.test.js Add support for `min_length` and `min_new_tokens` generation parameters (#308) 2023-09-17 23:57:13 +02:00
hub.test.js Fix failing tests 2023-05-05 00:05:03 +02:00
init.js Implement `fetch` workaround 2023-06-01 01:09:14 +02:00
maths.test.js Whisper word-level timestamps (#184) 2023-07-09 23:21:43 +02:00
models.test.js Add support for computing CLIP image and text embeddings separately (Closes #148) (#227) 2023-08-01 14:01:04 +02:00
pipelines.test.js Add support for `DonutSwin` models (#320) 2023-09-26 17:46:26 +02:00
requirements.txt New models and refactoring (#276) 2023-09-08 15:17:05 +02:00
tensor.test.js Whisper word-level timestamps (#184) 2023-07-09 23:21:43 +02:00
test_utils.js [WIP] Add MMS and Wav2Vec2 models (Closes #209) (#220) 2023-08-14 22:18:44 +02:00
tokenizers.test.js [WIP] New model/tokenizer types (#165) 2023-06-28 15:14:44 +02:00
utils.test.js Create test suite for utility functions 2023-05-16 22:35:57 +02:00