azugarini commited on
Commit
92cce59
1 Parent(s): 504145a

Upload 2 files

Browse files
Files changed (2) hide show
  1. BUSTER.py +2 -2
  2. dataset_info.json +1 -0
BUSTER.py CHANGED
@@ -98,11 +98,11 @@ class Buster(datasets.GeneratorBasedBuilder):
98
 
99
  def _split_generators(self, dl_manager):
100
  data_dir = dl_manager.download_and_extract(_URL)
101
- fold_names = [f"FOLD_{i}.json" for i in range(1, 6)] + ["SILVER.json"]
102
  return [
103
  datasets.SplitGenerator(
104
  name=fold_name,
105
- gen_kwargs={"file_path": os.path.join(data_dir, fold_name)},
106
  ) for fold_name in fold_names
107
  ]
108
 
 
98
 
99
  def _split_generators(self, dl_manager):
100
  data_dir = dl_manager.download_and_extract(_URL)
101
+ fold_names = [f"FOLD_{i}" for i in range(1, 6)] + ["SILVER"]
102
  return [
103
  datasets.SplitGenerator(
104
  name=fold_name,
105
+ gen_kwargs={"file_path": os.path.join(data_dir, f"{fold_name}.json")},
106
  ) for fold_name in fold_names
107
  ]
108
 
dataset_info.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"description": "\nBuster is an Entity Recognition dataset consisting of 3779 manually annotated documents on financial transactions.\nDocuments were selected using EDGAR (Electronic Data Gathering, Analysis, and Retrieval system) from the \nU.S. Securities and Exchange Commission (SEC). \nThe corpus focuses on the main actors involved in business transactions. \nOverall, there are three families of entities: Parties, Advisors and Generic information, for a total of 6 annotated\nentity types.\nWe also released a corpus of 6196 automatically annotated documents. \n", "citation": "\nAccepted at EMNLP 2023 - Industry Track.\nTBA\n", "homepage": "https://expert.ai/buster", "license": "", "features": {"document_id": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "labels": {"feature": {"num_classes": 13, "names": ["O", "B-Parties.BUYING_COMPANY", "I-Parties.BUYING_COMPANY", "B-Parties.SELLING_COMPANY", "I-Parties.SELLING_COMPANY", "B-Parties.ACQUIRED_COMPANY", "I-Parties.ACQUIRED_COMPANY", "B-Advisors.LEGAL_CONSULTING_COMPANY", "I-Advisors.LEGAL_CONSULTING_COMPANY", "B-Advisors.GENERIC_CONSULTING_COMPANY", "I-Advisors.GENERIC_CONSULTING_COMPANY", "B-Generic_Info.ANNUAL_REVENUES", "I-Generic_Info.ANNUAL_REVENUES"], "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "buster", "config_name": "BUSTER", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"FOLD_1": {"name": "FOLD_1", "num_bytes": 11508541, "num_examples": 753, "dataset_name": "buster"}, "FOLD_2": {"name": "FOLD_2", "num_bytes": 11409488, "num_examples": 759, "dataset_name": "buster"}, "FOLD_3": {"name": "FOLD_3", "num_bytes": 11524994, "num_examples": 758, "dataset_name": "buster"}, "FOLD_4": {"name": "FOLD_4", "num_bytes": 11714536, "num_examples": 755, "dataset_name": "buster"}, "FOLD_5": {"name": "FOLD_5", "num_bytes": 11543314, "num_examples": 754, "dataset_name": "buster"}, "SILVER": {"name": "SILVER", "num_bytes": 94702584, "num_examples": 6196, "dataset_name": "buster"}}, "download_checksums": {"BUSTER.zip": {"num_bytes": 20824877, "checksum": "66082251c87758687c334965fdd3a8f2b3f1e933755c6fdc16e71a522570943f"}}, "download_size": 20824877, "post_processing_size": null, "dataset_size": 152403457, "size_in_bytes": 173228334}