FastAPI Inference Template πŸš€

A lightweight template to wrap any πŸ€— Transformers model as an API with FastAPI.

Endpoints

  • GET / β†’ health check
  • POST /predict β†’ run inference

Example Usage

curl -X POST "http://localhost:8000/predict" \
     -H "Content-Type: application/json" \
     -d '{"text": "Markets are looking strong today"}'
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support