Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -26,14 +26,15 @@ from utils.retriever import (
26
  )
27
 
28
 
29
- st.title("Instructor XL Embeddings")
30
 
31
 
32
  st.write(
33
  """The app compares the performance of different instructions using the Instructor-XL Embedding Model on the text from AMD's Q1 2020 Earnings Call Transcript.
34
  The app uses a two stage retreival process:
35
  1. BM-25 to filter the results based on keyword matching,
36
- 2. Instructor-XL to perform Semantic Search."""
 
37
  )
38
 
39
  use_bm25 = st.checkbox('Use BM25 for filtering results')
@@ -134,6 +135,9 @@ index_mapping = {
134
  }
135
 
136
  with col2:
 
 
 
137
  text_embedding_instruction = st.selectbox(
138
  "Select instruction for Text Embedding",
139
  text_embedding_instructions_choice,
 
26
  )
27
 
28
 
29
+ st.title("Instructor-XL Embeddings")
30
 
31
 
32
  st.write(
33
  """The app compares the performance of different instructions using the Instructor-XL Embedding Model on the text from AMD's Q1 2020 Earnings Call Transcript.
34
  The app uses a two stage retreival process:
35
  1. BM-25 to filter the results based on keyword matching,
36
+ 2. Instructor-XL to perform Semantic Search.
37
+ """
38
  )
39
 
40
  use_bm25 = st.checkbox('Use BM25 for filtering results')
 
135
  }
136
 
137
  with col2:
138
+ st.write(
139
+ "Choose an instruction for creating the text embedding"
140
+ )
141
  text_embedding_instruction = st.selectbox(
142
  "Select instruction for Text Embedding",
143
  text_embedding_instructions_choice,