Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html>
<h"... is not valid JSON
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
To use the vector store :
STEP: I - Download the entire repo (this includes the folder)
from huggingface_hub import snapshot_download
repo_id = "sanketsans/Breaking-Bad"
snapshot_download(repo_id=repo_id,local_dir=local_dir,repo_type="dataset")
STEP: II - Import FAISS and load the indexes
from langchain_community.vectorstores import FAISS
vector_store = FAISS.load_local(
"faiss_index", embeds, allow_dangerous_deserialization=True
)
STEP: III - Use as retriver / similarity search**
retriever = vector_store.as_retriever()
- Downloads last month
- 5