Skip to content

Commit

Permalink
add brat serializer config
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBinder committed Jul 27, 2024
1 parent e5cb36f commit 28d64b2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions configs/serializer/brat.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
_target_: src.serializer.JsonSerializer
path: ${prediction_save_dir}
split: ${dataset_split}

# this needs to be a mapping from annotation layer names
# to what to serialize, i.e. "gold", "prediction", or "both".
# For example:
# layers:
# labeled_spans: gold
# binary_relations: prediction
layers: ???

0 comments on commit 28d64b2

Please sign in to comment.