All Projects → bhavsarpratik → serverless-transformers-on-aws-lambda

bhavsarpratik / serverless-transformers-on-aws-lambda

Licence: Apache-2.0 License
Deploy transformers serverless on AWS Lambda

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to serverless-transformers-on-aws-lambda

text2class
Multi-class text categorization using state-of-the-art pre-trained contextualized language models, e.g. BERT
Stars: ✭ 15 (-85%)
Mutual labels:  transformers, classification
COVID-19-Tweet-Classification-using-Roberta-and-Bert-Simple-Transformers
Rank 1 / 216
Stars: ✭ 24 (-76%)
Mutual labels:  transformers, classification
Code Sleep Python
Awesome Projects in Python - Machine Learning Applications, Games, Desktop Applications all in Python 🐍
Stars: ✭ 306 (+206%)
Mutual labels:  translation, classification
whats-your-name
Sample app for AWS Serverless Repository - uses Amazon Rekognition to recognize person on the photo
Stars: ✭ 17 (-83%)
Mutual labels:  aws-lambda
SWoT
A web application for designing, tracking, and reporting progress on workouts. Written in JavaScript with React, Redux, Material UI, and hosted by a serverless AWS backend.
Stars: ✭ 14 (-86%)
Mutual labels:  aws-lambda
jschr.io
The static website generator service behind jschr.io.
Stars: ✭ 70 (-30%)
Mutual labels:  aws-lambda
Hodor
Hodor is a an automation application that is used to open the door controlled by an intercom system from Slack using a custom slash command.
Stars: ✭ 21 (-79%)
Mutual labels:  aws-lambda
django-languages-plus
Provides models and fixtures for working with both common languages and 'culture codes' or locale codes, like pt-BR.
Stars: ✭ 21 (-79%)
Mutual labels:  translation
lambda-checklist
The checklist for meticulous serverless engineers
Stars: ✭ 26 (-74%)
Mutual labels:  aws-lambda
projection-pursuit
An implementation of multivariate projection pursuit regression and univariate classification
Stars: ✭ 24 (-76%)
Mutual labels:  classification
Python-Machine-Learning
Python Machine Learning Algorithms
Stars: ✭ 80 (-20%)
Mutual labels:  classification
hyper-kube-config
H Y P E R K U B E - A Serverless API and kubectl plugin providing a storage and retrieval Kubernetes cluster credentials. Hyperkube leverages AWS Secrets Manager for storing credential information.
Stars: ✭ 27 (-73%)
Mutual labels:  aws-lambda
bref-symfony-demo
[DEPRECATED] Demo of a Symfony application deployed on AWS lambda using Bref
Stars: ✭ 32 (-68%)
Mutual labels:  aws-lambda
mangum-cli
CLI tools for use with Mangum
Stars: ✭ 14 (-86%)
Mutual labels:  aws-lambda
mri-deep-learning-tools
Resurces for MRI images processing and deep learning in 3D
Stars: ✭ 56 (-44%)
Mutual labels:  classification
nuxt-on-lambda
Nuxt.jsをAWS Lambdaで動かす
Stars: ✭ 78 (-22%)
Mutual labels:  aws-lambda
Text and Audio classification with Bert
Text Classification in Turkish Texts with Bert
Stars: ✭ 34 (-66%)
Mutual labels:  transformers
activitypub
私家版ActivityPub日本語訳
Stars: ✭ 23 (-77%)
Mutual labels:  translation
lapa
Universal AWS Lambda packager
Stars: ✭ 20 (-80%)
Mutual labels:  aws-lambda
eksphemeral
A simple Amazon EKS manager for ephemeral clusters
Stars: ✭ 68 (-32%)
Mutual labels:  aws-lambda

End2End Serverless Transformers On AWS Lambda for NLP 🚀

You need no servers

Deploy transformers with ease 💆‍♂️

Go through this video and slide deck for full info.

Current available pipelines

  1. classification
  2. sentence encoding
  3. translation (coming soon)
  4. token classification
  5. text generation
  6. zero shot classification

What you get with this?

  • ability to run transformers without servers
  • complete CI/CD
  • concurrency upto 1000 (default AWS limit)

How to use this?

  • clone the repo
  • keep the pipeline folder you want to use
  • modify the source and tests
  • keep the corresponding github action in .github/workflows
  • modify directory, registry and lambda function name in workflow
  • create repository in AWS ECR
  • update ECR path in the workflow
  • set up secrets in repo (needed for access to AWS; this creds should have access to ECR and Lambda)
    • AWS_ACCESS_KEY_ID
    • AWS_SECRET_ACCESS_KEY
  • push the code
  • create PR
    • this will build the container
    • run all the tests
    • push container to ECR registry
    • update lambda with the new container (this will not happen when you push the first time)
  • create lambda function if it does not exist
    • give appropriate IAM role
    • set timeout and RAM
  • create API in API gateway and link to lambda

Done! Now you can call the lambda using the API

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].