bstraehle commited on
Commit
15b743b
1 Parent(s): e566aba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ system_prompt = "You are a text to SQL query translator. Given a question in Eng
15
  user_prompt = "What is the total trade value and average price for each trader and stock in the trade_history table?"
16
  schema = "CREATE TABLE trade_history (id INT, trader_id INT, stock VARCHAR(255), price DECIMAL(5,2), quantity INT, trade_time TIMESTAMP);"
17
 
18
- base_model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
19
  dataset = "gretelai/synthetic_text_to_sql"
20
 
21
  def prompt_model(model_id, system_prompt, user_prompt, schema):
 
15
  user_prompt = "What is the total trade value and average price for each trader and stock in the trade_history table?"
16
  schema = "CREATE TABLE trade_history (id INT, trader_id INT, stock VARCHAR(255), price DECIMAL(5,2), quantity INT, trade_time TIMESTAMP);"
17
 
18
+ base_model_id = "codellama/CodeLlama-7b-hf"
19
  dataset = "gretelai/synthetic_text_to_sql"
20
 
21
  def prompt_model(model_id, system_prompt, user_prompt, schema):