Spaces:
Sleeping
Sleeping
Commit
·
094d202
1
Parent(s):
90a444c
Documenting - adding markdowns
Browse files
app.py
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
|
|
|
|
|
|
|
|
|
4 |
from sentence_transformers import SentenceTransformer
|
5 |
model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
|
6 |
|
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
|
4 |
+
st.markdown('# Semantic search and topic classification (v1)')
|
5 |
+
st.markdown(' - Author: hcontreras')
|
6 |
+
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')
|
7 |
+
|
8 |
from sentence_transformers import SentenceTransformer
|
9 |
model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
|
10 |
|