modified: app.py
This commit is contained in:
parent
2f8a6c502d
commit
f256d65391
1 changed files with 1 additions and 0 deletions
1
app.py
1
app.py
|
|
@ -869,6 +869,7 @@ def chat_together(
|
|||
|
||||
def chat_llama(username, room_name, message, model_name="mistral-7b-instruct-v0.2.Q3_K_L.gguf"):
|
||||
|
||||
# https://llama-cpp-python.readthedocs.io/en/latest/api-reference/
|
||||
model = llama_cpp.Llama(model_name, n_gpu_layers=-1, n_ctx=32000)
|
||||
|
||||
limit = 15
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue