aarohanverma commited on
Commit
9133db0
·
verified ·
1 Parent(s): 0788177

Upload 2 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ evaluation_results.csv filter=lfs diff=lfs merge=lfs -text
evaluation_results.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a7aee275ac533f28ce81b9271200a2e2ea8f7b8463812bbcefa492f6eff3660
3
+ size 10665429
text2sql_flant5_qlora.ipynb CHANGED
@@ -1309,7 +1309,7 @@
1309
  },
1310
  {
1311
  "cell_type": "code",
1312
- "execution_count": null,
1313
  "id": "f1c95dfc-6662-44d8-8ecc-bff414fecee5",
1314
  "metadata": {},
1315
  "outputs": [
@@ -1323,6 +1323,21 @@
1323
  " warnings.warn(\n",
1324
  "2025-03-19 16:51:49,933 - INFO - Running inference with beam search decoding.\n"
1325
  ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1326
  }
1327
  ],
1328
  "source": [
 
1309
  },
1310
  {
1311
  "cell_type": "code",
1312
+ "execution_count": 17,
1313
  "id": "f1c95dfc-6662-44d8-8ecc-bff414fecee5",
1314
  "metadata": {},
1315
  "outputs": [
 
1323
  " warnings.warn(\n",
1324
  "2025-03-19 16:51:49,933 - INFO - Running inference with beam search decoding.\n"
1325
  ]
1326
+ },
1327
+ {
1328
+ "name": "stdout",
1329
+ "output_type": "stream",
1330
+ "text": [
1331
+ "Prompt:\n",
1332
+ "Context:\n",
1333
+ "CREATE TABLE employees (id INT PRIMARY KEY, name VARCHAR(100), department VARCHAR(50), salary INT); CREATE TABLE projects (project_id INT PRIMARY KEY, project_name VARCHAR(100), budget INT); CREATE TABLE employee_projects (employee_id INT, project_id INT, role VARCHAR(50), FOREIGN KEY (employee_id) REFERENCES employees(id), FOREIGN KEY (project_id) REFERENCES projects(project_id)); INSERT INTO employees (id, name, department, salary) VALUES (1, 'Alice', 'Engineering', 90000), (2, 'Bob', 'Marketing', 70000), (3, 'Charlie', 'Engineering', 95000), (4, 'David', 'HR', 60000), (5, 'Eve', 'Engineering', 110000); INSERT INTO projects (project_id, project_name, budget) VALUES (101, 'AI Research', 500000), (102, 'Marketing Campaign', 200000), (103, 'Cloud Migration', 300000); INSERT INTO employee_projects (employee_id, project_id, role) VALUES (1, 101, 'Lead Engineer'), (2, 102, 'Marketing Specialist'), (3, 101, 'Engineer'), (4, 103, 'HR Coordinator'), (5, 101, 'AI Scientist');\n",
1334
+ "\n",
1335
+ "Query:\n",
1336
+ "Find the names of employees who are working on the 'AI Research' project along with their roles.\n",
1337
+ "\n",
1338
+ "Response:\n",
1339
+ "SELECT employees.name, employee_projects.role FROM employees INNER JOIN employee_projects ON employees.id = employee_projects.employee_id INNER JOIN projects ON employee_projects.project_id = projects.project_id WHERE projects.project_name = 'AI Research';\n"
1340
+ ]
1341
  }
1342
  ],
1343
  "source": [