Himanshusingh
commited on
Commit
•
dcabcbb
1
Parent(s):
286dd08
Update app.py
Browse files
app.py
CHANGED
@@ -79,6 +79,7 @@ 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 |
return proba_list
|
84 |
|
|
|
79 |
|
80 |
probabilities = torch.nn.functional.softmax(outputs[0], dim = -1)
|
81 |
proba_list.append(probabilities)
|
82 |
+
start = end
|
83 |
|
84 |
return proba_list
|
85 |
|