v1 model arguments default values #1536
Replies: 2 comments 4 replies
-
I think we should avoid exceptions, as this would essentially show an error on a user's first experience with Outlines. This would be kind of painful/annoying. I think my recommendation is to default |
Beta Was this translation helpful? Give feedback.
-
I'm going to open a PR for |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The current approach in the v1 is that the users are responsible for providing whatever arguments are necessary for the model library they have chosen (both for initialization and for inference).
An issue is that, for instance, the
transformers
library sets the default value of its argumentmax_new_tokens
to 20. If a user forgets to override this default value, constrained generation will often fail because of an incomplete generation caused by the an overly low number of new tokens that can be generated. That's a problem as users may not understand the origin of the issue and blame outlines for it.Question: should we create exceptions to our general approach and modify the default value of some arguments for some models when we anticipate that not doing so would create errors for out users?
Beta Was this translation helpful? Give feedback.
All reactions