File size: 971 Bytes
d566661
dfa04b4
d566661
dfa04b4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
license: mit
---

# ACE Dataset Metadata

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

## Files

- **streams.json**: 5 items
- **label2id.json**: 139 keys
- **id2tokens.json**: 140 keys

## File Descriptions

- **streams.json**: Contains the task stream configurations for continual learning
- **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

```python
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.