Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ system_prompt = "You are a text to SQL query translator. Given a question in Eng
|
|
14 |
user_prompt = "What is the total trade value and average price for each trader and stock in the trade_history table?"
|
15 |
schema = "CREATE TABLE trade_history (id INT, trader_id INT, stock VARCHAR(255), price DECIMAL(5,2), quantity INT, trade_time TIMESTAMP);"
|
16 |
|
17 |
-
base_model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
|
18 |
dataset = "b-mc2/sql-create-context"
|
19 |
|
20 |
def process(action, base_model_id, dataset, system_prompt, user_prompt, schema):
|
|
|
14 |
user_prompt = "What is the total trade value and average price for each trader and stock in the trade_history table?"
|
15 |
schema = "CREATE TABLE trade_history (id INT, trader_id INT, stock VARCHAR(255), price DECIMAL(5,2), quantity INT, trade_time TIMESTAMP);"
|
16 |
|
17 |
+
base_model_id = "meta-llama/Meta-Llama-3.1-8B-Instruct"
|
18 |
dataset = "b-mc2/sql-create-context"
|
19 |
|
20 |
def process(action, base_model_id, dataset, system_prompt, user_prompt, schema):
|