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(transformers): support trust_remote_code and added unit tests #4271

Merged
merged 7 commits into from
Nov 28, 2023

Conversation

MingLiangDai
Copy link
Contributor

What does this PR address?

Add unit tests to transformers import model

Before submitting:

@MingLiangDai MingLiangDai self-assigned this Nov 9, 2023
@MingLiangDai MingLiangDai requested a review from a team as a code owner November 9, 2023 21:49
@MingLiangDai MingLiangDai requested review from aarnphm and removed request for a team November 9, 2023 21:49
Copy link
Contributor

@aarnphm aarnphm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually how to do we import a trust_remote_code=True model? Sth like chatglm or baichuan

Copy link
Contributor

@aarnphm aarnphm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final comments, then GTG

@aarnphm aarnphm changed the title transformers import model unit tests fix(transformers): support trust_remote_code and added unit tests Nov 28, 2023
@MingLiangDai MingLiangDai force-pushed the transformers-import-tests branch from ad26fa9 to bd29780 Compare November 28, 2023 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants