Spaces:
Sleeping
Sleeping
Commit
·
c9f5c49
1
Parent(s):
4d072c1
Changing a minor documentation issue
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ st.markdown(' - Author: hcontreras')
|
|
7 |
st.markdown(' - Description: We want to classify sentences into a predefined set of topics. We use semantic search with a pre-trained transformer and we embed the input sentences and find the score relative to each topic')
|
8 |
|
9 |
st.markdown('## A quick test')
|
10 |
-
st.markdown('As a test we can create an embedding for a
|
11 |
|
12 |
from sentence_transformers import SentenceTransformer, util
|
13 |
model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
|
|
|
7 |
st.markdown(' - Description: We want to classify sentences into a predefined set of topics. We use semantic search with a pre-trained transformer and we embed the input sentences and find the score relative to each topic')
|
8 |
|
9 |
st.markdown('## A quick test')
|
10 |
+
st.markdown('As a test we can create an embedding for a sentence and explore the score for a given topic (Transportation, Health, Space) and the most likey topic. Have fun!')
|
11 |
|
12 |
from sentence_transformers import SentenceTransformer, util
|
13 |
model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
|