Message in a bottle, yeah

Based on https://github.com/tensorflow/tfjs-models/tree/master/toxicity/demo

Description

This demo shows how to use predictions produced by the Tensorflow Toxicity classifier.

It is a basic attempt to showcase how ML models could be run on Cloudflare Workers. Please check the reporsitory tags to view the progression of attempted implementations and solutions.

Requirements

To run this project locally, make sure you have Wrangler installed.

Setup

Install dependencies:

yarn

Launch a dev server and code away:

yarn dev

Build assets:

yarn build