An Experiment of Implementing Reservoir Sampling to StreamingLLM
When the text is longer than the training sequence length, the streamingLLM can successfully improve the computational speed and guarantee a certain degree of accuracy. But this method is only suitable for short term memory questions and answers. Because the StreamingLLM doesn’t improve a computer’s Long-term memory ability. We tried to combine the reservoir sampling with streamingLLM. Since StreamingLLM, the reservoir sampling will randomly take samples from what were meant to be discarded. Through adding reservoir sampling, we find the results are more accurate and representative.
Authors
- Jiayi Weng
- Jiyang Pan (ORCID: https://orcid.org/0009-0008-3153-9187)
- Qianbiao Zhao
- Patrick Pan
- Yi‐Chia Huang (ORCID: https://orcid.org/0000-0003-2234-4464)
Publication Details
- Journal
- Science and Technology of Engineering Chemistry and Environmental Protection
- Published
- 2025-02-26
- DOI
- https://doi.org/10.61173/a09ce072
- Primary Topic
- Blind Source Separation Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00