Skip to content

Commit 144c9c4

Browse files
committed
test: fix tests
1 parent 80d9a2f commit 144c9c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/modelDependent/llama3.1/tokenPredictor.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@ describe("llama 3.1", () => {
7272
]
7373
`);
7474

75-
const text2Tokens = model.tokenize("can the");
75+
const text2Tokens = model.tokenize("can be");
7676
predictor.pushTokens(text2Tokens);
7777

7878
const predictedTokens4 = await predictor.predictTokens();
7979
expect(predictedTokens4.map((token) => model.detokenize([token], true))).toMatchInlineSnapshot(`
8080
[
81-
" average",
82-
" person",
81+
" done",
82+
" to",
8383
]
8484
`);
8585
});

0 commit comments

Comments
 (0)