About Pipeline arg naming and chaining LLMs
#212
Replies: 3 comments 1 reply
-
|
Hi @alvarobartt, I agree! I think we should allow chaining LLMs in more complex ways. One simple solution could be to provide a list of LLMs that gets executed sequentially (instead of just I think the best solution is to be able to provide a DAG of LLMs, that would be flexible enough. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Yes, I agree too! Chaining LLMs is very important. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
As of now the
Pipelineexpects two argsgeneratorandlabeller, but essentially those are just chained LLMs with different tasks, so the naminggeneratorandlabellermay be a bit confusing, as both LLMs may be generating something i.e. inImproving Text Embeddings with Large Language Modelsthey generate first a set of tasks and the use those tasks combined with sampling other args to generate triplets, so at the end both LLMs are "generators" while the naminglabellerfor the second one can be confusing.Additionally, we won't be able to chain more than 2 LLMs, and that could be limiting under certain scenarios, so we should carefully think on how we can provide those args so that the LLMs provided are executed sequentially, but without having to think on whether the LLM is the
generatoror thelabeller. Also to reduce the code complexity so that the functions handling everything are common to both, makingPipeline's code more readable.Beta Was this translation helpful? Give feedback.
All reactions