abetlen / abetlen/llama-cpp-python
Question - Batch Processing
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 10.6k
- Fork
- 1.4k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
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?
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.