torch transformers sentence-transformers langchain tqdm accelerate pypdf