Spaces:
Sleeping
Sleeping
João Pedro
commited on
Commit
·
a9e3f24
1
Parent(s):
99700b8
print encoding's shape
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ if uploaded_file:
|
|
31 |
truncation=True,
|
32 |
max_length=512,
|
33 |
)
|
34 |
-
st.text(f'encoding: {encoding}')
|
35 |
outputs = model(**encoding)
|
36 |
predictions = outputs.logits.argmax(-1)
|
37 |
|
|
|
31 |
truncation=True,
|
32 |
max_length=512,
|
33 |
)
|
34 |
+
st.text(f'encoding shape: {encoding.shape}')
|
35 |
outputs = model(**encoding)
|
36 |
predictions = outputs.logits.argmax(-1)
|
37 |
|