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

FIX Prompt learning with latest transformers error #2140

Commits on Oct 9, 2024

  1. FIX Prompt learning with latest transformers error

    The error in PEFT is occurring after this transformers change:
    
    huggingface/transformers#33870
    
    Now, in our tests, some model_kwargs no longer necessarily contain
    past_key_values, resulting in a KeyError. We now account for this
    possibility. Affected models were opt and gpt2.
    BenjaminBossan committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    be9f89f View commit details
    Browse the repository at this point in the history