docs: update README.md (#1432)

accomodate -> accommodate
This commit is contained in:
Ikko Eltociear Ashimine 2024-05-08 15:20:20 +09:00 committed by GitHub
parent a50d24e3a7
commit 07966b9ba7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -516,7 +516,7 @@ chat_handler = Llava15ChatHandler(clip_model_path="path/to/llava/mmproj.bin")
llm = Llama( llm = Llama(
model_path="./path/to/llava/llama-model.gguf", model_path="./path/to/llava/llama-model.gguf",
chat_handler=chat_handler, chat_handler=chat_handler,
n_ctx=2048, # n_ctx should be increased to accomodate the image embedding n_ctx=2048, # n_ctx should be increased to accommodate the image embedding
) )
llm.create_chat_completion( llm.create_chat_completion(
messages = [ messages = [
@ -547,7 +547,7 @@ llm = Llama.from_pretrained(
repo_id="vikhyatk/moondream2", repo_id="vikhyatk/moondream2",
filename="*text-model*", filename="*text-model*",
chat_handler=chat_handler, chat_handler=chat_handler,
n_ctx=2048, # n_ctx should be increased to accomodate the image embedding n_ctx=2048, # n_ctx should be increased to accommodate the image embedding
) )
respoonse = llm.create_chat_completion( respoonse = llm.create_chat_completion(