BERT_as_serverless_service icon indicating copy to clipboard operation
BERT_as_serverless_service copied to clipboard

BERT model as a serverless service

baas

Serve PyTorch model as an API using AWS + serverless framework

License

BAAS - BERT As A Service, here we will be deploying a trained BERT model using serverless infrastructure. The above BERT model is used to classify user daily transaction logs to the following classes.

Food, Transport, Bills, Shopping. Credit

Model building

To train the BERT model Open In Collab

Note: upload the processed.csv file, which the training data

Serving Model using Lambda + serverless framework

Architecture

api

API results

response

Tutorial

For complete tutorial please read my medium blog

tutorial