Fixes for linux and macosx.

This commit is contained in:
Adam Treat
2023-04-10 16:33:14 -04:00
parent b41b1210cf
commit ae91bfa48a
3 changed files with 17 additions and 9 deletions

View File

@@ -650,7 +650,7 @@ bool GPTJ::loadModel(const std::string &modelPath, std::istream &fin) {
// load the model
if (!gptj_model_load(modelPath, fin, d_ptr->model, d_ptr->vocab)) {
std::cerr << "GPT-J ERROR: failed to load model from" << modelPath;
std::cerr << "GPT-J ERROR: failed to load model from " << modelPath;
return false;
}