File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -516,7 +516,7 @@ chat_handler = Llava15ChatHandler(clip_model_path="path/to/llava/mmproj.bin")
516516llm = Llama(
517517 model_path = " ./path/to/llava/llama-model.gguf" ,
518518 chat_handler = chat_handler,
519- n_ctx = 2048 , # n_ctx should be increased to accomodate the image embedding
519+ n_ctx = 2048 , # n_ctx should be increased to accommodate the image embedding
520520)
521521llm.create_chat_completion(
522522 messages = [
@@ -547,7 +547,7 @@ llm = Llama.from_pretrained(
547547 repo_id = " vikhyatk/moondream2" ,
548548 filename = " *text-model*" ,
549549 chat_handler = chat_handler,
550- n_ctx = 2048 , # n_ctx should be increased to accomodate the image embedding
550+ n_ctx = 2048 , # n_ctx should be increased to accommodate the image embedding
551551)
552552
553553respoonse = llm.create_chat_completion(
You can’t perform that action at this time.
0 commit comments