An NLP powered Google Chrome extension to summarize, paraphrase, get named entities, and find keyword synonyms from highlighted text.
The T5 paraphrasing model, the Bart summarization model, and the DistilBERT NER model were all converted to ONNX and then were quantized to QInt8 for faster inference. All models were then deployed to an inference endpoint using FastAPI.
The converted models along with their respective tokenizers can be downloaded from here. The 'models' directory needs to be saved at the root of the repository.
First, you can use Docker to run the model API:
docker pull jackmleitch/essay-companion
docker run -p 8000:8000 -d jackmleitch/essay-companion
Once the API is up and running, you can clone this repository and upload the extension directory to the 'Load unpacked' section in the Extensions tab of Google Chromes settings. Then you should see the extension and be able to use it!
I do plan on hosting the API on Azure/AWS and releasing the extension to the public at somepoint and will update this repository accordingly once I get around to it.