Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 652 Bytes

README.md

File metadata and controls

10 lines (9 loc) · 652 Bytes

GPT-2 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: