DeanGumas commited on
Commit
7552ccc
·
1 Parent(s): 3cfda01

removing evil test_set query and updating validation to output metrics more often

Browse files
finetune_model.ipynb CHANGED
The diff for this file is too large to render. See raw diff
 
training-data/test_set.tsv CHANGED
@@ -99,7 +99,6 @@ Show countries with more than 1000 players SELECT ioc, COUNT(*) as player_count
99
  What is the highest number of points the Golden State Warriors have ever scored in a single home game? SELECT MAX(pts_home) FROM game WHERE team_abbreviation_home = 'GSW'; 149.0 True
100
  How many right handed players are there? SELECT COUNT(*) FROM players WHERE hand = 'R'; 15666 False
101
  What was the difference in second-chance points between the Chicago Bulls and their opponents in their closest home game of the 2016 season? SELECT o.pts_2nd_chance_home - o.pts_2nd_chance_away AS second_chance_diff FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Chicago Bulls' AND g.season_id = '22016' ORDER BY ABS(g.pts_home - g.pts_away) ASC LIMIT 1; -5 True
102
- Find all players who have a higher rank than 'Rafael Nadal' on '2023-05-29'. SELECT T1.name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player WHERE T2.ranking_date = 20230529 AND T2.rank < (SELECT rank FROM rankings AS T3 JOIN players AS T4 ON T3.player = T4.player_id WHERE T4.name = 'Rafael Nadal' AND T3.ranking_date = 20230529); Carlos Alcaraz Daniil Medvedev Novak Djokovic Casper Ruud Stefanos Tsitsipas Holger Rune Andrey Rublev Taylor Fritz Jannik Sinner Felix Auger Aliassime Karen Khachanov Frances Tiafoe Cameron Norrie Hubert Hurkacz False
103
  "What is the total second chance points by the Miami Heat at home?""" SELECT SUM(pts_2nd_chance_home) as total_2nd_chance FROM other_stats WHERE team_abbreviation_home = 'MIA'; 11670.0 True
104
  How many points did the home team score in the game with the most second chance points? SELECT pts_home FROM game WHERE game_id = (SELECT game_id FROM other_stats ORDER BY (pts_2nd_chance_home + pts_2nd_chance_away) DESC LIMIT 1); 115.0 True
105
  How many times has Pete Sampras been ranked in the top 5? SELECT COUNT(*) AS top5_count FROM rankings r JOIN players p ON r.player = p.player_id WHERE p.name = 'Pete Sampras' AND r.rank <= 5; 509 False
 
99
  What is the highest number of points the Golden State Warriors have ever scored in a single home game? SELECT MAX(pts_home) FROM game WHERE team_abbreviation_home = 'GSW'; 149.0 True
100
  How many right handed players are there? SELECT COUNT(*) FROM players WHERE hand = 'R'; 15666 False
101
  What was the difference in second-chance points between the Chicago Bulls and their opponents in their closest home game of the 2016 season? SELECT o.pts_2nd_chance_home - o.pts_2nd_chance_away AS second_chance_diff FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Chicago Bulls' AND g.season_id = '22016' ORDER BY ABS(g.pts_home - g.pts_away) ASC LIMIT 1; -5 True
 
102
  "What is the total second chance points by the Miami Heat at home?""" SELECT SUM(pts_2nd_chance_home) as total_2nd_chance FROM other_stats WHERE team_abbreviation_home = 'MIA'; 11670.0 True
103
  How many points did the home team score in the game with the most second chance points? SELECT pts_home FROM game WHERE game_id = (SELECT game_id FROM other_stats ORDER BY (pts_2nd_chance_home + pts_2nd_chance_away) DESC LIMIT 1); 115.0 True
104
  How many times has Pete Sampras been ranked in the top 5? SELECT COUNT(*) AS top5_count FROM rankings r JOIN players p ON r.player = p.player_id WHERE p.name = 'Pete Sampras' AND r.rank <= 5; 509 False