Skip to content

Commit

Permalink
Update benchmarks script
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmezzetti committed Oct 30, 2023
1 parent a688966 commit 42a5543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def index(self):
embeddings.load(path)
else:
# Read configuration
config = self.readconfig("embed", {"batch": 8192, "encodebatch": 128, "faiss": {"quantize": True, "sample": 0.05}})
config = self.readconfig("embeddings", {"batch": 8192, "encodebatch": 128, "faiss": {"quantize": True, "sample": 0.05}})

# Build index
embeddings = Embeddings(config)
Expand Down

0 comments on commit 42a5543

Please sign in to comment.