Spaces:
Runtime error
Runtime error
kovacsvi
commited on
Commit
Β·
1ea7a80
1
Parent(s):
3e91901
interpretation info
Browse files
interfaces/cap_minor_media.py
CHANGED
@@ -135,8 +135,6 @@ def predict(text, major_model_id, minor_model_id, tokenizer_id, HF_TOKEN=None):
|
|
135 |
- A list of **minor topic confidences**.
|
136 |
|
137 |
In the case of minor topics, the values are the confidences for minor topics **within a given major topic**, and they are **normalized to sum to 1**.
|
138 |
-
|
139 |
-
**Note:** This method cannot return a mix of major and minor topic predictions.
|
140 |
"""
|
141 |
|
142 |
return interpretation_info, output_pred, output_info
|
|
|
135 |
- A list of **minor topic confidences**.
|
136 |
|
137 |
In the case of minor topics, the values are the confidences for minor topics **within a given major topic**, and they are **normalized to sum to 1**.
|
|
|
|
|
138 |
"""
|
139 |
|
140 |
return interpretation_info, output_pred, output_info
|