Simon Salmon
commited on
Commit
·
69063a5
1
Parent(s):
e129d30
Update app.py
Browse files
app.py
CHANGED
@@ -35,4 +35,7 @@ with st.form(key='my_form'):
|
|
35 |
mask_hidden_state = last_hidden_state[mask_index]
|
36 |
idx = torch.topk(mask_hidden_state, k=100, dim=0)[1]
|
37 |
words = [tokenizer.decode(i.item()).strip() for i in idx]
|
38 |
-
st.write(words)
|
|
|
|
|
|
|
|
35 |
mask_hidden_state = last_hidden_state[mask_index]
|
36 |
idx = torch.topk(mask_hidden_state, k=100, dim=0)[1]
|
37 |
words = [tokenizer.decode(i.item()).strip() for i in idx]
|
38 |
+
st.write(words)
|
39 |
+
col1= st.columns(1)
|
40 |
+
with col1:
|
41 |
+
st.write(words)
|