Closed seunghyukoh closed 12 months ago
Hi @jake-seunghyukoh , Thank you for your interest in our work and for reporting this!
This unused variable practically lead the model to use position==0
for the query.
This was fixed in https://github.com/abertsch72/unlimiformer/commit/60b4316d524e19b52ebba3954af75d6fa07b84a9
Thanks again, let us know if you have any more questions!
Best, Uri
Hi, while reviewing the
UnlimiformerLLaMa
class, I found an unused variable in thepreprocess_query
method.The variable
q_embed
looks quite important since it's related to Llama's rotary embedding. Is this intentional?Thanks!