You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So that llama_model_loader: loaded meta data with 20 key-value pairs and 291 tensors from .models/mistral-7b-instruct-v0.1.Q4_K_M.gguf... is only shown once
fromfuncchainimportchain, settingsfromfuncchain.model.defaultsimportChatLlamaCpp, get_gguf_modelfrompydanticimportBaseModelmodel="Mistral-7B-Instruct-v0.1-GGUF"model_file="mistral-7b-instruct-v0.1.Q4_K_M.gguf"settings.llm=ChatLlamaCpp(
model_path=get_gguf_model(model, "Q4_K_M", settings).as_posix(),
)
classTranslated(BaseModel):
chinese: strenglish: strfrench: strdefhello(text: str) ->Translated:
""" Translate text into three languages. """returnchain()
hello("Hello!")
hello("one")
hello("two")
The text was updated successfully, but these errors were encountered:
So that
llama_model_loader: loaded meta data with 20 key-value pairs and 291 tensors from .models/mistral-7b-instruct-v0.1.Q4_K_M.gguf...
is only shown onceThe text was updated successfully, but these errors were encountered: