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

feat: Show raw context length in the generation info popup #1950

Closed
notasquid1938 opened this issue May 3, 2024 · 4 comments
Closed

feat: Show raw context length in the generation info popup #1950

notasquid1938 opened this issue May 3, 2024 · 4 comments

Comments

@notasquid1938
Copy link

notasquid1938 commented May 3, 2024

SInce the ollama api returns the raw tokens of the context, counting these to display a raw context length in the generation info could be useful for those wanting to test large context models/see exactly how many tokens the model used.

Edit: Misunderstood Ollama api

@tjbck
Copy link
Contributor

tjbck commented May 4, 2024

image

We already have something that seems to fit your description, if it's not feel free to elaborate more and let us know.

@tjbck tjbck closed this as completed May 4, 2024
@notasquid1938
Copy link
Author

Are you referring to prompt_eval_count? I tried searching the repo but couldn't find any reference to what it means.

@tjbck
Copy link
Contributor

tjbck commented May 4, 2024

Ollama doc: https://github.com/ollama/ollama/blob/main/docs/api.md

@notasquid1938
Copy link
Author

Thanks for the link

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