Skip to content

Commit

Permalink
add document_type to statistical metric configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBinder committed Sep 19, 2023
1 parent 9b99974 commit e223eeb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions configs/metric/count_entity_labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ field: entities
labels: ???
show_histogram: true
# show_as_markdown: true
document_type: pytorch_ie.documents.TextDocumentWithLabeledEntities
1 change: 1 addition & 0 deletions configs/metric/count_text_characters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ title: text length (characters)
field: text
show_histogram: true
# show_as_markdown: true
document_type: pytorch_ie.documents.TextBasedDocument
1 change: 1 addition & 0 deletions configs/metric/count_text_tokens.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ tokenizer_kwargs:
add_special_tokens: false
show_histogram: true
# show_as_markdown: true
document_type: pytorch_ie.documents.TextBasedDocument

0 comments on commit e223eeb

Please sign in to comment.