Skip to content

Commit

Permalink
feat: add package llama3_1
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzLuke96 committed Aug 4, 2024
1 parent a249aa9 commit 5042776
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/TokenizersHub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import EventEmitter from "eventemitter3";

type PreTrainedTokenizer = tokenizers.PreTrainedTokenizer;

const package_version = "1.1.1";
export const packages = [
"llama3_1",
"llama2",
"llama3",
"gpt4o",
Expand All @@ -27,7 +29,7 @@ export const packages = [
"text_embedding_ada002",
].map((x) => ({
name: x,
url: `https://cdn.jsdelivr.net/npm/@lenml/tokenizer-${x}@1.0.4/+esm`,
url: `https://cdn.jsdelivr.net/npm/@lenml/tokenizer-${x}@${package_version}/+esm`,
}));

// 从这里取得所有的 Tokenizers
Expand Down

0 comments on commit 5042776

Please sign in to comment.