bstraehle commited on
Commit
67d5461
1 Parent(s): 8c90204

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,8 +17,8 @@ SYSTEM_PROMPT = "You are a text to SQL query translator. Given a question in Eng
17
  USER_PROMPT = "How many new users joined from countries with stricter data privacy laws than the United States in the past month?"
18
  SQL_CONTEXT = "CREATE TABLE users (user_id INT, country VARCHAR(50), joined_date DATE); CREATE TABLE data_privacy_laws (country VARCHAR(50), privacy_level INT); INSERT INTO users (user_id, country, joined_date) VALUES (1, 'USA', '2023-02-15'), (2, 'Germany', '2023-02-27'); INSERT INTO data_privacy_laws (country, privacy_level) VALUES ('USA', 5), ('Germany', 8);"
19
 
20
- BASE_MODEL_NAME = "meta-llama/Meta-Llama-3.1-8B-Instruct"
21
- FT_MODEL_NAME = "Meta-Llama-3.1-8B-Instruct-text-to-sql"
22
  DATASET_NAME = "gretelai/synthetic_text_to_sql"
23
 
24
  def process(action, base_model_name, ft_model_name, dataset_name, system_prompt, user_prompt, sql_context):
 
17
  USER_PROMPT = "How many new users joined from countries with stricter data privacy laws than the United States in the past month?"
18
  SQL_CONTEXT = "CREATE TABLE users (user_id INT, country VARCHAR(50), joined_date DATE); CREATE TABLE data_privacy_laws (country VARCHAR(50), privacy_level INT); INSERT INTO users (user_id, country, joined_date) VALUES (1, 'USA', '2023-02-15'), (2, 'Germany', '2023-02-27'); INSERT INTO data_privacy_laws (country, privacy_level) VALUES ('USA', 5), ('Germany', 8);"
19
 
20
+ BASE_MODEL_NAME = "meta-llama/Meta-Llama-3.1-8B"
21
+ FT_MODEL_NAME = "Meta-Llama-3.1-8B-text-to-sql"
22
  DATASET_NAME = "gretelai/synthetic_text_to_sql"
23
 
24
  def process(action, base_model_name, ft_model_name, dataset_name, system_prompt, user_prompt, sql_context):