RobinMillford's picture
Update dataset - 2025-11-25
2b884a0 verified
|
Raw
History Blame
1.7 kB
metadata
license: mit
tags:
  - movies
  - embeddings
  - rag
  - chromadb
  - sentence-transformers
size_categories:
  - 1K<n<10K

Movie Embeddings RAG Dataset

This dataset contains movie embeddings for Retrieval-Augmented Generation (RAG) in a movie recommendation chatbot.

Dataset Information

  • Total Movies: 7310
  • Date Range: Unknown - Unknown
  • Last Updated: 2025-11-25
  • Embedding Model: sentence-transformers/all-MiniLM-L6-v2
  • Embedding Dimension: 384

Files

  • chroma.sqlite3.gz - Compressed ChromaDB database with embeddings
  • movies.json.gz - Compressed movie metadata (title, overview, cast, crew, etc.)
  • metadata.json - Dataset statistics and version info

Top Genres

  • Drama: 3751 movies
  • Comedy: 2319 movies
  • Crime: 1079 movies
  • Thriller: 1059 movies
  • Animation: 900 movies

Usage

Download and Extract

from huggingface_hub import hf_hub_download
import gzip
import shutil

# Download compressed database
db_path = hf_hub_download(
    repo_id="YOUR_USERNAME/movie-embeddings-rag",
    filename="chroma.sqlite3.gz",
    repo_type="dataset"
)

# Decompress
with gzip.open(db_path, 'rb') as f_in:
    with open('chroma.sqlite3', 'wb') as f_out:
        shutil.copyfileobj(f_in, f_out)

Use with ChromaDB

import chromadb

client = chromadb.PersistentClient(path="./chroma_db")
collection = client.get_collection("movies")

# Search for movies
results = collection.query(
    query_texts=["science fiction movie about space"],
    n_results=5
)

Automated Updates

This dataset is automatically updated monthly via GitHub Actions with new movie releases.

License

MIT License - Free to use for any purpose.