From f39df0906e9533357b9bfbd272f5aa9215892223 Mon Sep 17 00:00:00 2001 From: Aaron Miller Date: Wed, 11 Oct 2023 14:35:10 -0700 Subject: [PATCH] fix embed4all filename https://discordapp.com/channels/1076964370942267462/1093558720690143283/1161778216462192692 Signed-off-by: Aaron Miller --- gpt4all-bindings/python/gpt4all/gpt4all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpt4all-bindings/python/gpt4all/gpt4all.py b/gpt4all-bindings/python/gpt4all/gpt4all.py index fc801782..e02c20ae 100644 --- a/gpt4all-bindings/python/gpt4all/gpt4all.py +++ b/gpt4all-bindings/python/gpt4all/gpt4all.py @@ -39,7 +39,7 @@ class Embed4All: 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]: """