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

Question - Batch Processing #1902

Open
virentakia opened this issue Jan 22, 2025 · 0 comments
Open

Question - Batch Processing #1902

virentakia opened this issue Jan 22, 2025 · 0 comments

Comments

@virentakia
Copy link

virentakia commented Jan 22, 2025

I'm processing a batch of approximately 100 prompts, each ranging from 1,200 to 14,000 tokens in length. Given that the input context length must be specified during model initialisation, I'm considering two options:

  1. Initialize the model with the maximum token length of 14,000 tokens.
    OR
  2. Instantiate the model each time with the required context length.

Are there other avenues I should be exploring?

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