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

Question about customize pipeline in code #20

Open
Jeffwang87 opened this issue Nov 19, 2023 · 1 comment
Open

Question about customize pipeline in code #20

Jeffwang87 opened this issue Nov 19, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@Jeffwang87
Copy link

Jeffwang87 commented Nov 19, 2023

Screenshot 2023-11-19 at 11 24 31 AM

What does the self function in the function of your customized pipeline refer to?

Thanks

@Jeffwang87 Jeffwang87 changed the title Question about customize pipelin in code Question about customize pipeline in code Nov 19, 2023
@justinphan3110cais
Copy link
Collaborator

@Jeffwang87 Hi, self will go through:

1. _sanitize_parameters
2. preprocess
3. _forward
4. postprocess

More information about the documents from Hugging Face Pipeline is here

@justinphan3110cais justinphan3110cais added the documentation Improvements or additions to documentation label Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants