heikowagner commited on
Commit
e84bd04
1 Parent(s): 6f8476a
Files changed (1) hide show
  1. 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('myGPT')
8
- st.header('An GPT example brought to you by Heiko Wagner')
9
 
10
- st.markdown('*\"Parametrised models are simply functions that depend on inputs and trainable parameters. There is no fundamental difference between the two, except that trainable parameters are shared across training samples whereas the input varies from sample to sample.\"* [(Yann LeCun, Deep learning course)](https://atcold.github.io/pytorch-Deep-Learning/en/week02/02-1/#Parametrised-models)')
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: