Improving Search Accuracy using Deep Memory
Using Deep Memory to improve the accuracy of your Vector Search
How to Use Deep Memory to Improve the Accuracy of your Vector Search
This tutorial is also available as a Colab Notebook
Downloading the Data
from deeplake import VectorStore
import os
import getpass
import datasets
import openai
from pathlib import Pathos.environ['OPENAI_API_KEY'] = getpass.getpass()# Skip this step if you logged in through the CLI
os.environ['ACTIVELOOP_TOKEN'] = getpass.getpass()corpus = datasets.load_dataset("scifact", "corpus")Creating the Vector Store
Adding data to the Vector Store
Generating claims
Running the Deep Memory Training
Evaluating Deep Memory's Performance
Using Deep Memory in your Application
Last updated
Was this helpful?