We are releasing the very first version of Arxiv Summarizer, with 2 functions, summarizer and fetch_paper that will allow users to fetch and summarize papers published on arxiv with the help of transformers available on Huggingface.
These are the only functions that are implemented as of right now.
from arxiv_summarizer.fetch_paper import fetch_paper, ArxivPaper
from arxiv_summarizer import ArxivSummarizer
Usage of fetch_paper function
Get the list of papers
papers = fetch_paper("Yoshua Bengio", max_docs=15)
results : List[ArxivPaper] = [paper for paper in papers]
Usage of ArxivSummarizer class
Initialize ArxivSummarizer with default models
summarizer = ArxivSummarizer()
Generate a summary
summary = summarizer(arxiv_id="1234.5678")
print(summary)