Spaces:
Sleeping
Sleeping
maksymdolgikh
commited on
Commit
•
113b180
1
Parent(s):
4b7b404
name fixes
Browse files- README.md +1 -1
- seqeval_with_fbeta.py +1 -1
README.md
CHANGED
@@ -29,7 +29,7 @@ description: >-
|
|
29 |
|
30 |
# Metric Card for seqeval
|
31 |
|
32 |
-
Modified version of [seqeval](https://huggingface.co/spaces/evaluate-metric/seqeval) metric that include optional Fβ score.
|
33 |
|
34 |
## Metric description
|
35 |
|
|
|
29 |
|
30 |
# Metric Card for seqeval
|
31 |
|
32 |
+
Modified version of [seqeval](https://huggingface.co/spaces/evaluate-metric/seqeval) metric that include optional Fβ score. Please note that setting the optional parameter `beta` to values less or equal to 0 can lead to unexpected behaviour.
|
33 |
|
34 |
## Metric description
|
35 |
|
seqeval_with_fbeta.py
CHANGED
@@ -17,7 +17,7 @@ import importlib
|
|
17 |
from typing import List, Optional, Union
|
18 |
|
19 |
import datasets
|
20 |
-
from
|
21 |
|
22 |
import evaluate
|
23 |
|
|
|
17 |
from typing import List, Optional, Union
|
18 |
|
19 |
import datasets
|
20 |
+
from seqeval.metrics import accuracy_score, classification_report
|
21 |
|
22 |
import evaluate
|
23 |
|