mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-28 08:17:18 +00:00
use default n_threads
This commit is contained in:
parent
15f1fe5445
commit
936dcd2bfc
@ -19,7 +19,7 @@ class Embed4All:
|
|||||||
def __init__(
|
def __init__(
|
||||||
self
|
self
|
||||||
):
|
):
|
||||||
self.gpt4all = GPT4All(model_name='ggml-all-MiniLM-L6-v2-f16.bin', n_threads=8)
|
self.gpt4all = GPT4All(model_name='ggml-all-MiniLM-L6-v2-f16.bin')
|
||||||
|
|
||||||
def embed(
|
def embed(
|
||||||
self,
|
self,
|
||||||
|
Loading…
Reference in New Issue
Block a user