@jseeio/gpt2-tfjs

0.0.1 • Public • Published

Load GPT2 in the browser with TensorFlow.js

This repository contains a demo of loading a GPT-2 model in the browser with TensorFlow.js. The model weights are loaded from Hugging Face, converted in real-time and then cached in IndexedDB.

Libraries used:

Readme

Keywords

none

Package Sidebar

Install

npm i @jseeio/gpt2-tfjs

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

7.13 MB

Total Files

8

Last publish

Collaborators

  • zemlyansky