MLServer icon indicating copy to clipboard operation
MLServer copied to clipboard

Documentation for parameter usage in HuggingFace runtime missing

Open JochenGuckSnk opened this issue 2 years ago • 6 comments
trafficstars

I am interested in using MLServer with HuggingFace models. To get the full potential of these models, it is essential to modify the model parameters (https://huggingface.co/docs/transformers/main_classes/text_generation). I have tried to change these parameters, but it is not straightforward to me. Therefore, it might be a good idea to extend the documentation with a section on how to modify parameters like the temperature or the num_return_sequences.

JochenGuckSnk avatar Feb 27 '23 08:02 JochenGuckSnk

Hi! Are there any news or plans on adding opportunity to pass such transformers config parameters as 'max_length' using Seldon HuggingFace server?

coctel99 avatar Oct 13 '23 09:10 coctel99

There're plans but we haven't got around it yet. We'll provide an update on this issue once it's done.

Alternatively, contributions are always welcome :wink:

adriangonz avatar Oct 26 '23 08:10 adriangonz

@adriangonz Do you have any updates? Or approximate dates?

coctel99 avatar Feb 20 '24 10:02 coctel99

Hey @coctel99, I'm no longer working for Seldon and no longer contributing to MLServer so I don't have any extra context on this one.

@sakoush has taken the reins of the project, so it'd be best to check with him.

adriangonz avatar Feb 20 '24 14:02 adriangonz

@ramonpzg for reference

sakoush avatar Feb 20 '24 18:02 sakoush

Hi @coctel99 -- I am taking care of this one for the next release :)

If you are in the community, I'll send you a message once it is merged.

ramonpzg avatar Mar 22 '24 13:03 ramonpzg