Himanshusingh
commited on
Commit
•
286dd08
1
Parent(s):
6469f49
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,8 @@ def chunk_text_to_window_size_and_predict_proba(input_ids, attention_mask, total
|
|
79 |
|
80 |
probabilities = torch.nn.functional.softmax(outputs[0], dim = -1)
|
81 |
proba_list.append(probabilities)
|
82 |
-
|
|
|
83 |
|
84 |
def get_mean_from_proba(proba_list):
|
85 |
"""
|
|
|
79 |
|
80 |
probabilities = torch.nn.functional.softmax(outputs[0], dim = -1)
|
81 |
proba_list.append(probabilities)
|
82 |
+
|
83 |
+
return proba_list
|
84 |
|
85 |
def get_mean_from_proba(proba_list):
|
86 |
"""
|