nickmuchi commited on
Commit
d89437b
1 Parent(s): 09c79f1

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=f'hkunlp/{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