Skip to content

Commit

Permalink
Add llama2 static tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed Dec 18, 2023
1 parent 4ddd1c8 commit 2958984
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/tokenizers.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ describe('Tokenizers (hard-coded)', () => {
],
}

// Re-use the same tests for the llama2 tokenizer
TESTS['Xenova/llama2-tokenizer'] = TESTS['Xenova/llama-tokenizer_new'];

for (const [tokenizerName, test_data] of Object.entries(TESTS)) {

it(tokenizerName, async () => {
Expand Down

0 comments on commit 2958984

Please sign in to comment.