ace-event-dataset / README.md
datht's picture
Add README documentation
5cbb71c verified
metadata
license: mit

ACE Dataset Metadata

This repository contains metadata files for the ACE (Automatic Content Extraction) event detection dataset.

Files

  • streams.json: 5 items
  • onestreams.json: 1 items
  • label2id.json: 33 keys
  • label_freq.json: 33 keys
  • id2tokens.json: 34 keys

File Descriptions

  • streams.json: Contains the task stream configurations for continual learning
  • onestreams.json: Single-stream configuration variant
  • label2id.json: Mapping from event type labels to numerical IDs
  • label_freq.json: Frequency distribution of event types in the dataset
  • id2tokens.json: Mapping from IDs to token representations

Usage

import json
from huggingface_hub import hf_hub_download

# Download a specific file
label2id_path = hf_hub_download(
    repo_id="{repo_id}",
    filename="label2id.json",
    repo_type="{repo_type}"
)

# Load the file
with open(label2id_path, 'r') as f:
    label2id = json.load(f)

Citation

If you use this dataset, please cite the original ACE dataset and related work.