Chris4K commited on
Commit
ac3e84b
·
1 Parent(s): 550fec3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from langchain.embeddings import HuggingFaceInstructEmbeddings
5
 
6
  # Initialize the HuggingFaceInstructEmbeddings
7
  hf = HuggingFaceInstructEmbeddings(
8
- model_name="hkunlp/instructor-large",
9
  embed_instruction="Represent the document for retrieval: ",
10
  query_instruction="Represent the query for retrieval: "
11
  )
 
5
 
6
  # Initialize the HuggingFaceInstructEmbeddings
7
  hf = HuggingFaceInstructEmbeddings(
8
+ model_name="gpt2",
9
  embed_instruction="Represent the document for retrieval: ",
10
  query_instruction="Represent the query for retrieval: "
11
  )