Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from langchain.embeddings import HuggingFaceInstructEmbeddings
|
|
5 |
|
6 |
# Initialize the HuggingFaceInstructEmbeddings
|
7 |
hf = HuggingFaceInstructEmbeddings(
|
8 |
-
model_name="
|
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 |
)
|