Containerized BERT-based NLP inference API for token-level idiom span detection (FastAPI + Docker).
1.2K
A containerized FastAPI service that serves a fine-tuned BERT model for idiomatic expression span detection (sequence labeling / BIO tagging).
Run it locally in one command and hit the API via curl or the interactive Swagger UI.
Given an input sentence, the API returns:
Use-cases:
curl -X POST "http://localhost:8000/predict" \
-H "Content-Type: application/json" \
-d '{"text":"She kicked the bucket yesterday."}'
Content type
Image
Digest
sha256:b8dc88c54…
Size
3.2 GB
Last updated
8 months ago
docker pull cvillanue/idiomatic-bert-api