torch transformers ebooklib beautifulsoup4 pypdf