bindings: replace references to GGMLv3 models with GGUF (#1547)

This commit is contained in:
cebtenzzre
2023-10-22 11:58:28 -04:00
committed by GitHub
parent c25dc51935
commit 37b007603a
7 changed files with 29 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
import { LLModel, createCompletion, DEFAULT_DIRECTORY, DEFAULT_LIBRARIES_DIRECTORY, loadModel } from '../src/gpt4all.js'
const model = await loadModel(
'orca-mini-3b.ggmlv3.q4_0.bin',
'orca-mini-3b-gguf2-q4_0.gguf',
{ verbose: true }
);
const ll = model.llm;