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

Would using prompts that contain concatenated words to reduce token count negatively affect results #61

Open
hatgit opened this issue Mar 28, 2024 · 0 comments

Comments

@hatgit
Copy link

hatgit commented Mar 28, 2024

Background: I developed a rudimentary way to reduce token count for long prompts by concatenating words of a certain length, which has the potential to reduce API token costs by a few % , which can be significant for companies with high API costs from prompt token usage (regardless of their completion token costs which can remain constant).

Question for tokenizing: I am wondering if this approach has any negative affect as output seems unaffected, with completions returning normally.

See this thread with some of the pros/cons: https://community.openai.com/t/removing-spaces-from-prompts-to-maximize-character-limits-i-e-in-gpt-config/684125

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

1 participant