Spaces:
Runtime error
Runtime error
benliang99
commited on
Commit
·
25dae2e
1
Parent(s):
a96b11a
Updated markdowns to add descriptions.
Browse files
app.py
CHANGED
@@ -57,8 +57,9 @@ def sentiment_analysis(model, tokenizer):
|
|
57 |
else: return pipeline('text-classification')
|
58 |
|
59 |
# Title the Streamlit app 'Finetuned Harvard USPTO Patent Dataset (using DistilBert-Base-Uncased)'
|
60 |
-
st.title('Finetuned
|
61 |
st.markdown('Link to the app - [sentiment-analysis-app](https://huggingface.co/spaces/saccharinedreams/sentiment-analysis-app)')
|
|
|
62 |
|
63 |
abstracts = load_abstracts()
|
64 |
print(len(abstracts))
|
|
|
57 |
else: return pipeline('text-classification')
|
58 |
|
59 |
# Title the Streamlit app 'Finetuned Harvard USPTO Patent Dataset (using DistilBert-Base-Uncased)'
|
60 |
+
st.title('Finetuned Sentiment Analysis for US Patents')
|
61 |
st.markdown('Link to the app - [sentiment-analysis-app](https://huggingface.co/spaces/saccharinedreams/sentiment-analysis-app)')
|
62 |
+
st.markdown('This model was finetuned on the Harvard USPTO Patent Dataset and uses Distilbert-Base-Uncased.')
|
63 |
|
64 |
abstracts = load_abstracts()
|
65 |
print(len(abstracts))
|