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

chore: tokenizer improvement and testing #417

Merged
merged 1 commit into from
Jun 2, 2023
Merged

chore: tokenizer improvement and testing #417

merged 1 commit into from
Jun 2, 2023

Conversation

danny-avila
Copy link
Owner

refactor(chatgpt-client.js): free encoder memory after use
feat(chatgpt-client.tokens.js): add script to test memory usage of ChatGPTClient

refactor(chatgpt-client.js): free encoder memory after use
feat(chatgpt-client.tokens.js): add script to test memory usage of ChatGPTClient
@danny-avila danny-avila changed the title chore(.gitignore): add client/public/images/ to ignore list chore: tokenizer improvement and testing Jun 1, 2023
@danny-avila
Copy link
Owner Author

The purpose of api/app/clients/chatgpt-client.tokens.js is to test our dependency library's use of tokenizer, which may cause issues at scale.

@danny-avila danny-avila merged commit 7fbf27c into main Jun 2, 2023
@danny-avila danny-avila deleted the tokenizer branch June 2, 2023 04:08
cnkang pushed a commit to cnkang/LibreChat that referenced this pull request Feb 6, 2024
…ila#417)

refactor(chatgpt-client.js): free encoder memory after use
feat(chatgpt-client.tokens.js): add script to test memory usage of ChatGPTClient
jinzishuai pushed a commit to aitok-ai/LibreChat that referenced this pull request May 20, 2024
…ila#417)

refactor(chatgpt-client.js): free encoder memory after use
feat(chatgpt-client.tokens.js): add script to test memory usage of ChatGPTClient
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.

None yet

1 participant