mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Update gpt4all-chat/embllm.cpp
Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com> Signed-off-by: AT <manyoso@users.noreply.github.com>
This commit is contained in:
parent
4b413a60e4
commit
abd4703c79
@ -38,7 +38,7 @@ bool EmbeddingLLM::loadModel()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (m_model->implementation().modelType()[0] != 'B') {
|
||||
if (m_model->implementation().modelType() != "Bert") {
|
||||
qWarning() << "WARNING: Model type is not sbert";
|
||||
delete m_model;
|
||||
m_model = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user