-
When i set "--language zh" in searching , there is an error "AttributeError: 'LuceneImpactSearcher' object has no attribute 'set_language'" |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Unfortunately, there is currently on SPLADE model for Chinese. |
Beta Was this translation helpful? Give feedback.
-
The original version of splade is only trained for English using |
Beta Was this translation helpful? Give feedback.
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
.