flask torch transformers numpy requests python-dotenv nltk scikit-learn sentencepiece protobuf huggingface-hub accelerate