Skip to content

Commit da23aa2

Browse files
authored
Fix rate limit in SDG Retriever Eval Tutorial (#600)
* Reduce num workers in tutorial Signed-off-by: Ryan Wolf <rywolf@nvidia.com> * Further reduce num workers Signed-off-by: Ryan Wolf <rywolf@nvidia.com> --------- Signed-off-by: Ryan Wolf <rywolf@nvidia.com>
1 parent 9bd8473 commit da23aa2

File tree

1 file changed

+1
-1
lines changed
  • tutorials/synthetic-retrieval-evaluation

1 file changed

+1
-1
lines changed

tutorials/synthetic-retrieval-evaluation/DeDup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self):
1515
def get_embedding_vector(self, text):
1616
return self.embedding_model.invoke(text)
1717

18-
def list2vec(self, text_list, num_workers=100):
18+
def list2vec(self, text_list, num_workers=1):
1919
def process_text(text):
2020
return text, self.get_embedding_vector(text)
2121

0 commit comments

Comments
 (0)