Fix
* fix: Added encode_kwargs as the input for encode arguments and added batch_size to CLI (1030)
* ci: fix outdated CI for pandas
* fix: Added encode_kwargs as the input for encode arguments and added batch_size to CLI
This PR adds encode_kwargs as an argument to MTEB.run(..., encode_kwargs) which allows passing in arguments to model.encode calls. This has the benefit of removing/distinguishing between multiple model arguments present in the code.
Where default were already in place I have replaced kept them, future PRs might standardize or remove these.
I also add a test to ensure that the encode_kwargs in all cases are passed to the model.encode.
I additionally also add the batch_size argument to the CLI.
* add batch size in for backward compat.
* fixed misspecified defaults
* format
* Added in example of encode_kwargs
* Update mteb/abstasks/AbsTask.py
Co-authored-by: Isaac Chung <chungisaac1217gmail.com>
* Update README.md
Co-authored-by: Isaac Chung <chungisaac1217gmail.com>
---------
Co-authored-by: Isaac Chung <chungisaac1217gmail.com> ([`9032f02`](https://github.com/embeddings-benchmark/mteb/commit/9032f02b56fb0ee6aa43f2cfbfa3a2125ac13c2b))