datht commited on
Commit
cd37d34
·
verified ·
1 Parent(s): 17636c4

Add README documentation

Browse files
Files changed (1) hide show
  1. README.md +41 -61
README.md CHANGED
@@ -1,63 +1,43 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: title
5
- dtype: string
6
- - name: id
7
- dtype: string
8
- - name: content
9
- list:
10
- - name: sentence
11
- dtype: string
12
- - name: tokens
13
- list: string
14
- - name: events
15
- list:
16
- - name: id
17
- dtype: string
18
- - name: type
19
- dtype: string
20
- - name: type_id
21
- dtype: int64
22
- - name: mention
23
- list:
24
- - name: trigger_word
25
- dtype: string
26
- - name: sent_id
27
- dtype: int64
28
- - name: offset
29
- list: int64
30
- - name: id
31
- dtype: string
32
- - name: negative_triggers
33
- list:
34
- - name: trigger_word
35
- dtype: string
36
- - name: sent_id
37
- dtype: int64
38
- - name: offset
39
- list: int64
40
- - name: id
41
- dtype: string
42
- splits:
43
- - name: train
44
- num_bytes: 40550661
45
- num_examples: 2522
46
- - name: validation
47
- num_bytes: 6648748
48
- num_examples: 414
49
- - name: test
50
- num_bytes: 11473630
51
- num_examples: 710
52
- download_size: 28677138
53
- dataset_size: 58673039
54
- configs:
55
- - config_name: default
56
- data_files:
57
- - split: train
58
- path: data/train-*
59
- - split: validation
60
- path: data/validation-*
61
- - split: test
62
- path: data/test-*
63
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
4
+
5
+ # ACE Dataset Metadata
6
+
7
+ This repository contains metadata files for the ACE (Automatic Content Extraction) event detection dataset.
8
+
9
+ ## Files
10
+
11
+ - **streams.json**: 5 items
12
+ - **label2id.json**: 168 keys
13
+ - **label_freq.json**: 168 keys
14
+ - **id2tokens.json**: 169 keys
15
+
16
+ ## File Descriptions
17
+
18
+ - **streams.json**: Contains the task stream configurations for continual learning
19
+ - **label2id.json**: Mapping from event type labels to numerical IDs
20
+ - **label_freq.json**: Frequency distribution of event types in the dataset
21
+ - **id2tokens.json**: Mapping from IDs to token representations
22
+
23
+ ## Usage
24
+
25
+ ```python
26
+ import json
27
+ from huggingface_hub import hf_hub_download
28
+
29
+ # Download a specific file
30
+ label2id_path = hf_hub_download(
31
+ repo_id="{repo_id}",
32
+ filename="label2id.json",
33
+ repo_type="{repo_type}"
34
+ )
35
+
36
+ # Load the file
37
+ with open(label2id_path, 'r') as f:
38
+ label2id = json.load(f)
39
+ ```
40
+
41
+ ## Citation
42
+
43
+ If you use this dataset, please cite the original ACE dataset and related work.