Created
May 16, 2025 08:23
-
-
Save MLWhiz/8ee615c7f4ddd636375644a6f6780826 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import numpy as np | |
from sentence_transformers import SentenceTransformer | |
import chromadb | |
import os | |
# Load the MovieLens dataset | |
movies = pd.read_csv('tmdb_5000_movies.csv') | |
credits = pd.read_csv('tmdb_5000_credits.csv') | |
# Let's take a peek at what we're working with | |
print(f"Total movies: {len(movies)}") | |
movies[['title', 'overview', 'genres', 'release_date']].head(2) | |
-------------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment