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

what is pipeline? #929

Open
chakravarthi-vatala opened this issue Sep 12, 2024 · 1 comment
Open

what is pipeline? #929

chakravarthi-vatala opened this issue Sep 12, 2024 · 1 comment
Labels
question Further information is requested

Comments

@chakravarthi-vatala
Copy link

chakravarthi-vatala commented Sep 12, 2024

No description provided.

@chakravarthi-vatala chakravarthi-vatala added the question Further information is requested label Sep 12, 2024
@flatsiedatsie
Copy link

Pipelines are great for beginners. A pinepine is a bit of code that Xenova has kindly made available for lots of AI models so that you can easily and quickly use a certain AI model without having to worry about settings and other details.

For example, normally to run a text generation AI model you would need to setup a lot of things:

  • a tokenizer function, which turns your text (or other data) into input the AI model expects and understands.
  • the AI model itself, which needs to be initialized with certain preferences, like context size, temperature, quantization level, and more.
  • a processor function, that handles the output of the model and returns it to you as human readable text.

A pipeline wraps all those parts into a pre-made, easy to use package. So you can just put your question in one end, and an answer comes out the other end.

If you want to you can still do all the complex stuff. But if there is a pipeline available for the model you'd like to use, then you can also go the easy route and use that.

Screenshot 2024-09-14 at 10 00 49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants