Views
No views yet
booksum checkpoint.pszemraj/scientific_lay_summarisation-elife-norm dataset for two epochs.textsum util repo to have most of this abstracted out for you:pip install -U textsum1from textsum.summarize import Summarizer
2
3model_name = "pszemraj/long-t5-tglobal-base-16384-booksci-summary-v1"
4summarizer = Summarizer(model_name) # GPU auto-detected
5text = "put the text you don't want to read here"
6summary = summarizer.summarize_string(text)
7print(summary)Note: this model was trained at a lower LR & not till "absolute convergence" with the intention of retaining some of the properties learned from the initial fine-tuning onbooksum
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|---|---|---|---|---|---|---|---|---|
| 2.7492 | 0.99 | 67 | 2.4272 | 34.6436 | 4.4536 | 12.4985 | 30.916 | 300.7635 |
| 2.6689 | 1.97 | 134 | 2.3994 | 34.2428 | 4.3644 | 12.5332 | 30.6965 | 294.0249 |