michaelfeil / hf-hub-ctranslate2

Connecting Transformers on HuggingFace Hub with CTranslate2
https://michaelfeil.github.io/hf-hub-ctranslate2/
MIT License
36 stars 2 forks source link

Add default generation parameters in the docs #13

Open AmgadHasan opened 1 year ago

AmgadHasan commented 1 year ago

Hello

Thanks for this amazing project.

Can you add the default generation parameters in the docs?

Like when we run

outputs = model.generate(
    text=[prompt],
    max_length=512,
    include_prompt_in_result=False
)

What are the default parameters used (temperature, top_p, top_k, sequence length, beam_size, etc)

This probably will take 10 minutes of work but will greatly help users

Thanks

thanhnew2001 commented 11 months ago

Any progress on this please?