outlines icon indicating copy to clipboard operation
outlines copied to clipboard

Standardize the use of the model_name argument

Open RobinPicard opened this issue 7 months ago • 0 comments

Addresses #1583

We standardize the behavior by including an optional model_name argument in the loading function of all models for which a model name can be provided (so all models except those of type SteerableModel and TGI).

In the text generation methods, we give precedence to the inference keyword argument for the model name, otherwise we fall back to the model_name value provided at initialization (if there's one)

RobinPicard avatar May 16 '25 15:05 RobinPicard