t5 sort-of learning to do literary analysis. It was trained on the booksum dataset with
chapter
(original text) as input and
summary_analysis
as the output text, where
summary_analysis
is the sparknotes/cliff notes/etc analysis
It was trained for 8 epochs
Testing may need to be completed in Colab as it seems to be CPU-intensive. A link to an example notebook is
here
text = "text to be analyzed goes here"
result = analyzer(
text,
max_length=int(len(text) * 1.2),
no_repeat_ngram_size= 2,
repetition_penalty= 2.4,
num_beams=4,
early_stopping= True,
)
sample results
inputs:
Beren now, he never thought he was going to get that silmaril from the iron crown in thangorodrim, and yet he did, and that was a worse place and a blacker danger than ours. but that’s a long tale, of course, and goes on past the happiness and into grief and beyond it – and the silmaril went on and came to eärendil. and why, sir, I never thought of that before! we’ve got – you’ve got some of the light of it in that star glass that the lady gave you! why, to think of it, we’re in the same tale still! it’s going on. don’t the great tales never end?
output:
The silmaril comes to eärendil. it is a long tale, and it is going on beyond the happy ending of the story. in this way, we see that Berens dream has come true. he is in love with her, but she doesnt know how to do it. she thinks about it as if he had never thought of it before. then again, there is an ironic contrast between his dreams and reality. this is not surprising because they are so far apart from each other. they have been together foreshadowing one another. and yet, even though, they were at the same time. but now, their relationship is more important than any other characters. for example, the two men seem to be separated by them. their friendship is very much more interesting. we can imagine what happens when they get back home. when they meet up in the next chapter, however, then, the darkest danger seems to suggest that they will go on the night. now, after all, everyone else does not want to find outwardly.
*
NOTE:
As the above were not saved in real-time, both the input and output had
humanize
string formatting applied to quickly clean them as they were copied and pasted from a Colab notebook.
Runs of pszemraj t5_1_1-base-writing-analysis on huggingface.co
17
Total runs
0
24-hour runs
-5
3-day runs
-6
7-day runs
2
30-day runs
More Information About t5_1_1-base-writing-analysis huggingface.co Model
t5_1_1-base-writing-analysis huggingface.co
t5_1_1-base-writing-analysis huggingface.co is an AI model on huggingface.co that provides t5_1_1-base-writing-analysis's model effect (), which can be used instantly with this pszemraj t5_1_1-base-writing-analysis model. huggingface.co supports a free trial of the t5_1_1-base-writing-analysis model, and also provides paid use of the t5_1_1-base-writing-analysis. Support call t5_1_1-base-writing-analysis model through api, including Node.js, Python, http.
t5_1_1-base-writing-analysis huggingface.co is an online trial and call api platform, which integrates t5_1_1-base-writing-analysis's modeling effects, including api services, and provides a free online trial of t5_1_1-base-writing-analysis, you can try t5_1_1-base-writing-analysis online for free by clicking the link below.
pszemraj t5_1_1-base-writing-analysis online free url in huggingface.co:
t5_1_1-base-writing-analysis is an open source model from GitHub that offers a free installation service, and any user can find t5_1_1-base-writing-analysis on GitHub to install. At the same time, huggingface.co provides the effect of t5_1_1-base-writing-analysis install, users can directly use t5_1_1-base-writing-analysis installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
t5_1_1-base-writing-analysis install url in huggingface.co: