summaryrefslogtreecommitdiff
path: root/examples/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/common.h')
-rw-r--r--examples/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/common.h b/examples/common.h
index 627696e3..138d0ded 100644
--- a/examples/common.h
+++ b/examples/common.h
@@ -78,6 +78,12 @@ std::string gpt_random_prompt(std::mt19937 & rng);
std::vector<llama_token> llama_tokenize(struct llama_context * ctx, const std::string & text, bool add_bos);
//
+// Model utils
+//
+
+struct llama_context * llama_init_from_gpt_params(const gpt_params & params);
+
+//
// Console utils
//