Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ngxson committed Jan 14, 2025
1 parent e0a8f36 commit 8a69d7d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/tasks/src/local-apps.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ describe("local-apps", () => {
const snippet = snippetFunc(model);

expect(snippet[0].content).toEqual(`# Load and run the model:
llama-cli \\
--hf-repo "bartowski/Llama-3.2-3B-Instruct-GGUF" \\
--hf-file {{GGUF_FILE}} \\
-p "You are a helpful assistant" \\
--conversation`);
llama-cli -hf bartowski/Llama-3.2-3B-Instruct-GGUF`);
});

it("llama.cpp non-conversational", async () => {
Expand All @@ -30,9 +26,7 @@ llama-cli \\
const snippet = snippetFunc(model);

expect(snippet[0].content).toEqual(`# Load and run the model:
llama-cli \\
--hf-repo "mlabonne/gemma-2b-GGUF" \\
--hf-file {{GGUF_FILE}} \\
llama-cli -hf mlabonne/gemma-2b-GGUF \\
-p "Once upon a time,"`);
});

Expand Down

0 comments on commit 8a69d7d

Please sign in to comment.