Skip to content

Commit

Permalink
Update gpt4all-chat/embllm.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Jared Van Bortel <[email protected]>
Signed-off-by: AT <[email protected]>
  • Loading branch information
manyoso and cebtenzzre committed Nov 17, 2023
1 parent 4b413a6 commit abd4703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpt4all-chat/embllm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit abd4703

Please sign in to comment.