[FIX] - Fix for summarization edge case
This PR adds a fix for the issue mentioned in #1108
However I have a points to discuss @shahules786 :
- I had added
conciseness_scoreto penalize long summaries, but I also do not want to promote very very short and skimpy summaries, need to find a middle ground. - Is
averaginga good way to combineQA_scoreandconciseness_score? - Ranking based metrics to measure quality of summarization (as mentioned by shahul in the above issue)
Given the conclusions we reach based on these discussion points, I will push more commits, let's keep this PR open till we resolve these points.
Hey @sky-2002 thanks for the PR, my friend. I have answered your query in the here I think doing that will resolve the issue. Let me know your thoughts
When you make the change please make sure you modify and explain the same in docs too
@sky-2002 Sorry for the late merge. There were few important changes I had to make on this, please take a look at it so you know.
Hey @jjmachan Can you check what's with the lining errors on those files (not modified in this PR)