From 8e1d61056a0d602fde3963eef3b0b178cc858aa1 Mon Sep 17 00:00:00 2001 From: kaarthik108 Date: Mon, 25 Sep 2023 19:34:33 +1300 Subject: [PATCH] Fix code llama --- .gitignore | 5 ++++- chain.py | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 6eb35bd..afcf150 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,7 @@ __pycache__/ secrets.toml .ruff_cache -archived_logs/ \ No newline at end of file +archived_logs/ + +build/ +snowchat.egg-info/ \ No newline at end of file diff --git a/chain.py b/chain.py index 7fa38a8..6bba2b6 100644 --- a/chain.py +++ b/chain.py @@ -57,7 +57,7 @@ context: \n {context} <> -WRITE RESPONSES IN MARKDOWN FORMAT and code in ```sql ``` +write responses in markdown format Answer: @@ -74,8 +74,8 @@ supabase_key = st.secrets["SUPABASE_SERVICE_KEY"] supabase: Client = create_client(supabase_url, supabase_key) -VERSION = "da5676342de1a5a335b848383af297f592b816b950a43d251a0a9edd0113604b" -LLAMA = "replicate/codellama-13b-instruct:{}".format(VERSION) +VERSION = "be553392065353425e0f0193d2a896d6a5ff201549f5d7cd9180c8dfdeac39ed" +LLAMA = "meta/codellama-13b-instruct:{}".format(VERSION) def get_chain_replicate(vectorstore, callback_handler=None):