Skip to content

Commit

Permalink
Update interface.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cadurosar authored Oct 19, 2023
1 parent edbb116 commit 1cb3c75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neurips23/sparse/nle/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def __init__(self,
self.stops = stops
self.scale = 100
self.index_encoding = PISA_INDEX_DEFAULTS['index_encoding']
self.n_cores = cpu_count()
self.n_cores = 8

def generate_forward(self):
_pisathon.generate_fwd(self.path+"/inv")
Expand Down Expand Up @@ -256,7 +256,7 @@ def retrieve(self, index2, queries, k, k1, k2,
stemmer='',
queries=inp,
k=k,
threads=self.n_cores,
threads=8,
stop_fname='',
query_weighted=1,
pretokenised=True,
Expand Down

0 comments on commit 1cb3c75

Please sign in to comment.