Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

unexpected keyword argument 'attn_implementation' #7

Open

Description

Traceback (most recent call last):
File "/home/m00830934/code/LongRoPE/evolution/evaluate.py", line 110, in
main(args)
File "/home/m00830934/code/LongRoPE/evolution/evaluate.py", line 52, in main
model = rope.load_model(model_name_or_path=args.model, **model_args)
File "/home/m00830934/code/LongRoPE/rope/init.py", line 118, in load_model
model = model_class.from_pretrained(
File "/home/m00830934/anaconda3/envs/LLAMA2-7B/lib/python3.8/site-packages/transformers/models/auto/auto_factory.py", line 566, in from_pretrained
return model_class.from_pretrained(
File "/home/m00830934/anaconda3/envs/LLAMA2-7B/lib/python3.8/site-packages/transformers/modeling_utils.py", line 3450, in from_pretrained
model = cls(config, *model_args, **model_kwargs)
TypeError: init() got an unexpected keyword argument 'attn_implementation'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /