Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Custom input for generated summary #205

Open
MapariAbdullah opened this issue Oct 9, 2021 · 1 comment
Open

Custom input for generated summary #205

MapariAbdullah opened this issue Oct 9, 2021 · 1 comment

Comments

@MapariAbdullah
Copy link

Currently i am thinking of using pegasus for abstractive summarization for a personal project. I am planning to make a gui where a user can input the number of lines of summary desired. Is there any way to change the output summary based on user input?

@Darshan2104
Copy link

Look, the Number of lines is subjective- for one line is of 2 tokens and for other lines can be of 5 tokens.
All I'm saying is you can take a number of minimum tokens and maximum tokens from the user and set those values in min_length and max_length and then generate output accordingly.
:)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants