Datasets:
GEM
/

Languages:
English
Multilinguality:
unknown
Size Categories:
unknown
Language Creators:
unknown
Annotations Creators:
none
Source Datasets:
original
Tags:
data-to-text
License:
mlb_data_to_text / mlb_data_to_text.json
Sebastian Gehrmann
Data Card.
46938b2
{
"overview": {
"where": {
"has-leaderboard": "no",
"leaderboard-url": "N/A",
"leaderboard-description": "N/A",
"website": "[Github](https://github.com/ratishsp/mlb-data-scripts)",
"data-url": "[Github](https://github.com/ratishsp/mlb-data-scripts)",
"paper-url": "[ACL Anthology](https://aclanthology.org/P19-1195)",
"paper-bibtext": "```\n@inproceedings{puduppully-etal-2019-data,\n title = \"Data-to-text Generation with Entity Modeling\",\n author = \"Puduppully, Ratish and\n Dong, Li and\n Lapata, Mirella\",\n booktitle = \"Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics\",\n month = jul,\n year = \"2019\",\n address = \"Florence, Italy\",\n publisher = \"Association for Computational Linguistics\",\n url = \"https://www.aclweb.org/anthology/P19-1195\",\n doi = \"10.18653/v1/P19-1195\",\n pages = \"2023--2035\",\n}\n```",
"contact-name": "Ratish Puduppully",
"contact-email": "ratishpuduppully@gmail.com"
},
"languages": {
"is-multilingual": "no",
"license": "other: Other license",
"task-other": "N/A",
"language-names": [
"English"
],
"intended-use": "The dataset can be used to study data-to-text generation. The dataset is in sports domain. It pairs statistics of Major League Baseball (MLB) game with its summary. The summary is in the form of a document containing an average of 540 tokens. Thus it is useful to study long document generation.",
"license-other": "Restricted to non-commercial research purposes.",
"task": "Data-to-Text",
"communicative": "Produce a summary of MLB game from its statistics. "
},
"credit": {
"organization-type": [
"academic"
],
"organization-names": "University of Edinburgh",
"creators": "Ratish Puduppully, Li Dong, Mirella Lapata",
"funding": "",
"gem-added-by": ""
},
"structure": {
"data-fields": "```\n features = datasets.Features(\n {\n \"home_name\": datasets.Value(\"string\"),\n \"box_score\": [\n {\n \"p_l\": datasets.Value(\"string\"),\n \"last_name\": datasets.Value(\"string\"),\n \"p_h\": datasets.Value(\"string\"),\n \"sac\": datasets.Value(\"string\"),\n \"p_bb\": datasets.Value(\"string\"),\n \"pos\": datasets.Value(\"string\"),\n \"ao\": datasets.Value(\"string\"),\n \"p_bf\": datasets.Value(\"string\"),\n \"cs\": datasets.Value(\"string\"),\n \"hbp\": datasets.Value(\"string\"),\n \"ab\": datasets.Value(\"string\"),\n \"full_name\": datasets.Value(\"string\"),\n \"p_w\": datasets.Value(\"string\"),\n \"go\": datasets.Value(\"string\"),\n \"fldg\": datasets.Value(\"string\"),\n \"p_bs\": datasets.Value(\"string\"),\n \"avg\": datasets.Value(\"string\"),\n \"p_r\": datasets.Value(\"string\"),\n \"p_s\": datasets.Value(\"string\"),\n \"lob\": datasets.Value(\"string\"),\n \"first_name\": datasets.Value(\"string\"),\n \"p_sv\": datasets.Value(\"string\"),\n \"p_so\": datasets.Value(\"string\"),\n \"p_save\": datasets.Value(\"string\"),\n \"p_hr\": datasets.Value(\"string\"),\n \"po\": datasets.Value(\"string\"),\n \"p_ip1\": datasets.Value(\"string\"),\n \"p_ip2\": datasets.Value(\"string\"),\n \"bb\": datasets.Value(\"string\"),\n \"ops\": datasets.Value(\"string\"),\n \"p_hld\": datasets.Value(\"string\"),\n \"bo\": datasets.Value(\"string\"),\n \"p_loss\": datasets.Value(\"string\"),\n \"e\": datasets.Value(\"string\"),\n \"p_game_score\": datasets.Value(\"string\"),\n \"p_win\": datasets.Value(\"string\"),\n \"a\": datasets.Value(\"string\"),\n \"p_era\": datasets.Value(\"string\"),\n \"d\": datasets.Value(\"string\"),\n \"p_out\": datasets.Value(\"string\"),\n \"h\": datasets.Value(\"string\"),\n \"p_er\": datasets.Value(\"string\"),\n \"p_np\": datasets.Value(\"string\"),\n \"hr\": datasets.Value(\"string\"),\n \"r\": datasets.Value(\"string\"),\n \"so\": datasets.Value(\"string\"),\n \"t\": datasets.Value(\"string\"),\n \"rbi\": datasets.Value(\"string\"),\n \"team\": datasets.Value(\"string\"),\n \"sb\": datasets.Value(\"string\"),\n \"slg\": datasets.Value(\"string\"),\n \"sf\": datasets.Value(\"string\"),\n \"obp\": datasets.Value(\"string\"),\n }\n ],\n \"home_city\": datasets.Value(\"string\"),\n \"vis_name\": datasets.Value(\"string\"),\n \"play_by_play\": [{\n \"top\": [{\n \"runs\": datasets.Value(\"string\"),\n \"scorers\": [\n datasets.Value(\"string\")\n ],\n \"pitcher\": datasets.Value(\"string\"),\n \"o\": datasets.Value(\"string\"),\n \"b\": datasets.Value(\"string\"),\n \"s\": datasets.Value(\"string\"),\n \"batter\": datasets.Value(\"string\"),\n \"b1\": [\n datasets.Value(\"string\")\n ],\n \"b2\": [\n datasets.Value(\"string\")\n ],\n \"b3\": [\n datasets.Value(\"string\")\n ],\n \"event\": datasets.Value(\"string\"),\n \"event2\": datasets.Value(\"string\"),\n \"home_team_runs\": datasets.Value(\"string\"),\n \"away_team_runs\": datasets.Value(\"string\"),\n \"rbi\": datasets.Value(\"string\"),\n \"error_runs\": datasets.Value(\"string\"),\n \"fielder_error\": datasets.Value(\"string\")\n }\n ],\n \"bottom\": [{\n \"runs\": datasets.Value(\"string\"),\n \"scorers\": [\n datasets.Value(\"string\")\n ],\n \"pitcher\": datasets.Value(\"string\"),\n \"o\": datasets.Value(\"string\"),\n \"b\": datasets.Value(\"string\"),\n \"s\": datasets.Value(\"string\"),\n \"batter\": datasets.Value(\"string\"),\n \"b1\": [\n datasets.Value(\"string\")\n ],\n \"b2\": [\n datasets.Value(\"string\")\n ],\n \"b3\": [\n datasets.Value(\"string\")\n ],\n \"event\": datasets.Value(\"string\"),\n \"event2\": datasets.Value(\"string\"),\n \"home_team_runs\": datasets.Value(\"string\"),\n \"away_team_runs\": datasets.Value(\"string\"),\n \"rbi\": datasets.Value(\"string\"),\n \"error_runs\": datasets.Value(\"string\"),\n \"fielder_error\": datasets.Value(\"string\")\n }\n ],\n \"inning\": datasets.Value(\"string\")\n }\n ],\n \"vis_line\": {\n \"innings\": [{\n \"inn\": datasets.Value(\"string\"),\n \"runs\": datasets.Value(\"string\")\n }\n ],\n \"result\": datasets.Value(\"string\"),\n \"team_runs\": datasets.Value(\"string\"),\n \"team_hits\": datasets.Value(\"string\"),\n \"team_errors\": datasets.Value(\"string\"),\n \"team_name\": datasets.Value(\"string\"),\n \"team_city\": datasets.Value(\"string\")\n },\n \"home_line\": {\n \"innings\": [{\n \"inn\": datasets.Value(\"string\"),\n \"runs\": datasets.Value(\"string\")\n }\n ],\n \"result\": datasets.Value(\"string\"),\n \"team_runs\": datasets.Value(\"string\"),\n \"team_hits\": datasets.Value(\"string\"),\n \"team_errors\": datasets.Value(\"string\"),\n \"team_name\": datasets.Value(\"string\"),\n \"team_city\": datasets.Value(\"string\")\n },\n \"vis_city\": datasets.Value(\"string\"),\n \"day\": datasets.Value(\"string\"),\n \"summary\": [\n datasets.Value(\"string\"),\n ],\n \"gem_id\": datasets.Value(\"string\")\n }\n```",
"structure-description": "The high level structure contains the following attributes: home_name, vis_name, home_city, vis_city, summary, summary_eval, day, gem_id, box_score, play_by_play, home_line, vis_line.\nThe attributes home_name, vis_name, home_city, vis_city and day are string values.\nThe attribute \"summary\" contains the summary in the form of a list of tokens.\nThe attribute \"summary_eval\" contains the summary in the form of a string of tokens. The difference from \"summary\" field is that \"summary_eval\" doesn't contain \"*NEWPARAGRAPH*\" delimiters to separate the paragraphs. \"summary_eval\" field should be used to evaluate model outputs. \"summary\" field may be used during the training process.\nbox_score contains the box score statistics of the players in the game. It is in the form of a list (of average size 90), with each element describing the statistics of a player. The box score statistics contain 53 attributes. \nThe description of the attributes is given below. The descriptions of most of the attributes is obtained from [mlb.com](https://www.mlb.com/glossary/standard-stats). \n\n- r : Runs scored by a player in the game. \n- rbi Runs Batted In (RBI): action of a batter results in a run scored by other players in the team. \n- pos Position of the player. \n- avg Batting Average. It is an indicator of the hits in the players' career. \n- bb A walk occurs when a pitcher throws four pitches out of the strike zone, none of which are swung at by the hitter. \n- hr Batter hits the ball in the air over the outfield fence. \n- p_r Runs given by a pitcher in the game. \n- p_bb Walks allowed by pitcher in a game. \n- p_h Hits allowed by pitcher in a game. \n- p_hr Home runs allowed by pitcher in a game. \n- p_er Earned Run (ER): An earned run is any run that scores against a pitcher. \n- p_era Earned Run Average (ERA): Earned run average represents the number of earned runs a pitcher allows per nine innings. \n- p_np Number of Pitches: A pitcher's total number of pitches is determined by all the pitches he throws in game. \n- p_ip1 Innings Pitched (IP1): Innings pitched measures the number of innings a pitcher remains in a game. Because there are three outs in an inning, each out recorded represents one-third of an inning pitched. \n- p_ip2 Innings Pitched (IP2): Innings pitched measures the number of innings a pitcher remains in a game. Because there are three outs in an inning, each out recorded represents one-third of an inning pitched. \n- p_w A pitcher receives a win when he is the pitcher of record when his team takes the lead for good. \n- p_l A pitcher receives a loss when a run that is charged to him proves to be the go-ahead run in the game, giving the opposing team a lead it never gives up. \n- p_so A strikeout occurs when a pitcher throws any combination of three swinging or looking strikes to a hitter. \n- p_save Save: A save is awarded to the relief pitcher who finishes a game for the winning team. A pitcher cannot receive a save and a win in the same game. \n- p_sv Saves: The count of saves recorded by a pitcher in his career. \n- sac A sacrifice fly occurs when a batter hits a fly-ball out to the outfield or foul territory that allows a runner to score. \n- p_bf Batters faced is simply a count of the number of total plate appearances against a certain pitcher or team. In a perfect game -- with 27 outs -- a pitcher will record 27 batters faced. \n- cs A caught stealing occurs when a runner attempts to steal but is tagged out before reaching second base, third base or home plate. \n- hbp A hit-by-pitch occurs when a batter is struck by a pitched ball without swinging at it. He is awarded first base as a result. \n- ab An official at-bat comes when a batter reaches base via a fielder's choice, hit or an error (not including catcher's interference) or when a batter is put out on a non-sacrifice. \n- p_bs A blown save occurs when a relief pitcher enters a game in a save situation, but allows the tying run to score. \n- p_s The count of strikes thrown by a pitcher \n- lob Left on base can be viewed as both an individual statistic or as a team statistic. In an individual batter's case, it refers to how many men remain on base after that batter makes an out at the plate, as the batter has failed to do his job to score those runners -- or at least put himself in a position to score. In a team's case or in an individual pitcher's case, it refers to the number of men who remain on base at the end of an inning. \n- po A fielder is credited with a putout when he is the fielder who physically records the act of completing an out -- whether it be by stepping on the base for a forceout, tagging a runner, catching a batted ball, or catching a third strike \n- ops OPS adds on-base percentage and slugging percentage to get one number that unites the two. It's meant to combine how well a hitter can reach base, with how well he can hit for average and for power. \n- p_hld A hold occurs when a relief pitcher enters the game in a save situation and maintains his team's lead for the next relief pitcher, while recording at least one out. \n- p_loss True/False- Indicates losing pitcher \n- e A fielder is given an error if, in the judgment of the official scorer, he fails to convert an out on a play that an average fielder should have made. \n- p_win True/False- Indicates winning pitcher \n- a An assist is awarded to a fielder who touches the ball before a putout is recorded by another fielder. \n- h A hit occurs when a batter strikes the baseball into fair territory and reaches base without doing so via an error or a fielder's choice. \n- so A strikeout of a batter \n- team Team of the player \n- sb A stolen base occurs when a baserunner advances by taking a base to which he isn't entitled. \n- slg Slugging percentage represents the total number of bases a player records per at-bat. Unlike on-base percentage, slugging percentage deals only with hits and does not include walks and hit-by-pitches in its equation. \n- sf A sacrifice fly occurs when a batter hits a fly-ball out to the outfield or foul territory that allows a runner to score. \n- obp OBP refers to how frequently a batter reaches base per plate appearance. Times on base include hits, walks and hit-by-pitches, but do not include errors, times reached on a fielder's choice or a dropped third strike. \n\nThe description of attributes in play-by-play is below:\n\n- batter Batter in the play. \n- pitcher Pitcher in play. \n- b1 Player/s at first base position. \n- b2 Player/s at second base position. \n- b3 Player/s at third base position. \n- scorers Player/s scored in the play. \n- fielder_error Player committed field error. \n- event Event of the play such as single, double, home run etc. \n- event2 Second event of the play such as wild pitch, error etc. \n- inning Inning of the play. \n- top/ bottom If home team is batting it is bottom and if away team is batting it is top. \n- o Count of outs \n- b Count of balls \n- s Count of strikes \n- r Count of runs \n- rbi Count of runs batted in (rbi) \n- error_runs Runs due to error \n- home_team_runs Score of home team \n- vis_team_runs Score of visiting team \n\n`home_line` and `vis_line` contain string value pairs for `team_name`, `team_city`, `team_runs`, `team_hits`, `team_error`, `result`, and a list of runs scored in each inning.",
"structure-splits": "There are three splits in the dataset: train, validation and test",
"structure-splits-criteria": "The splits are random."
},
"what": {
"dataset": "The MLB dataset is an English sport-related data-to-text dataset in the baseball domain. The input is a large table with results of a game and the output is a description of the game."
}
},
"curation": {
"original": {
"is-aggregated": "no",
"aggregated-sources": "N/A",
"rationale": "This dataset was curated to complement an existing data-to-text generation dataset (RotoWire by Wiseman et al. 2017) which focuses on long document generation. Compared to RotoWire , MLB summaries are longer (approximately by 50%) and the input records are richer and more structured (with the addition of play-by-play). Moreover, the MLB dataset is five times larger in terms of data size (i.e., pairs of tables and game summaries)",
"communicative": "The goal is to study automatic generation of long documents in a data-to-text setting. The generated summaries should exhibit coherent ordering of content, be faithful to the input statistics, be fluent and avoid repetition of text."
},
"language": {
"found": [
"Single website"
],
"crowdsourced": [],
"created": "N/A",
"machine-generated": "N/A",
"validated": "not validated",
"is-filtered": "not filtered",
"filtered-criteria": "N/A",
"obtained": [
"Found"
],
"producers-description": "The game summaries are produced by professional writers.",
"topics": "The language focuses on the sports domain.",
"pre-processed": "Game summaries were tokenized using NLTK (Bird et al., 2009) and hyphenated words were separated. Sentences containing quotes were removed as they included opinions and non-factual statements unrelated to the input tables. Sometimes MLB summaries contain a \"Game notes\" section with incidental information which was also removed."
},
"annotations": {
"origin": "none",
"rater-number": "N/A",
"rater-qualifications": "N/A",
"rater-training-num": "N/A",
"rater-test-num": "N/A",
"rater-annotation-service-bool": "no",
"rater-annotation-service": [],
"values": "N/A",
"quality-control": [],
"quality-control-details": "N/A"
},
"consent": {
"has-consent": "no",
"consent-policy": "N/A",
"consent-other": "N/A",
"no-consent-justification": "The copyright remains with the original data creators and the usage permission is restricted to non-commercial uses."
},
"pii": {
"has-pii": "yes/very likely",
"no-pii-justification": "N/A",
"is-pii-identified": "no identification",
"pii-identified-method": "N/A",
"is-pii-replaced": "N/A",
"pii-replaced-method": "N/A",
"pii-categories": [
"sensitive information",
"generic PII"
]
},
"maintenance": {
"has-maintenance": "no",
"description": "N/A",
"contact": "N/A",
"contestation-mechanism": "N/A",
"contestation-link": "N/A",
"contestation-description": "N/A"
}
},
"gem": {
"rationale": {
"sole-task-dataset": "yes",
"distinction-description": "Compared to the existing RotoWire (Wiseman et al. 2017) dataset, MLB summaries are longer (approximately by 50%) and the input records are richer and more structured (with the addition of play-by-play). Moreover, the MLB dataset is five times larger in terms of data size (i.e., pairs of tables and game summaries).",
"contribution": "This dataset can verify if models are capable of long document generation. The challenges in long document generation conditioned on input tables include ensuring coherent output, staying faithful to the input, ensuring fluent output and avoiding repetition of text. Such aspects can be verified on models trained on this dataset",
"sole-language-task-dataset": "no",
"model-ability": "Long document generation, coherent ordering of information, faithfulness to the input statistics, fluency in generation and avoiding repetition of text."
},
"curation": {
"has-additional-curation": "yes",
"modification-types": [
"data points removed"
],
"modification-description": "Some examples have been removed from training dataset which satisfied the below criteria:\n1. The examples in training dataset which overlapped with validation/test.\n2. Some examples which described washed out games. \n\n",
"has-additional-splits": "no",
"additional-splits-description": "N/A",
"additional-splits-capacicites": "N/A"
},
"starting": {
"research-pointers": "The [research paper](https://aclanthology.org/P19-1195) is a good resource"
}
},
"results": {
"results": {
"other-metrics-definitions": "Wiseman et al. (2017) define three metrics induced from the outputs of an Information Extraction model which is run on the model/human-written game summaries . Let \u0177 be the gold summary and y the model output.\n\u2022 Relation Generation (RG) measures the precision and count of relations extracted from y that also appear in records r.\n\u2022 Content Selection (CS) measures the precision and recall of relations extracted from y that are also extracted from \u0177.\n\u2022 Content Ordering (CO) measures the complement of the normalized Damerau-Levenshtein distance (Brill and Moore, 2000) between the sequences of relations extracted from y and \u0177",
"has-previous-results": "yes",
"current-evaluation": "N/A",
"previous-results": "The most relevant previous results for dataset are in the TACL 2021 paper on [Data-to-text Generation with Macro Planning](https://direct.mit.edu/tacl/article/doi/10.1162/tacl_a_00381/101876/Data-to-text-Generation-with-Macro-Planning)",
"metrics": [
"Other: Other Metrics"
],
"original-evaluation": "We have reused the automatic metrics based on Information Extraction evaluation introduced by Wiseman et al (2017). For human evaluation, we conducted studies to evaluate the factuality, coherence, grammaticality and conciseness.",
"model-abilities": "Automatic evaluation measure can evaluate the factuality, content selection, content ordering and the fluency of the model output. The factuality, content selection and content ordering is measured using an Information Extraction based evaluation approach introduced by Wiseman et al (2017). The fluency is measured using BLEU."
}
},
"considerations": {
"pii": {
"risks-description": "N/A"
},
"licenses": {
"dataset-restrictions-other": "N/A",
"data-copyright-other": "N/A",
"dataset-restrictions": [
"research use only"
],
"data-copyright": [
"research use only"
]
},
"limitations": {}
},
"context": {
"previous": {
"is-deployed": "no",
"described-risks": "N/A",
"changes-from-observation": "N/A"
},
"underserved": {
"helps-underserved": "no",
"underserved-description": "N/A"
},
"biases": {
"has-biases": "unsure",
"bias-analyses": "N/A"
}
}
}