Spaces:
Build error
Build error
Commit
·
e84bd04
1
Parent(s):
6f8476a
text
Browse files- app/app.py +3 -5
app/app.py
CHANGED
@@ -4,12 +4,10 @@ import utils as ut
|
|
4 |
import os
|
5 |
|
6 |
persist_directory = load_model.persist_directory
|
7 |
-
st.title('
|
8 |
-
st.header('An GPT example brought to you by Heiko Wagner')
|
9 |
|
10 |
-
st.markdown('
|
11 |
-
|
12 |
-
st.latex(r'''h(\boldsymbol x, \boldsymbol w)= \sum_{k=1}^{K}\boldsymbol w_{k} \phi_{k}(\boldsymbol x)''')
|
13 |
|
14 |
agree = st.checkbox('Load new Documents')
|
15 |
if agree:
|
|
|
4 |
import os
|
5 |
|
6 |
persist_directory = load_model.persist_directory
|
7 |
+
st.title('myRetrievalGPT')
|
8 |
+
st.header('An GPT Retrieval example brought to you by Heiko Wagner')
|
9 |
|
10 |
+
st.markdown('*Let $\phi$ be a word embedding mapping $W$ → $\mathbb{R}^n$ where $W$ is the word space and $\mathbb{R}^n$ is an $n$-dimensional vector space then: $\phi(king)-\phi(man)+\phi(woman)=\phi(queen)$* ')
|
|
|
|
|
11 |
|
12 |
agree = st.checkbox('Load new Documents')
|
13 |
if agree:
|