-
Notifications
You must be signed in to change notification settings - Fork 7
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
use Auto classes in readme #165
Conversation
re_model = TransformerTextClassificationModel.from_pretrained(model_name_or_path) | ||
|
||
re_pipeline = Pipeline(model=re_model, taskmodule=re_taskmodule, device=-1) | ||
re_pipeline = AutoPipeline.from_pretrained("pie/example-re-textclf-tacred", device=-1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we keep the examples without AutoX to demonstrate how it actually works?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure. Both or just this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say both. We'll explain the use of AutoX in the documentation and README.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in 3403b35.
Just minor comments, otherwise it looks good! 👍 |
No description provided.