text_generation_with_docker / requirements.txt
Vishal1806's picture
Upload 3 files
b7959ea verified
raw
history blame contribute delete
845 Bytes
fastapi==0.74.*
requests==2.27.*
uvicorn[standard]==0.17.*
torch==2.4.*
transformers==4.*
sentencepiece==0.2.*
# FastAPI Web framework for building APIs with Python Build the web server to handle API requests and responses.
# Requests Library for making HTTP requests in Python Send HTTP requests to external services or APIs.
# Uvicorn ASGI server for serving FastAPI applications Serve the FastAPI app and manage asynchronous operations.
# SentencePiece Tokenization and detokenization library for NLP Preprocess text data by tokenizing inputs and detokenizing outputs.
# Torch 1.11.* Deep learning framework for building and training neural networks Develop and train generative models.
# Transformers Library for pre-trained NLP models and tools Integrate pre-trained generative models for text generation and other NLP tasks.