Introducing MemoryCache | Augmented Native AI
Dec. 12, 2023 | Liv Erickson
The web was born as a option to join folks and information collectively world wide. At the moment, machine studying is upending the way in which that we work together with information and knowledge. Language and multi-media fashions search ever-larger datasets to coach on – together with the entirety of the internet. There are complex sociological and regulatory questions at play; crucial choices to be made about copyright, security, transparency, entry, and illustration.
MemoryCache is an early exploration undertaking from the Mozilla Innovation Ecosystem crew that augments an on-device, private mannequin with native information saved from the browser to replicate a extra personalised and tailor-made expertise by means of the lens of privateness and company.
The way in which that people assume is uniquely private to every particular person. Whereas people share many rules, values and properties of their surrounding communities and organizations, every of us has a novel perspective and set of knowledge that we’re uncovered to frequently. The method of creating new insights from the content material we create and eat is just not a “one-size-fits-all” alternative, and machine studying capabilities open up an enormous vary of recent computing developments and paradigms.
At the moment, MemoryCache is a set of scripts and easy instruments to reinforce a neighborhood copy of privateGPT. The undertaking comprises:
- A Firefox extension that acts as a easy “printer” to avoid wasting pages to a subdirectory in your
/Downloads/
folder, and consists of the flexibility to shortly save notes and knowledge out of your browser to your native machine - A shell script that listens for modifications within the
/Downloads/MemoryCache
listing and runs the privateGPTingest.py
script - Code to (optionally) replace the Firefox
SaveAsPDF
API on a local build of Firefox to allow a flag that silently saves webpages as PDF for simpler human readability (by default, pages must be saved as HTML in Firefox)
We see MemoryCache as a sandbox for experimenting with among the quirkier, extra distinctive elements of the brainstorming and thought era course of, all achieved totally regionally. Our take a look at floor for MemoryCache is a gaming PC with an Intel i7-8700 processor, utilizing Nomic AI’s groovy.ggml version of gpt-4-all model. We’re utilizing the primordial version of privateGPT, as a result of our preliminary evaluations have discovered that newer fashions and variations of the applying begin to over-generalize the responses even after augmenting the mannequin with private information – in our surroundings, 75.3MB of paperwork saved from the browser and from private weblog posts, notes, and journal entries.
MemoryCache is early, experimental, and a sandbox for exploration. You’ll be able to observe together with the project on GitHub, or test out our website to remain updated with our progress!