Skip to content

[Bug]: XLMRobertaForTokenClassification.forward() got an unexpected keyword argument 'past_key_values' #232

@anonymous123ok

Description

@anonymous123ok

Describe the bug

When I strictly followed the instructions in the README and attempted to execute SecurityLingu using the weights you provided on huggingface, I encountered the following two errors successively. To solve the first error, I deleted "use_slingua", and then encountered the second error. I think there is some bug in this.

TypeError: PromptCompressor.init() got an unexpected keyword argument 'use_slingua'
XLMRobertaForTokenClassification.forward() got an unexpected keyword argument 'past_key_values'

Steps to reproduce

No response

Expected Behavior

No response

Logs

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions