# Requirements for FastAPI Transformer Models Microservice
# Serving multiple Hugging Face models:
# - cardiffnlp/twitter-roberta-base-sentiment-latest (sentiment)
# - martin-ha/toxic-comment-model (toxicity)
# - j-hartmann/emotion-english-distilroberta-base (emotions)
# - facebook/bart-large-mnli (sequence classification)

# Web framework
fastapi>=0.117.1
uvicorn[standard]>=0.37.0

# Core ML libraries
transformers>=4.49.0
torch>=2.8.0
scipy>=1.16.2
numpy>=2.3.3

# Optional: for faster tokenization
tokenizers>=0.22.1

# HTTP requests and validation
httpx>=0.28.1
pydantic>=2.11.9

# Environment variables and authentication
python-dotenv>=1.0.1

# Optional: for better performance and GPU support
accelerate>=1.10.1 # Uncomment for faster inference