Abstract summarization model made by fine-tuning sonoisa/t5-base-japanese-title-generation
TEXT file. This text was adapted from the wikipedia page of Honfukuji temple.
Abstract summarization of input file.
淡路島にある本福寺は、本堂と回廊で結ばれている。蓮池の周囲を回ると、大きなアーチ状の大扉が現れる。蓮池の下には極楽浄土が出現するという演出がなされている。
Internet connection is required when running the script for the first time, as the model files will be automatically downloaded.
Summarization of the text in ./input.txt will be automatically generated by excecuting the script below.
$ python3 t5_base_japanese_summarization.py
Use argument '-i'
to input a text directly to the script, and use '-f'
to specify a file to be the input.
PyTorch
ONNX opset=12