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

[EAGLE-3698]-split- add new model type example #237

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

phatvo9
Copy link
Contributor

@phatvo9 phatvo9 commented Nov 30, 2023

What

Split part of #227, add new model type example

self.device = "cuda:0" if torch.cuda.is_available() else "cpu"
self.model = INSTRUCTOR('hkunlp/instructor-xl')

@config.inference.wrap_func
Copy link
Contributor

Choose a reason for hiding this comment

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

Confused here. This is difficult to parse.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you clarify this? this line is auto-generated and can be ignored by user.

Copy link
Contributor

@ackizilkale ackizilkale left a comment

Choose a reason for hiding this comment

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

I have one comment. That together with readme should do.

@phatvo9 phatvo9 merged commit dffc754 into master Dec 4, 2023
6 checks passed
@phatvo9 phatvo9 deleted the EAGLE-3698_new-examples branch December 4, 2023 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants