nickmuchi commited on
Commit
5dfeae8
1 Parent(s): d89437b

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +1 -1
functions.py CHANGED
@@ -154,7 +154,7 @@ def gen_embeddings(embedding_model):
154
 
155
  if 'hkunlp' in embedding_model:
156
 
157
- embeddings = HuggingFaceInstructEmbeddings(model_name=embedding_model',
158
  query_instruction='Represent the Financial question for retrieving supporting paragraphs: ',
159
  embed_instruction='Represent the Financial paragraph for retrieval: ')
160
 
154
 
155
  if 'hkunlp' in embedding_model:
156
 
157
+ embeddings = HuggingFaceInstructEmbeddings(model_name=embedding_model,
158
  query_instruction='Represent the Financial question for retrieving supporting paragraphs: ',
159
  embed_instruction='Represent the Financial paragraph for retrieval: ')
160