Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tokenizer TS Web Browser Compatability #45

Open
Wolfleader101 opened this issue May 8, 2024 · 1 comment
Open

Tokenizer TS Web Browser Compatability #45

Wolfleader101 opened this issue May 8, 2024 · 1 comment

Comments

@Wolfleader101
Copy link

Hello,

The TS package doesnt work on web browser due to its usage of fs and path, is there any plans to support web browsers?

Cheers!

@shengyfu
Copy link
Member

Sorry, web browser support is not our priority as of now, but feel free to create a PR if you really need it, the fs/path are only used to load the bpe model files, they can be replaced with http stream in browser setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants