mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-08-09 11:57:23 +00: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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_model->implementation().modelType()[0] != 'B') {
|
if (m_model->implementation().modelType() != "Bert") {
|
||||||
qWarning() << "WARNING: Model type is not sbert";
|
qWarning() << "WARNING: Model type is not sbert";
|
||||||
delete m_model;
|
delete m_model;
|
||||||
m_model = nullptr;
|
m_model = nullptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user