InternLM / InternLM/Intern-S1

Intern-S1-pro transformers versions

Open
#32 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
861
Forks
51
Avg merge
1m
Merged PRs (30d)
1

Description

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 ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.