Hacker News new | ask | show | jobs
by paubric 1657 days ago
It could work if the extension called on a server to do the heavy lifting of reconstructing the text with the language model. I have a feeling that trying to do it all in the browser today would essentially mean implementing non-trivial parts of HuggingFace's transformers in Javascript + tensorflow.js or trying to compile PyTorch to WASM or something. Not the most enjoyable tasks, eh..