Possible to Change Summary Length Using Google Colab Script?


I hope you are doing well. I am a master’s student doing an applied thesis on text summarization. I was using the Google Colab notebook (Google Colab) to finetune models for summarization tasks and get evaluation metrics. I was wondering if there is a way to control the length of the summary that is given as an output. Is this possible or is it based on the model provided?

Thank you!