lightonai / pylate

Late Interaction Models Training & Retrieval
https://lightonai.github.io/pylate/
MIT License
158 stars 7 forks source link

Add the possibility to override the max doc (& query) length from config #13

Closed NohTow closed 4 months ago

NohTow commented 4 months ago

Right now, we are reading these values from the model config and using default ones if not defined. As these values can be different for some tasks (ColBERTv2 use 180 usually but 300 for BEIR for example), it might be cool to be able to set it and override the config values. @raphaelsty any opinion?

NohTow commented 4 months ago

Solved in #15.