requests beautifulsoup4 transformers torch huggingface_hub sentencepiece pymupdf nltk PyPDF2 tiktoken