trygithubactions / utils /data_loader.py
subashpoudel's picture
Changed the entire project structure
93a5bf9
raw
history blame
290 Bytes
from datasets import load_dataset
print("Loading dataset and indexing FAISS...") # Optional: for debugging
dataset = load_dataset("subashdvorak/tiktok-agentic-story", revision="embedded")
data = dataset['train'].add_faiss_index('embeddings')
def load_influencer_data():
return data