Skip to content

Commit

Permalink
enable show_as_markdown in statistical metric configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBinder committed Sep 19, 2023
1 parent e223eeb commit 7e714ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configs/metric/count_entity_labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ title: entity label distribution
field: entities
labels: ???
show_histogram: true
# show_as_markdown: true
show_as_markdown: true
document_type: pytorch_ie.documents.TextDocumentWithLabeledEntities
2 changes: 1 addition & 1 deletion configs/metric/count_text_characters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ _target_: pytorch_ie.metrics.statistics.FieldLengthCollector
title: text length (characters)
field: text
show_histogram: true
# show_as_markdown: true
show_as_markdown: true
document_type: pytorch_ie.documents.TextBasedDocument
3 changes: 2 additions & 1 deletion configs/metric/count_text_tokens.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ text_field: text
tokenizer: bert-base-uncased
tokenizer_kwargs:
add_special_tokens: false
# strict_span_conversion: false
show_histogram: true
# show_as_markdown: true
show_as_markdown: true
document_type: pytorch_ie.documents.TextBasedDocument

0 comments on commit 7e714ac

Please sign in to comment.