mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-20 03:25:37 +00:00
use default n_threads
This commit is contained in:
parent
15f1fe5445
commit
936dcd2bfc
@ -19,7 +19,7 @@ class Embed4All:
|
||||
def __init__(
|
||||
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(
|
||||
self,
|
||||
|
Loading…
Reference in New Issue
Block a user