-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hello!
I am trying out gliclass. If I follow the example with a simple query, I see that every class label I pass gets 0.999 as a score. Is this expected?
labels = ["sports", "weather", "entertainment", "travel"]
results = pipeline(["weather"], labels, threshold=0.5)
print(results)
# [[{'label': 'sports', 'score': 0.9976825714111328},
# {'label': 'weather', 'score': 0.9999980926513672},
# {'label': 'entertainment', 'score': 0.9933828115463257},
# {'label': 'travel', 'score': 0.9999979734420776}]]pipeline was initialized as in the README.
Stéphan
Metadata
Metadata
Assignees
Labels
No labels