mozilla-ai / lm-buddy

Your buddy in the (L)LM space.
Apache License 2.0
64 stars 3 forks source link

Fix index out of bound error if input size is greater than the maximu… #105

Closed imtihan closed 2 months ago

imtihan commented 3 months ago

…m context length

What's changing

parameter value on tokenization

How to test it

run an lm-buddy hf-evaluate job with the pegasus-xsum model and email thread summary (https://huggingface.co/datasets/sidhq/email-thread-summary) dataset. It should run without errors.

Related Jira Ticket

Additional notes for reviewers

aittalam commented 2 months ago

Addressed in PR113