Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
黄宇扬 committed Sep 22, 2024
1 parent 72e5cba commit 0222fa1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "minicpm.h"
#include "internlm2.h"
#include "bert.h"
#include "xlmroberta.h"
#include "graphllm.h"
#include "phi3.h"

Expand Down Expand Up @@ -194,6 +195,8 @@ namespace fastllm {
model = (basellm*)(new GLMModel());
} else if (modelType == "bert") {
model = (basellm*)(new BertModel());
} else if (modelType == "xlm-roberta") {
model = (basellm*)(new XlmRobertaModel());
} else if (modelType == "fastllmJson") {
model = new GraphLLMModel("fastllmJson");
} else {
Expand Down

0 comments on commit 0222fa1

Please sign in to comment.