Skip to content

Commit

Permalink
Merge pull request #13 from ArneBinder/re-export-pytorch_ie-metrics
Browse files Browse the repository at this point in the history
re-export `metrics` (and `statistics`) from `pytorch-ie`
  • Loading branch information
ArneBinder authored Dec 1, 2023
2 parents e9eb749 + 2482a0e commit 15e4414
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/pie_modules/metrics/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
from pytorch_ie.metrics import F1Metric
from pytorch_ie.metrics.statistics import (
FieldLengthCollector,
LabelCountCollector,
SubFieldLengthCollector,
TokenCountCollector,
)

from .span_length_collector import SpanLengthCollector

0 comments on commit 15e4414

Please sign in to comment.