Skip to content

Summarization Parameters not working #453

Open
@kwlayman

Description

@kwlayman

Question

I've tried several of the supported summarization models with the code used in the browser extension example.

The only one I get any results from in a reasonable time is t5-small.

My problem with it is that despite any parameters I try to pass in the result is always same length.

I've traced through the code and it appears that the config params get passed in.

I've tried max_new_tokens, min_new_tokens, max_length, no joy.

I initially started specifying 2.5.3 and last tried just letting cdn handle it, looks like 2.10.x, no joy, same thing.

Could someone please provide me with an example of getting, in my case, the t5-small model running a summarization task that implements parameters as to output?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions