Open sam-bercovici opened 1 week ago
Thanks for flagging! Would you be willing to submit your proposed changes as a PR? I'm happy with this logic being added to handle various kwargs situations!
Thanks for flagging! Would you be willing to submit your proposed changes as a PR? I'm happy with this logic being added to handle various kwargs situations!
Sure. I will try to find a couple of hours to do so in the next week or so.
I am using colbert.
see: https://github.com/huggingface/tokenizers/issues/537
I suggest you allow to pass tokenizer_kwargs and model_kewargs to the Reranker factory class which will pass it forward.
follows an example on how to modify the ColBERTRanker ini
I marked the modification with ## change