Skip to content

Commit

Permalink
feat: upgrade to v3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzLuke96 committed Oct 21, 2024
1 parent b3435a8 commit 41ad928
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
"@lenml/tokenizers": "^3.0.1",
"@lenml/tokenizers": "^3.0.3",
"@quik-fe/stand": "^1.1.2",
"@types/draft-js": "^0.11.18",
"@types/styled-components": "^5.1.34",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/TokenizersHub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import EventEmitter from "eventemitter3";

type PreTrainedTokenizer = tokenizers.PreTrainedTokenizer;

// NOTE: 这里的 package version 并不是 tokenizers 的 version,而是打包版本的 version,并不一定和 `tokenizers` 版本一致
const package_version = "3.0.1";
export const packages = [
"llama3_1",
Expand Down
2 changes: 1 addition & 1 deletion src/components/TokenizerPanel/TokenizerConfigure.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const TokenizerFromUrls = ({ onConfigChange }: Props) => {
onChange={(e) => {
setFormData((prev) => ({ ...prev, config_url: e.target.value }));
}}
placeholder="https://huggingface.co/.../config.json"
placeholder="https://huggingface.co/.../tokenizer_config.json"
/>
</label>
</div>
Expand Down

0 comments on commit 41ad928

Please sign in to comment.