models icon indicating copy to clipboard operation
models copied to clipboard

[FEA] Easy functionality for using class_weights and sample_weights for Retrieval models

Open rnyak opened this issue 3 years ago • 0 comments

🚀 Feature request

  • Since Inbatch sampler converts the retrieval task to multi-class classification, we need an easy functionality to be able to use class_weight and sample_weight args in the model.fit() for retrieval models, without users to deal with customization.
  • add unit test for using sample_weight and class_weight args for retrieval tasks in here
  • we need examples or code snippets in the docs to showcase the functionality

This request comes from a customer.

rnyak avatar Oct 06 '22 12:10 rnyak