Skip to content

Intern-S1-pro transformers versions #32

@bugm

Description

@bugm

Hi, thank you for releasing this model and for the great work!

According to the documentation, this model should work with:
transformers >= 4.53.0

I have some problem to use AutoModelForCausalLM.from_pretrained

with transformers == 4.57.0, we need to fix some code in modeling_interns1_pro.py,
@check_model_inputs() should be @check_model_inputs to make it works

with the latest transformers == 5.1.0, the code @check_model_inputs() has no problem but will report another errors
Image

So what is the recommended transformers version to work with the modeling_interns1_pro.py ?

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