Dataset Viewer
Auto-converted to Parquet Duplicate
seq_idx
int64
0
2.3k
seq_len
int64
90
110
description
stringlengths
267
464
metadata
stringlengths
368
583
time_since_start
listlengths
90
110
time_since_last_event
listlengths
90
110
type_event
listlengths
90
110
type_text
listlengths
90
110
0
102
NBA Regular Season game between the New Orleans Pelicans and the Orlando Magic on 2024-11-08. Q1 play-by-play events. New Orleans Pelicans: A. Reeves, B. Boston, B. Ingram, D. Theis, J. Alvarado, J. Green, J. Robinson-Earl, Y. Missi; Orlando Magic: A. Black, F. Wagner, G. Bitadze, J. Isaac, J. Suggs, K. Caldwell-Pope, ...
{"game_id": "0022400186", "home_team": "ORL", "away_team": "NOP", "home_players": ["A. Black", "F. Wagner", "G. Bitadze", "J. Isaac", "J. Suggs", "K. Caldwell-Pope", "M. Wagner", "T. da Silva"], "away_players": ["A. Reeves", "B. Boston", "B. Ingram", "D. Theis", "J. Alvarado", "J. Green", "J. Robinson-Earl", "Y. Missi"...
[ 0, 0.033333333333333326, 0.16666666666666669, 0.2833333333333334, 0.2833333333333334, 0.36666666666666664, 0.5666666666666667, 0.5666666666666667, 0.6333333333333333, 0.8500000000000001, 0.8500000000000001, 0.9000000000000001, 0.9000000000000001, 0.9666666666666668, 0.9666666666666668, ...
[ 0, 0.033333333333333326, 0.13333333333333336, 0.1166666666666667, 0, 0.08333333333333326, 0.20000000000000007, 0, 0.06666666666666665, 0.21666666666666667, 0, 0.050000000000000044, 0, 0.06666666666666665, 0, 0.33333333333333326, 0.3833333333333333, 0.30000000000000027, 0.04999999...
[ "missed_fg", "rebound", "made_2pt", "turnover", "steal_or_block", "turnover", "turnover", "steal_or_block", "made_2pt", "missed_fg", "rebound", "turnover", "steal_or_block", "made_2pt", "timeout", "made_2pt", "made_2pt", "missed_fg", "rebound", "made_3pt", "foul", "free_thr...
[ "K. Caldwell-Pope, Grizzlies guard. misses a 3-point jump from 26 feet from the top of the arc for the Orlando Magic. The game is tied. early in the game.", "G. Bitadze, Magic center-forward. grabs an offensive rebound for the Orlando Magic. The game is tied. early in the game.", "F. Wagner, Magic forward. make...
1
106
NBA Regular Season game between the Miami Heat and the Milwaukee Bucks on 2025-01-23. Q3 play-by-play events. Miami Heat: B. Adebayo, D. Robinson, H. Highsmith, J. Jaquez Jr., K. Ware, N. Jović, P. Larsson, T. Herro; Milwaukee Bucks: A. Jackson Jr., B. Lopez, B. Portis, D. Lillard, G. Antetokounmpo, G. Trent Jr., P. Co...
{"game_id": "0022400624", "home_team": "MIL", "away_team": "MIA", "home_players": ["A. Jackson Jr.", "B. Lopez", "B. Portis", "D. Lillard", "G. Antetokounmpo", "G. Trent Jr.", "P. Connaughton", "R. Rollins", "T. Prince"], "away_players": ["B. Adebayo", "D. Robinson", "H. Highsmith", "J. Jaquez Jr.", "K. Ware", "N. Jovi...
[ 0, 0.05000000000000071, 0.05000000000000071, 0.1999999999999993, 0.216666666666665, 0.5333333333333314, 0.5666666666666664, 0.6999999999999993, 0.6999999999999993, 0.8499999999999979, 0.8499999999999979, 0.9333333333333336, 0.966666666666665, 1.0833333333333321, 1.1333333333333329, 1.3...
[ 0, 0.05000000000000071, 0, 0.14999999999999858, 0.01666666666666572, 0.31666666666666643, 0.03333333333333499, 0.13333333333333286, 0, 0.14999999999999858, 0, 0.0833333333333357, 0.03333333333333144, 0.11666666666666714, 0.05000000000000071, 0.16666666666666785, 0.08333333333333215, ...
[ "missed_fg", "rebound", "turnover", "missed_fg", "rebound", "missed_fg", "rebound", "turnover", "steal_or_block", "turnover", "steal_or_block", "missed_fg", "rebound", "missed_fg", "rebound", "missed_fg", "rebound", "missed_fg", "rebound", "missed_fg", "rebound", "missed_fg...
[ "D. Robinson, Pistons forward. misses a 3-point jump from 0 feet from the left corner three for the Miami Heat. The game is tied. Milwaukee Bucks currently on a 5-0 scoring run.", "G. Antetokounmpo, Bucks forward. grabs a defensive rebound for the Milwaukee Bucks. The game is tied. Milwaukee Bucks currently on a ...
2
106
NBA Regular Season game between the New York Knicks and the Indiana Pacers on 2025-02-11. Q2 play-by-play events. New York Knicks: C. Payne, J. Brunson, J. Hart, K. Towns, L. Shamet, M. Bridges, M. McBride, P. Achiuwa; Indiana Pacers: A. Nembhard, A. Nesmith, B. Mathurin, B. Sheppard, O. Toppin, P. Siakam, T. Bryant, T...
{"game_id": "0022400765", "home_team": "IND", "away_team": "NYK", "home_players": ["A. Nembhard", "A. Nesmith", "B. Mathurin", "B. Sheppard", "O. Toppin", "P. Siakam", "T. Bryant", "T. Haliburton", "T. McConnell"], "away_players": ["C. Payne", "J. Brunson", "J. Hart", "K. Towns", "L. Shamet", "M. Bridges", "M. McBride"...
[ 0, 0.25, 0.3000000000000007, 0.3333333333333339, 0.3333333333333339, 0.36666666666666714, 0.4833333333333343, 0.4833333333333343, 0.4833333333333343, 0.5833333333333339, 0.5833333333333339, 0.75, 1, 1.2166666666666668, 1.5333333333333332, 1.5500000000000007, 1.6833333333333336, 1.8...
[ 0, 0.25, 0.05000000000000071, 0.033333333333333215, 0, 0.033333333333333215, 0.11666666666666714, 0, 0, 0.09999999999999964, 0, 0.16666666666666607, 0.25, 0.21666666666666679, 0.31666666666666643, 0.016666666666667496, 0.13333333333333286, 0.15000000000000036, 0.15000000000000036...
[ "made_3pt", "missed_fg", "rebound", "missed_fg", "steal_or_block", "rebound", "foul", "free_throw", "free_throw", "foul", "free_throw", "made_3pt", "made_2pt", "made_2pt", "missed_fg", "rebound", "made_3pt", "turnover", "made_2pt", "foul", "free_throw", "made_3pt", "turno...
[ "B. Mathurin, Clippers guard-forward. makes a 3-point jump from 24 feet from the right corner three for the Indiana Pacers. Indiana Pacers lead 29-27 in a tight game.", "L. Shamet, Knicks guard. misses a 3-point jump from 0 feet from the left corner three for the New York Knicks. The game is tied.", "K. Towns, ...
3
102
NBA Regular Season game between the LA Clippers and the Boston Celtics on 2024-11-25. Q1 play-by-play events. LA Clippers: A. Coffey, D. Jones Jr., I. Zubac, J. Harden, K. Brown, K. Dunn, K. Porter Jr., N. Batum, T. Mann; Boston Celtics: D. White, J. Brown, J. Holiday, J. Tatum, K. Porziņģis, N. Queta, P. Pritchard, S....
{"game_id": "0022400281", "home_team": "BOS", "away_team": "LAC", "home_players": ["D. White", "J. Brown", "J. Holiday", "J. Tatum", "K. Porzi\u0146\u0123is", "N. Queta", "P. Pritchard", "S. Hauser"], "away_players": ["A. Coffey", "D. Jones Jr.", "I. Zubac", "J. Harden", "K. Brown", "K. Dunn", "K. Porter Jr.", "N. Batu...
[ 0, 0.033333333333333326, 0.1166666666666667, 0.2833333333333333, 0.33333333333333337, 0.45000000000000007, 0.6333333333333333, 0.8333333333333333, 0.8999999999999999, 1.0166666666666666, 1.0166666666666666, 1.0833333333333333, 1.2833333333333334, 1.3333333333333333, 1.5166666666666666, ...
[ 0, 0.033333333333333326, 0.08333333333333337, 0.16666666666666663, 0.050000000000000044, 0.1166666666666667, 0.18333333333333324, 0.19999999999999996, 0.06666666666666665, 0.1166666666666667, 0, 0.06666666666666665, 0.20000000000000018, 0.04999999999999982, 0.18333333333333335, 0.25000...
[ "missed_fg", "rebound", "turnover", "missed_fg", "rebound", "made_2pt", "made_3pt", "missed_fg", "rebound", "turnover", "steal_or_block", "made_2pt", "missed_fg", "rebound", "made_2pt", "missed_fg", "rebound", "missed_fg", "rebound", "missed_fg", "rebound", "missed_fg", "...
[ "I. Zubac, Pacers center. misses a 2-point driving layup from 5 feet in the paint for the LA Clippers. The game is tied. early in the game.", "I. Zubac, Pacers center. grabs an offensive rebound for the LA Clippers. The game is tied. early in the game.", "K. Dunn, Clippers guard. commits a step out of bounds tu...
4
102
NBA Regular Season game between the Brooklyn Nets and the Chicago Bulls on 2024-12-02. Q1 play-by-play events. Brooklyn Nets: D. Schröder, D. Sharpe, D. Whitehead, J. Wilson, K. Johnson, N. Claxton, S. Milton, T. Martin, T. Watford; Chicago Bulls: A. Dosunmu, D. Terry, J. Giddey, J. Phillips, J. Smith, L. Ball, M. Buze...
{"game_id": "0022400317", "home_team": "CHI", "away_team": "BKN", "home_players": ["A. Dosunmu", "D. Terry", "J. Giddey", "J. Phillips", "J. Smith", "L. Ball", "M. Buzelis", "N. Vu\u010devi\u0107", "T. Horton-Tucker", "Z. LaVine"], "away_players": ["D. Schr\u00f6der", "D. Sharpe", "D. Whitehead", "J. Wilson", "K. Johns...
[ 0, 0.3499999999999999, 0.3499999999999999, 0.5166666666666666, 0.5666666666666667, 0.6166666666666667, 0.6333333333333333, 0.8500000000000001, 0.9333333333333333, 1.0666666666666667, 1.0666666666666667, 1.1, 1.1666666666666667, 1.1666666666666667, 1.1666666666666667, 1.1666666666666667...
[ 0, 0.3499999999999999, 0, 0.16666666666666674, 0.04999999999999993, 0.050000000000000044, 0.016666666666666607, 0.21666666666666679, 0.08333333333333326, 0.1333333333333333, 0, 0.03333333333333344, 0.06666666666666665, 0, 0, 0, 0.2333333333333334, 0.33333333333333326, 0.316666666...
[ "made_2pt", "turnover", "steal_or_block", "missed_fg", "rebound", "missed_fg", "rebound", "missed_fg", "rebound", "missed_fg", "steal_or_block", "rebound", "foul", "free_throw", "rebound", "free_throw", "made_3pt", "made_2pt", "missed_fg", "rebound", "missed_fg", "rebound",...
[ "N. Claxton, Nets center. makes a 2-point driving dunk from 1 feet near the basket for the Brooklyn Nets. Brooklyn Nets lead 2-0 in a tight game. early in the game.", "N. Vučević, Celtics center. commits a lost ball turnover for the Chicago Bulls. The game is tied. early in the game.", "N. Claxton, Nets center....
5
103
NBA Regular Season game between the Milwaukee Bucks and the Toronto Raptors on 2025-01-06. Q3 play-by-play events. Milwaukee Bucks: A. Green, A. Jackson Jr., B. Lopez, B. Portis, D. Lillard, G. Antetokounmpo, G. Trent Jr., R. Rollins, T. Prince; Toronto Raptors: B. Brown, G. Dick, I. Quickley, J. Poeltl, J. Shead, J. W...
{"game_id": "0022400497", "home_team": "TOR", "away_team": "MIL", "home_players": ["B. Brown", "G. Dick", "I. Quickley", "J. Poeltl", "J. Shead", "J. Walter", "K. Olynyk", "O. Agbaji", "R. Barrett", "S. Barnes"], "away_players": ["A. Green", "A. Jackson Jr.", "B. Lopez", "B. Portis", "D. Lillard", "G. Antetokounmpo", "...
[ 0, 0.04999999999999716, 0.18333333333333357, 0.33333333333333215, 0.6999999999999993, 0.75, 0.8999999999999986, 1.1499999999999986, 1.1999999999999993, 1.2999999999999972, 1.2999999999999972, 1.4333333333333336, 1.4833333333333307, 1.5333333333333314, 1.6166666666666636, 1.666666666666...
[ 0, 0.04999999999999716, 0.1333333333333364, 0.14999999999999858, 0.36666666666666714, 0.05000000000000071, 0.14999999999999858, 0.25, 0.05000000000000071, 0.09999999999999787, 0, 0.1333333333333364, 0.04999999999999716, 0.05000000000000071, 0.08333333333333215, 0.05000000000000071, 0...
[ "missed_fg", "rebound", "made_3pt", "turnover", "missed_fg", "rebound", "turnover", "missed_fg", "rebound", "foul", "turnover", "missed_fg", "rebound", "turnover", "missed_fg", "rebound", "foul", "turnover", "missed_fg", "rebound", "made_2pt", "missed_fg", "rebound", "m...
[ "S. Barnes, Raptors forward-guard. misses a 3-point jump from 24 feet from the left corner three for the Toronto Raptors. The game is tied.", "G. Antetokounmpo, Bucks forward. grabs a defensive rebound for the Milwaukee Bucks. The game is tied.", "D. Lillard, Trail Blazers guard. makes a 3-point jump from 26 fe...
6
102
NBA Regular Season game between the Memphis Grizzlies and the Brooklyn Nets on 2024-11-04. Q4 play-by-play events. Memphis Grizzlies: J. Jackson Jr., J. LaRavia, J. Morant, J. Wells, S. Aldama, S. Pippen Jr., Z. Edey; Brooklyn Nets: C. Johnson, C. Thomas, D. Finney-Smith, D. Schröder, J. Wilson, K. Johnson, N. Claxton,...
{"game_id": "0022400158", "home_team": "BKN", "away_team": "MEM", "home_players": ["C. Johnson", "C. Thomas", "D. Finney-Smith", "D. Schr\u00f6der", "J. Wilson", "K. Johnson", "N. Claxton", "S. Milton", "Z. Williams"], "away_players": ["J. Jackson Jr.", "J. LaRavia", "J. Morant", "J. Wells", "S. Aldama", "S. Pippen Jr....
[ 0, 0, 0.2666666666666657, 0.3333333333333357, 0.46666666666666856, 0.6666666666666643, 0.6666666666666643, 0.9333333333333371, 0.9333333333333371, 0.9333333333333371, 1.1499999999999986, 1.1499999999999986, 1.1499999999999986, 1.5333333333333314, 1.6000000000000014, 1.6000000000000014,...
[ 0, 0, 0.2666666666666657, 0.06666666666666998, 0.13333333333333286, 0.19999999999999574, 0, 0.2666666666666728, 0, 0, 0.21666666666666146, 0, 0, 0.38333333333333286, 0.06666666666666998, 0, 0.14999999999999858, 0, 0.03333333333333144, 0.0833333333333357, 0.03333333333333144, ...
[ "turnover", "steal_or_block", "missed_fg", "rebound", "made_2pt", "foul", "turnover", "made_2pt", "foul", "free_throw", "foul", "free_throw", "free_throw", "missed_fg", "rebound", "made_2pt", "missed_fg", "steal_or_block", "rebound", "missed_fg", "rebound", "foul", "misse...
[ "S. Pippen Jr., Grizzlies guard. commits a bad pass turnover for the Memphis Grizzlies. The game is tied.", "Z. Williams, Nets forward. records a steal for the Brooklyn Nets. The game is tied.", "K. Johnson, Nets guard. misses a 3-point jump from 26 feet from the top of the arc for the Brooklyn Nets. The game i...
7
92
NBA Regular Season game between the Boston Celtics and the Toronto Raptors on 2025-01-15. Q3 play-by-play events. Boston Celtics: A. Horford, D. White, J. Brown, J. Holiday, J. Tatum, K. Porziņģis, L. Kornet, P. Pritchard, S. Hauser; Toronto Raptors: B. Brown, C. Boucher, D. Mitchell, G. Dick, J. Poeltl, J. Shead, K. O...
{"game_id": "0022400562", "home_team": "TOR", "away_team": "BOS", "home_players": ["B. Brown", "C. Boucher", "D. Mitchell", "G. Dick", "J. Poeltl", "J. Shead", "K. Olynyk", "R. Barrett", "S. Barnes"], "away_players": ["A. Horford", "D. White", "J. Brown", "J. Holiday", "J. Tatum", "K. Porzi\u0146\u0123is", "L. Kornet",...
[ 0, 0.23333333333333073, 0.6333333333333329, 0.8999999999999986, 0.93333333333333, 0.966666666666665, 1.0666666666666664, 1.2999999999999972, 1.3499999999999979, 1.466666666666665, 1.466666666666665, 1.466666666666665, 1.5, 1.6666666666666643, 1.9166666666666643, 2.083333333333332, 2....
[ 0, 0.23333333333333073, 0.40000000000000213, 0.2666666666666657, 0.03333333333333144, 0.03333333333333499, 0.10000000000000142, 0.23333333333333073, 0.05000000000000071, 0.11666666666666714, 0, 0, 0.03333333333333499, 0.1666666666666643, 0.25, 0.16666666666666785, 0.23333333333333428...
[ "made_2pt", "made_3pt", "made_2pt", "missed_fg", "rebound", "made_2pt", "foul", "missed_fg", "rebound", "foul", "free_throw", "free_throw", "rebound", "made_2pt", "made_3pt", "turnover", "made_2pt", "made_3pt", "missed_fg", "rebound", "made_2pt", "foul", "turnover", "fo...
[ "S. Barnes, Raptors forward-guard. makes a 2-point fadeaway jump from 10 feet from the mid-range for the Toronto Raptors. Toronto Raptors lead 57-53 in a tight game.", "K. Porziņģis, Warriors forward-center. makes a 3-point jump from 30 feet from the top of the arc for the Boston Celtics. Toronto Raptors lead 57-...
8
109
NBA Regular Season game between the Chicago Bulls and the Los Angeles Lakers on 2025-03-22. Q3 play-by-play events. Chicago Bulls: C. White, D. Terry, J. Giddey, K. Huerter, M. Buzelis, N. Vučević, P. Williams, Z. Collins; Los Angeles Lakers: A. Reaves, D. Finney-Smith, G. Vincent, J. Goodwin, J. Hayes, J. Vanderbilt, ...
{"game_id": "0022401028", "home_team": "LAL", "away_team": "CHI", "home_players": ["A. Reaves", "D. Finney-Smith", "G. Vincent", "J. Goodwin", "J. Hayes", "J. Vanderbilt", "L. Don\u010di\u0107", "L. James", "R. Hachimura"], "away_players": ["C. White", "D. Terry", "J. Giddey", "K. Huerter", "M. Buzelis", "N. Vu\u010dev...
[ 0, 0.08333333333333215, 0.08333333333333215, 0.10000000000000142, 0.25, 0.4499999999999993, 0.4499999999999993, 0.4499999999999993, 0.716666666666665, 0.716666666666665, 0.75, 0.75, 1.0666666666666664, 1.3166666666666664, 1.6166666666666671, 1.6166666666666671, 1.6166666666666671, ...
[ 0, 0.08333333333333215, 0, 0.016666666666669272, 0.14999999999999858, 0.1999999999999993, 0, 0, 0.2666666666666657, 0, 0.03333333333333499, 0, 0.31666666666666643, 0.25, 0.3000000000000007, 0, 0, 0.03333333333333144, 0.21666666666666856, 0.1999999999999993, 0.0500000000000007...
[ "missed_fg", "rebound", "missed_fg", "rebound", "made_2pt", "foul", "free_throw", "free_throw", "turnover", "steal_or_block", "foul", "turnover", "made_2pt", "made_3pt", "foul", "free_throw", "free_throw", "rebound", "made_2pt", "missed_fg", "rebound", "foul", "made_3pt",...
[ "N. Vučević, Celtics center. misses a 2-point floating jump from 6 feet in the paint for the Chicago Bulls. The game is tied.", "N. Vučević, Celtics center. grabs a defensive rebound for the Chicago Bulls. The game is tied.", "N. Vučević, Celtics center. misses a 2-point tip layup from 0 feet near the basket fo...
9
92
NBA Regular Season game between the Orlando Magic and the Milwaukee Bucks on 2025-03-08. Q3 play-by-play events. Orlando Magic: A. Black, C. Anthony, F. Wagner, J. Isaac, K. Caldwell-Pope, P. Banchero, W. Carter Jr.; Milwaukee Bucks: A. Green, B. Lopez, D. Lillard, G. Antetokounmpo, J. Sims, K. Kuzma, K. Porter Jr., T....
{"game_id": "0022400917", "home_team": "MIL", "away_team": "ORL", "home_players": ["A. Green", "B. Lopez", "D. Lillard", "G. Antetokounmpo", "J. Sims", "K. Kuzma", "K. Porter Jr.", "T. Prince"], "away_players": ["A. Black", "C. Anthony", "F. Wagner", "J. Isaac", "K. Caldwell-Pope", "P. Banchero", "W. Carter Jr."], "gam...
[ 0, 0.09999999999999787, 0.2666666666666657, 0.31666666666666643, 0.3999999999999986, 0.6166666666666671, 0.8666666666666671, 0.8666666666666671, 0.8666666666666671, 1.1166666666666671, 1.3999999999999986, 1.5166666666666657, 1.7666666666666657, 1.8333333333333321, 1.8499999999999979, 1...
[ 0, 0.09999999999999787, 0.16666666666666785, 0.05000000000000071, 0.08333333333333215, 0.21666666666666856, 0.25, 0, 0, 0.25, 0.28333333333333144, 0.11666666666666714, 0.25, 0.06666666666666643, 0.01666666666666572, 0.0833333333333357, 0.14999999999999858, 0.23333333333333428, 0....
[ "made_2pt", "foul", "missed_fg", "rebound", "made_2pt", "made_3pt", "made_2pt", "foul", "free_throw", "made_3pt", "made_2pt", "foul", "missed_fg", "rebound", "made_2pt", "foul", "foul", "missed_fg", "rebound", "missed_fg", "rebound", "missed_fg", "rebound", "made_3pt", ...
[ "F. Wagner, Magic forward. makes a 2-point driving hook from 13 feet from the mid-range for the Orlando Magic. Orlando Magic lead 62-47 with a comfortable margin.", "F. Wagner, Magic forward. commits a personal foul for the Orlando Magic. The game is tied.", "K. Kuzma, Bucks forward. misses a 2-point driving ho...
End of preview. Expand in Data Studio

NBA Quarter Events

Dataset Description

Curated per-quarter NBA play-by-play sequences from the 2024-25 regular season, designed for temporal point process (TPP) and marked temporal point process (MTPP) modeling. Each sequence represents one quarter (Q1–Q4) of a single game, with the prediction target being the play type of the next event. Sequences are filtered to keep only quarters with 90–110 events, ensuring consistent sequence lengths.

Rich narrative type_text descriptions provide fully descriptive context for each event — shot style and distance, free throw make/miss with sequence position, offensive/defensive rebound classification, team identification on every play, and timeout types — enabling an LLM to predict the next event type from the sequence alone. Quarter and time-remaining information is not repeated in type_text since it is already captured in metadata.quarter and time_since_start.

  • Source: NBA Stats API
  • Season: 2024–25 Regular Season
  • Grouping: Events grouped by quarter (Q1–Q4) within each game
  • Sequences: 2,868
  • Train / Validation / Test: 2,296 / 286 / 286
  • Sequence length: 90–110 events per quarter (mean: 101.5)
  • Total events: 291,091
  • Event types: 9 play categories
  • Time unit: minutes (from quarter start)
  • Source games: 1,225

Dataset Summary

Property Value
Total sequences 2,868
Train / Validation / Test 2,296 / 286 / 286
Event types 9
Total events 291,091
Events per quarter 90–110 (mean 101.5)
Time unit minutes (from quarter start)
Duration per quarter 11.2–12.0 minutes
Season 2024-25 Regular Season
Source games 1,225

Schema

Each record follows the canonical 8-field TPP schema:

Field Type Description
seq_idx int Sequence index (per split)
seq_len int Number of events in the sequence
description str Game summary (teams, date, quarter, player rosters)
metadata str (JSON) game_id, home_team, away_team, home_players, away_players, game_date, season, season_type, time_unit, quarter
time_since_start list[float] Elapsed minutes from the first event in the quarter
time_since_last_event list[float] Minutes since the previous event (first is 0.0)
type_event list[str] Play type label — the prediction target
type_text list[str] Rich narrative description of each event

Event Types (9 categories)

type_event Description Share
rebound Offensive and defensive rebounds 24.3%
missed_fg Missed field goals (2pt or 3pt) 22.4%
made_2pt Made 2-point field goals 13.8%
free_throw Free throw attempts (make/miss) 8.9%
foul Personal, shooting, and offensive fouls 8.3%
made_3pt Made 3-point field goals 7.0%
turnover Turnovers (bad pass, travel, shot clock, etc.) 6.7%
steal_or_block Steals and blocked shots 5.9%
timeout Team timeouts (regular, mandatory) 2.6%

Administrative events (substitution, jump ball, period start/end, violation, ejection, instant replay) are excluded.

type_text (Rich Narrative)

Each event's type_text is a natural language sentence combining multiple context signals. The description is designed to be fully informative so an LLM reading a sequence of events can predict the next event type:

  • Player identity: Name, team full name, position (guard / forward / center)
  • Team identification: Full team name on every event (e.g., "for the Orlando Magic") for unambiguous possession tracking
  • Shot style: Specific shot type from API subType (driving layup, fadeaway jump, pullup jump, cutting dunk, etc.)
  • Shot distance & zone: Distance in feet from the API shotDistance field, plus court zone (paint, left wing, corner three, top of arc, mid-range, etc.)
  • Free throw detail: Make/miss result parsed from description, plus sequence position (e.g., "1 of 2", "2 of 3")
  • Rebound classification: Offensive or defensive, classified via subType and description parsing (covers ~95%+ of rebounds)
  • Timeout team & type: Team identified via location field (home/visitor), with timeout subtype (regular, mandatory)
  • Foul subtype: Lowercased foul type (shooting, personal, offensive, loose ball, etc.)
  • Score context: Leading team, margin, game state (tight game, comfortable margin, blowout)
  • Momentum: Scoring runs with full team name (e.g., "Orlando Magic currently on a 6-0 scoring run"), pattern signals (e.g., "shooting 3 for 5 recently")

Examples:

# Made 2pt — includes shot style, distance, zone, team name
"J. Robinson-Earl. makes a 2-point putback layup from 3 feet near the basket
 for the New Orleans Pelicans. Orlando Magic lead 12-6. early in the game."

# Made 3pt
"K. Ware, Heat center. makes a 3-point jump from 28 feet from the right wing
 for the Miami Heat. Milwaukee Bucks lead 81-65 with a comfortable margin."

# Missed field goal — includes 2pt/3pt distinction and shot style
"J. Robinson-Earl. misses a 2-point layup from 6 feet in the paint for the
 New Orleans Pelicans. The game is tied. early in the game."

# Free throw miss — includes make/miss and sequence position (1 of 2)
"J. Alvarado, Knicks guard. misses free throw 1 of 2 for the New Orleans
 Pelicans. The game is tied."

# Rebound — classified as offensive/defensive
"G. Bitadze, Magic center-forward. grabs an offensive rebound for the Orlando
 Magic. The game is tied. early in the game."

# Turnover — subtype integrated naturally into description
"B. Ingram, Raptors forward. commits a bad pass turnover for the New Orleans
 Pelicans. The game is tied. early in the game."

# Foul — lowercased subtype
"F. Wagner, Magic forward. commits a personal foul for the Orlando Magic.
 The game is tied. early in the game."

# Steal
"K. Caldwell-Pope, Grizzlies guard. records a steal for the Orlando Magic.
 The game is tied. early in the game."

# Timeout — team identified with full name, includes timeout type
"the New Orleans Pelicans call a regular timeout. The game is tied. early in
 the game. Orlando Magic currently on a 6-0 scoring run."

Curation Filters

Quarters are selected from complete games (all 4 regulation quarters present) with diverse, non-trivial event distributions:

Filter Value Description
min-events 90 Min events per quarter
max-events 110 Max events per quarter
min-types 4 At least 4 distinct event types of 9
max-dominant-ratio 0.40 No single event type exceeds 40% of events
max-repeat-ratio 0.30 Consecutive same-type rate below 30%
Completeness All 4 quarters (Q1–Q4) must be present; overtime excluded

Example

{
  "seq_idx": 0,
  "seq_len": 96,
  "description": "NBA Regular Season game between the New York Knicks and the Brooklyn Nets on 2025-04-13. Q1 play-by-play events. New York Knicks: C. Payne, L. Shamet, M. Bridges, ...; Brooklyn Nets: D. Timme, K. Johnson, T. Etienne, ...",
  "metadata": "{\"game_id\": \"0022401188\", \"home_team\": \"BKN\", \"away_team\": \"NYK\", \"home_players\": [\"D. Timme\", ...], \"away_players\": [\"C. Payne\", ...], \"game_date\": \"2025-04-13\", \"season\": \"2024-25\", \"season_type\": \"Regular Season\", \"time_unit\": \"minutes\", \"quarter\": \"Q1\"}",
  "time_since_start": [0.0, 0.3167, 0.5333, ...],
  "time_since_last_event": [0.0, 0.3167, 0.2167, ...],
  "type_event": ["foul", "turnover", "made_2pt", ...],
  "type_text": [
    "M. Bridges, Knicks guard-forward. commits a personal take foul for the New York Knicks. The game is tied. early in the game.",
    "commits a shot clock turnover. The game is tied. early in the game.",
    "C. Payne, 76ers guard. makes a 2-point driving finger roll layup from 5 feet in the paint for the New York Knicks. New York Knicks lead 2-0 in a tight game. early in the game.",
    ...
  ]
}

Data Source

Play-by-play data sourced from the NBA Stats API via the nba_api Python package using the PlayByPlayV3 endpoint. Player metadata (name, position, team) fetched via CommonPlayerInfo.

Usage

from datasets import load_dataset

ds = load_dataset("DescribeEvents/nba_quarter_events")

# Access splits
train = ds["train"]       # 2,296 sequences
val = ds["validation"]    # 286 sequences
test = ds["test"]         # 286 sequences

print(train[0]["type_event"][:5])   # First 5 play types
print(train[0]["type_text"][:5])    # First 5 narrative descriptions

Citation

If you use this dataset, please cite:

@dataset{nba_quarter_events_2025,
  title={NBA Quarter Events: A Temporal Point Process Dataset},
  author={DescribeEvents},
  year={2025},
  publisher={Hugging Face},
  url={https://huggingface.co/datasets/DescribeEvents/nba_quarter_events}
}
Downloads last month
2