Himanshusingh
commited on
Commit
•
567a866
1
Parent(s):
dcabcbb
Update app.py
Browse files
app.py
CHANGED
@@ -78,6 +78,7 @@ def chunk_text_to_window_size_and_predict_proba(input_ids, attention_mask, total
|
|
78 |
print("########:", decoded , ":##############")
|
79 |
|
80 |
probabilities = torch.nn.functional.softmax(outputs[0], dim = -1)
|
|
|
81 |
proba_list.append(probabilities)
|
82 |
start = end
|
83 |
|
|
|
78 |
print("########:", decoded , ":##############")
|
79 |
|
80 |
probabilities = torch.nn.functional.softmax(outputs[0], dim = -1)
|
81 |
+
print("########:", probabilities , ":##############")
|
82 |
proba_list.append(probabilities)
|
83 |
start = end
|
84 |
|