We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ac50db commit 3b2af6dCopy full SHA for 3b2af6d
label_studio_ml/examples/gliner/test_api.py
@@ -58,7 +58,7 @@ def test_predict(client):
58
expected_response = {"results": [{"model_version": "GLiNERModel-v0.0.1", "result": [
59
{"from_name": "label", "score": 0.922, "to_name": "text", "type": "labels",
60
"value": {"end": 11, "labels": ["Medication/Vaccine"], "start": 0, "text": "atomoxetine"}},
61
- {"from_name": "label", "score": 0.8706, "to_name": "text", "type": "labels",
+ {"from_name": "label", "score": 0.7053, "to_name": "text", "type": "labels",
62
"value": {"end": 65, "labels": ["Medication/Vaccine"], "start": 32,
63
"text": "norepinephrine reuptake inhibitor"}}], "score": 0.7053}]}
64
0 commit comments