Files
Joshua Lochner ebd533531a Add support for cross-encoder models (+fix token type ids) (#501)
* Formatting

* Update ESM pair template

* Fix token type ids

* Update JSDoc

* Cleanup

* Remove unused `prepare_model_inputs` function

* Move pad and truncate logic to helper functions

* Add static padding/truncation unit tests

* Fix padding/truncation

* Remove unused `add_token_types` function

* Reduce duplication

* `let` -> `const` where possible

* Add cross-encoder models
2024-01-04 18:37:26 +02:00
..
2023-09-08 15:17:05 +02:00
2023-12-27 15:49:33 +02:00
2023-09-01 16:14:49 +02:00