diff --git a/test/TinyLLama-v0.Q8_0.gguf b/test/TinyLLama-v0.Q8_0.gguf deleted file mode 100644 index 0d22107..0000000 Binary files a/test/TinyLLama-v0.Q8_0.gguf and /dev/null differ diff --git a/test/__snapshots__/index.test.ts.snap b/test/__snapshots__/index.test.ts.snap index 2f4b13d..997c35c 100644 --- a/test/__snapshots__/index.test.ts.snap +++ b/test/__snapshots__/index.test.ts.snap @@ -2,7 +2,7 @@ exports[`work fine 1`] = ` { - "text": " day. He was so excited to play with his", + "text": " swochadoorter scientific WindowsCa occupiedrå alta", "tokens_evaluated": 18, "tokens_predicted": 10, "truncated": false, diff --git a/test/index.test.ts b/test/index.test.ts index 097571b..ad62cc1 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -4,7 +4,7 @@ import { loadModel } from '../lib' it('work fine', async () => { let tokens = '' - const model = await loadModel({ model: path.resolve(__dirname, './TinyLLama-v0.Q8_0.gguf'), n_gpu_layers: 0 }) + const model = await loadModel({ model: path.resolve(__dirname, './tiny-random-llama.gguf'), n_gpu_layers: 0 }) const result = await model.completion({ prompt: 'My name is Merve and my favorite', n_samples: 1, diff --git a/test/tiny-random-llama.gguf b/test/tiny-random-llama.gguf new file mode 100644 index 0000000..55b2b40 Binary files /dev/null and b/test/tiny-random-llama.gguf differ