Closed Ciao-CA closed 2 weeks ago
Sorry, there is a bug when determining the model type in multi gpu setting, which may result in inability to properly recognize T5-based models.
We have fixed it, you can try it again.
Note: For ANCE, you should set pooling_method
to cls
.
when I run index_builder.py,I got an error
ValueError: You have to specify either decoder_input_ids or decoder_inputs_embeds
I guess it may due to ANCE's T5 based(encoder-decoder), and I don't find where decoder is in index_builder.py. So I wonder how I can solve this question, thanks!