How to deploy a pre-trained question and answer TensorFlow.js Model on App platform

Click for: original source

TensorFlow.js, TensorFlow’s JavaScript counterpart library for training, executing, and deploying machine learning models in the browser. In an attempt to make TensorFlow.js accessible to developers with limited or no ML experience, the library comes with several pre-trained models that work out of the box. By Juan De Dios Santos Rivera.

A pre-trained machine learning model is ready-to-use machine learning you don’t have to train. TensorFlow.js includes 14 that suit a variety of use cases.

The arrticle is split into these sections:

  • Prerequisites
  • Creating the app’s interface and importing the required libraries
  • Predicting with the pre-trained model
  • Pushing the App to GitHub
  • Deploying the web application in DigitalOcean App Platform

In this tutorial, you have built and deployed a web application that uses a TensorFlow.js pre-trained model. Your Question and Answer web app takes as input a passage along with a question and uses a pre-trained BERT model to answer the question according to the passage. Good read!

[Read More]

Tags machine-learning big-data cio miscellaneous