I'm a front end guy and new to this stuff.
documents = SimpleDirectoryReader('branch-data',recursive=True).load_data()
index = GPTVectorStoreIndex.from_documents(documents)
retriever = index.as_retriever(retriever_mode='embedding')
query_engine = RetrieverQueryEngine.from_args(retriever, response_mode='tree_summarize')
this code loads my 5MB of text file, took 6 minutes in my macbook pro. And im thinking of using google compute engine to run it much, much faster. Can anyone share what config should i look for? high cpu or gpu?