AttributeError: 'T5Config' object has no attribute 'exponential_decay_length_penalty'
File "c:\users\meet vora\appdata\local\programs\python\python38\lib\site-packages\streamlit\scriptrunner\script_runner.py", line 443, in _run_script
    exec(code, module.__dict__)
File "C:\Users\MEET VORA\Desktop\fiver\ui.py", line 140, in <module>
    pred_summary = summarizeText(input_text)
File "C:\Users\MEET VORA\Desktop\fiver\ui.py", line 120, in summarizeText
    generated_ids = model.generate(
File "c:\users\meet vora\appdata\local\programs\python\python38\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
File "c:\users\meet vora\appdata\local\programs\python\python38\lib\site-packages\transformers\generation_utils.py", line 1259, in generate
    logits_processor = self._get_logits_processor(
File "c:\users\meet vora\appdata\local\programs\python\python38\lib\site-packages\transformers\generation_utils.py", line 727, in _get_logits_processor
    else self.config.exponential_decay_length_penalty
File "c:\users\meet vora\appdata\local\programs\python\python38\lib\site-packages\transformers\configuration_utils.py", line 257, in __getattribute__
    return super().__getattribute__(key)
Hi,

It's pretty hard for us to figure out what the error is in case there's no code provided that can reproduce your issue.<|||||>Can I send you the code?

On Fri, 26 Aug, 2022, 1:11 pm NielsRogge, ***@***.***> wrote:

> Hi,
>
> It's pretty hard for us to figure out what the error is in case there's no
> code provided that can reproduce your issue.
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/huggingface/transformers/issues/18761#issuecomment-1228162236>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ARIATPLZPZGZQPJHYYXQTVTV3BYI3ANCNFSM57S2BFHA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
<|||||>This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) are likely to be ignored.