-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathace_config.json
66 lines (66 loc) · 2.07 KB
/
ace_config.json
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"dataset_name": "ACE05",
"tasks": [
"NER",
"VER",
"RE",
"RC",
"EE",
"EAE"
],
"dataloader_cls": "src.tasks.ace.data_loader.ACEDatasetLoader",
"sampler_cls": "src.tasks.ace.data_loader.ACESampler",
"train_file": "data/ace05/train.sentence.json",
"dev_file": "data/ace05/dev.sentence.json",
"test_file": "data/ace05/test.sentence.json",
"prompt_template": "templates/prompt.txt",
"seed": [0, 24, 42],
"label_noise_prob": [0.15, 0.50, 0.75],
"task_configuration": {
"NER": {
"group_by": "sentence",
"parallel_instances": 1,
"max_guidelines": -1,
"guideline_dropout": 0.15,
"scorer": "src.tasks.ace.scorer.ACEEntityScorer"
},
"VER": {
"group_by": "sentence",
"parallel_instances": 1,
"max_guidelines": -1,
"guideline_dropout": 0.15,
"scorer": "src.tasks.ace.scorer.ACEValueScorer"
},
"RE": {
"group_by": "sentence",
"parallel_instances": 1,
"max_guidelines": -1,
"guideline_dropout": 0.15,
"scorer": "src.tasks.ace.scorer.ACECoarseRelationScorer"
},
"RC": {
"group_by": "sentence",
"parallel_instances": 1,
"max_guidelines": -1,
"guideline_dropout": 0.15,
"scorer": "src.tasks.ace.scorer.ACERelationScorer",
"ensure_positives_on_train": true
},
"EE": {
"group_by": "sentence",
"parallel_instances": 1,
"max_guidelines": -1,
"guideline_dropout": 0.15,
"scorer": "src.tasks.ace.scorer.ACEEventScorer"
},
"EAE": {
"group_by": "sentence",
"parallel_instances": 1,
"max_guidelines": -1,
"sample_total_guidelines": 5,
"guideline_dropout": 0.15,
"scorer": "src.tasks.ace.scorer.ACEEventArgumentScorer",
"ensure_positives_on_train": true
}
}
}