Spaces:
Runtime error
Runtime error
improve performance
Browse files
app.py
CHANGED
@@ -512,10 +512,10 @@ zero_shot_results = zero_shot_results.rename(columns={'sequence':'tweet', 'label
|
|
512 |
|
513 |
st.subheader('Zero-Shot Classification and Sentiment Analysis Results')
|
514 |
st.write(f'''
|
515 |
-
Let's review
|
516 |
''')
|
517 |
|
518 |
-
st.dataframe(zero_shot_results.style.format(precision=2))
|
519 |
|
520 |
st.write(f'''
|
521 |
We can observe that the model does not have strong confidence in predicting the categories for some of the tweets.
|
|
|
512 |
|
513 |
st.subheader('Zero-Shot Classification and Sentiment Analysis Results')
|
514 |
st.write(f'''
|
515 |
+
Let's review some tweets and how they fall into the categories of finance, politics, technology, and wildlife.
|
516 |
''')
|
517 |
|
518 |
+
st.dataframe(zero_shot_results.iloc[:2000].style.format(precision=2))
|
519 |
|
520 |
st.write(f'''
|
521 |
We can observe that the model does not have strong confidence in predicting the categories for some of the tweets.
|