Skip to content

Replace encoder.json and vocab.bpe fs read with imports to support bundling (electron / browser / webpak bundled server)#45

Open
paztis wants to merge 1 commit into
latitudegames:masterfrom
paztis:master
Open

Replace encoder.json and vocab.bpe fs read with imports to support bundling (electron / browser / webpak bundled server)#45
paztis wants to merge 1 commit into
latitudegames:masterfrom
paztis:master

Conversation

@paztis
Copy link
Copy Markdown

@paztis paztis commented Oct 22, 2025

Replace encoder.json and vocab.bpe fs read with imports to support bundling (electron / browser / webpak bundled server) - create vocab.bpe.json file in build process

…ndling in projects - create vocab.bpe.json file in build process
@paztis
Copy link
Copy Markdown
Author

paztis commented Oct 22, 2025

similar to #33 PR but more simple, and without any modification of original vocab.bpe file

@paztis
Copy link
Copy Markdown
Author

paztis commented Oct 22, 2025

I release the module @paztis/gpt-3-encoder

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

Successfully merging this pull request may close these issues.

1 participant