MilaNLProc / simple-generation

A python package to run inference with HuggingFace language and vision-language checkpoints wrapping many convenient features.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inference deprecation warning

g8a9 opened this issue · comments

You have modified the pretrained model configuration to control generation. This is a deprecated strategy to control generation and will be removed soon, in a future version. Please use and modify the model generation configuration (see https://huggingface.co/docs/transformers/generation_strategies#default-text-generation-configuration )