Commit
·
27e4a2e
1
Parent(s):
37fc349
Update app.py
Browse files
app.py
CHANGED
@@ -65,6 +65,7 @@ def chunk_text_to_window_size_and_predict_proba(input_ids, attention_mask, total
|
|
65 |
|
66 |
probabilities = torch.nn.functional.softmax(outputs[0], dim = -1)
|
67 |
proba_list.append(probabilities)
|
|
|
68 |
|
69 |
def get_mean_from_proba(proba_list):
|
70 |
"""
|
|
|
65 |
|
66 |
probabilities = torch.nn.functional.softmax(outputs[0], dim = -1)
|
67 |
proba_list.append(probabilities)
|
68 |
+
return proba_list
|
69 |
|
70 |
def get_mean_from_proba(proba_list):
|
71 |
"""
|