Skip to content

Commit

Permalink
fix embed4all filename
Browse files Browse the repository at this point in the history
  • Loading branch information
apage43 authored and manyoso committed Oct 12, 2023
1 parent 005c092 commit f39df09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpt4all-bindings/python/gpt4all/gpt4all.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self, model_name: Optional[str] = None, n_threads: Optional[int] =
Args:
n_threads: number of CPU threads used by GPT4All. Default is None, then the number of threads are determined automatically.
"""
self.gpt4all = GPT4All(model_name or 'ggml-all-MiniLM-L6-v2-f16.gguf', n_threads=n_threads, **kwargs)
self.gpt4all = GPT4All(model_name or 'all-MiniLM-L6-v2-f16.gguf', n_threads=n_threads, **kwargs)

def embed(self, text: str) -> List[float]:
"""
Expand Down

0 comments on commit f39df09

Please sign in to comment.