Skip to content

AttributeError: 'LuceneImpactSearcher' object has no attribute 'set_language' #1365

Answered by MXueguang
Wenze7 asked this question in Q&A
Discussion options

You must be logged in to vote

The original version of splade is only trained for English using bert-base-uncased model.
If you already trained your Chinese version of splade with model like bert-base-multilingual-cased and finished encoding, you can directly follow the document to do indexing and search, without the need of setting --language zh.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Wenze7
Comment options

Comment options

You must be logged in to vote
1 reply
@Wenze7
Comment options

Answer selected by Wenze7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1364 on December 01, 2022 12:17.