Dataset Viewer
Auto-converted to Parquet Duplicate
plot
stringlengths
35
354
runtime
int64
6
1.26k
genres
sequencelengths
1
3
fullplot
stringlengths
51
2.73k
directors
sequencelengths
1
7
writers
sequencelengths
1
10
countries
sequencelengths
1
6
poster
stringlengths
104
157
languages
sequencelengths
1
9
cast
sequencelengths
1
4
title
stringlengths
1
66
num_mflix_comments
int64
0
158
rated
stringclasses
12 values
imdb
dict
awards
dict
type
stringclasses
2 values
metacritic
int64
9
97
plot_embedding
sequencelengths
1.54k
1.54k
Young Pauline is left a lot of money when her wealthy uncle dies. However, her uncle's secretary has been named as her guardian until she marries, at which time she will officially take ...
199
[ "Action" ]
Young Pauline is left a lot of money when her wealthy uncle dies. However, her uncle's secretary has been named as her guardian until she marries, at which time she will officially take possession of her inheritance. Meanwhile, her "guardian" and his confederates constantly come up with schemes to get rid of Pauline so...
[ "Louis J. Gasnier", "Donald MacKenzie" ]
[ "Charles W. Goddard (screenplay)", "Basil Dickey (screenplay)", "Charles W. Goddard (novel)", "George B. Seitz", "Bertram Millhauser" ]
[ "USA" ]
https://m.media-amazon.c…00_SX677_AL_.jpg
[ "English" ]
[ "Pearl White", "Crane Wilbur", "Paul Panzer", "Edward Josè" ]
The Perils of Pauline
0
null
{ "id": 4465, "rating": 7.6, "votes": 744 }
{ "nominations": 0, "text": "1 win.", "wins": 1 }
movie
null
[ 0.00072939653, -0.026834568, 0.013515796, -0.033257525, -0.001295428, 0.022092875, -0.015958885, 0.018283758, -0.030315313, -0.019479034, 0.019400224, 0.0106917955, -0.005001107, 0.017981656, 0.0036416466, -0.012918158, 0.029816188, -0.00018706948, 0.013193991, -0.024483424, ...
A penniless young man tries to save an heiress from kidnappers and help her secure her inheritance.
22
[ "Comedy", "Short", "Action" ]
As a penniless man worries about how he will manage to eat, he is joined by a young waif and her dog, who are in the same predicament. Meanwhile, across town a dishonest lawyer is working with a gang of criminals, trying to swindle an innocent young heiress out of her inheritance. As the heiress is on her way home from...
[ "Alfred J. Goulding", "Hal Roach" ]
[ "H.M. Walker (titles)" ]
[ "USA" ]
https://m.media-amazon.c…00_SX677_AL_.jpg
[ "English" ]
[ "Harold Lloyd", "Mildred Davis", "'Snub' Pollard", "Peggy Cartwright" ]
From Hand to Mouth
0
TV-G
{ "id": 10146, "rating": 7, "votes": 639 }
{ "nominations": 1, "text": "1 nomination.", "wins": 0 }
movie
null
[ -0.022837115, -0.022941574, 0.014937485, -0.024743473, -0.008167305, 0.019429177, 0.0013383674, -0.014963599, -0.011444673, -0.017104987, 0.019546691, 0.027707467, 0.02026484, -0.0044133477, 0.02551385, -0.019820893, 0.03146795, -0.014167108, 0.0011906573, -0.024495386, -0.01...
Michael "Beau" Geste leaves England in disgrace and joins the infamous French Foreign Legion. He is reunited with his two brothers in North Africa, where they face greater danger from their...
101
[ "Action", "Adventure", "Drama" ]
Michael "Beau" Geste leaves England in disgrace and joins the infamous French Foreign Legion. He is reunited with his two brothers in North Africa, where they face greater danger from their own sadistic commander than from the rebellious Arabs.
[ "Herbert Brenon" ]
[ "Herbert Brenon (adaptation)", "John Russell (adaptation)", "Paul Schofield", "Percival Christopher Wren (novel)" ]
[ "USA" ]
null
[ "English" ]
[ "Ronald Colman", "Neil Hamilton", "Ralph Forbes", "Alice Joyce" ]
Beau Geste
0
null
{ "id": 16634, "rating": 6.9, "votes": 222 }
{ "nominations": 0, "text": "1 win.", "wins": 1 }
movie
null
[ 0.00023330493, -0.028511643, 0.014653289, -0.03847482, -0.016243158, 0.049179934, -0.0020221141, 0.0025272286, -0.0033271313, -0.011612665, 0.007803605, 0.01923741, 0.020072091, 0.01717058, 0.017515052, -0.01136756, 0.030631468, -0.004259523, 0.021237994, 0.008618413, -0.0020...
Seeking revenge, an athletic young man joins the pirate band responsible for his father's death.
88
[ "Adventure", "Action" ]
A nobleman vows to avenge the death of his father at the hands of pirates. To this end he infiltrates the pirate band. Acting in character he is instrumental in the capture of a ship, but things are complicated when he finds that there is a young woman on board whom he wishes to protect from the threat of rape.
[ "Albert Parker" ]
[ "Douglas Fairbanks (story)", "Jack Cunningham (adapted by)" ]
[ "USA" ]
https://m.media-amazon.c…00_SX677_AL_.jpg
null
[ "Billie Dove", "Tempe Pigott", "Donald Crisp", "Sam De Grasse" ]
The Black Pirate
1
null
{ "id": 16654, "rating": 7.2, "votes": 1146 }
{ "nominations": 0, "text": "1 win.", "wins": 1 }
movie
null
[ -0.005927917, -0.033394486, 0.0015323418, -0.037410278, -0.020594146, 0.027185857, -0.007820227, -0.0030944059, 0.0093459645, -0.016234897, 0.01850699, 0.0038110397, 0.03463621, -0.018718349, 0.01768798, -0.011340651, 0.038942616, -0.014253421, 0.02188871, 0.007523006, 0.0024...
An irresponsible young millionaire changes his tune when he falls for the daughter of a downtown minister.
58
[ "Action", "Comedy", "Romance" ]
The Uptown Boy, J. Harold Manners (Lloyd) is a millionaire playboy who falls for the Downtown Girl, Hope (Ralston) who works in Brother Paul's (Weigel) mission. In order to build up attendance, and win Hope's attention, Harold runs through town causing trouble, and winds up with a crowd chasing him right into the missi...
[ "Sam Taylor" ]
[ "Ted Wilde (story)", "John Grey (story)", "Clyde Bruckman (story)", "Ralph Spence (titles)" ]
[ "USA" ]
https://m.media-amazon.c…00_SX677_AL_.jpg
[ "English" ]
[ "Harold Lloyd", "Jobyna Ralston", "Noah Young", "Jim Mason" ]
For Heaven's Sake
0
PASSED
{ "id": 16895, "rating": 7.6, "votes": 918 }
{ "nominations": 1, "text": "1 nomination.", "wins": 0 }
movie
null
[ -0.0059373598, -0.026604708, -0.0070914757, -0.015490505, -0.009052806, 0.019920176, 0.0014401432, -0.00025558998, -0.020253735, -0.013175601, 0.021828135, 0.030073727, 0.0011924753, 0.0011057499, 0.01008684, -0.019746725, 0.03861285, -0.021281097, 0.013242314, -0.024469927, ...
Navy divers clear the torpedo tube of a sunken submarine.
77
[ "Action", "Drama" ]
Aboard the U.S. submarine S13 in the China seas, Chief Torpedoman Burke goes about his duties. In actuality, he is Quartermaine, the infamous former commander of the British ship Royal Scot, which was sunk by Germans with a Field Marshal aboard. Quartermaine had told his sweetheart that the Field Marshal would be aboar...
[ "John Ford" ]
[ "John Ford (story)", "James Kevin McGuinness (story)", "Dudley Nichols (screen play and scenario)", "Otis C. Freeman (titles)" ]
[ "USA" ]
null
[ "English" ]
[ "Kenneth MacKenna", "Frank Albertson", "J. Farrell MacDonald", "Warren Hymer" ]
Men Without Women
1
PASSED
{ "id": 21140, "rating": 5.8, "votes": 154 }
{ "nominations": 0, "text": "1 win.", "wins": 1 }
movie
null
[ 0.01020927, -0.011224265, 0.015686288, -0.018586276, -0.023160344, 0.022778073, -0.0046531595, 0.0007822548, 0.0029164634, -0.004761909, 0.023753524, 0.02553306, 0.0061064484, -0.0025819764, 0.009925862, -0.021578534, 0.0060866755, -0.02636351, 0.010242224, -0.03595983, -0.01...
Famous motor-racing champion Joe Greer returns to his hometown to compete in a local race. He discovers his younger brother has aspirations to become a racing champion and during the race ...
85
[ "Drama", "Action" ]
Famous motor-racing champion Joe Greer returns to his hometown to compete in a local race. He discovers his younger brother has aspirations to become a racing champion and during the race Joe loses his nerve when another driver his killed, leaving his brother to win. Joe's luck takes a plunge while his brother rises to...
[ "Howard Hawks" ]
[ "John Bright", "Niven Busch", "Kubec Glasmon", "Howard Hawks (story)", "Seton I. Miller" ]
[ "USA" ]
https://m.media-amazon.c…00_SX677_AL_.jpg
[ "English" ]
[ "James Cagney", "Joan Blondell", "Ann Dvorak", "Eric Linden" ]
The Crowd Roars
1
null
{ "id": 22792, "rating": 6.4, "votes": 663 }
{ "nominations": 1, "text": "1 nomination.", "wins": 0 }
movie
null
[ -0.00021181376, -0.005562485, 0.012109306, -0.0133644985, -0.011594016, 0.02322767, 0.0016994647, -0.013338073, -0.020386972, -0.034775443, -0.000924053, 0.018167261, -0.0017787401, -0.01774446, 0.026662935, -0.023809023, 0.018246537, -0.016753519, -0.0048754322, -0.009968872, ...
An ambitious and near insanely violent gangster climbs the ladder of success in the mob, but his weaknesses prove to be his downfall.
93
[ "Action", "Crime", "Drama" ]
Johnny Lovo rises to the head of the bootlegging crime syndicate on the south side of Chicago following the murder of former head, Big Louis Costillo. Johnny contracted Big Louis' bodyguard, Tony Camonte, to make the hit on his boss. Tony becomes Johnny's second in command. Johnny is not averse to killing anyone who ge...
[ "Howard Hawks", "Richard Rosson" ]
[ "Armitage Trail (novel)", "Ben Hecht (screen story)", "Seton I. Miller (continuity)", "John Lee Mahin (continuity)", "W.R. Burnett (continuity)", "Seton I. Miller (dialogue)", "John Lee Mahin (dialogue)", "W.R. Burnett (dialogue)" ]
[ "USA" ]
https://m.media-amazon.c…00_SX677_AL_.jpg
[ "English" ]
[ "Paul Muni", "Ann Dvorak", "Karen Morley", "Osgood Perkins" ]
Scarface
1
PASSED
{ "id": 23427, "rating": 7.8, "votes": 18334 }
{ "nominations": 0, "text": "2 wins.", "wins": 2 }
movie
null
[ -0.015579718, -0.03428319, 0.015228297, -0.042613197, -0.020851051, 0.026343651, -0.0049882433, -0.004425317, -0.023844648, -0.019913927, 0.02795759, 0.007920016, 0.012638184, 0.0053103804, 0.013406107, -0.020226302, 0.03902088, -0.010965675, 0.002731657, -0.014863858, -0.005...
A trader and his daughter set off in search of the fabled graveyard of the elephants in deepest Africa, only to encounter a wild man raised by apes.
100
[ "Action", "Adventure", "Romance" ]
James Parker and Harry Holt are on an expedition in Africa in search of the elephant burial grounds that will provide enough ivory to make them rich. Parker's beautiful young daughter Jane arrives unexpectedly to join them. Harry is obviously attracted to Jane and he does his best to help protect her from all the dange...
[ "W.S. Van Dyke" ]
[ "Edgar Rice Burroughs (based upon the characters created by)", "Cyril Hume (adaptation)", "Ivor Novello (dialogue)" ]
[ "USA" ]
https://m.media-amazon.c…00_SX677_AL_.jpg
[ "English" ]
[ "Johnny Weissmuller", "Neil Hamilton", "C. Aubrey Smith", "Maureen O'Sullivan" ]
Tarzan the Ape Man
0
PASSED
{ "id": 23551, "rating": 7.2, "votes": 5182 }
{ "nominations": 0, "text": "1 win.", "wins": 1 }
movie
null
[ -0.00028408386, -0.030921403, 0.0017461961, -0.007926553, -0.008247016, 0.029273309, 0.0027844305, 0.0088290805, 0.0020862792, 0.001850837, 0.0004868257, 0.004914855, 0.030529, -0.033118863, 0.022419326, 0.0031359587, 0.030842923, -0.016101629, 0.018940013, -0.006186897, -0.0...
"When earthy Dolly Portland is rejected by Captain Gaskell in favor of a socialite, she aids Jamesy (...TRUNCATED)
87
[ "Action", "Drama", "Adventure" ]
"Dynamic Alan Gaskell captains a ship bound from Hong Kong to Singapore. Gaskell tries to turn over (...TRUNCATED)
[ "Tay Garnett" ]
["Jules Furthman (screen play)","James Kevin McGuinness (screen play)","Crosbie Garstin (from the bo(...TRUNCATED)
[ "USA" ]
https://m.media-amazon.c…00_SX677_AL_.jpg
[ "English" ]
[ "Clark Gable", "Jean Harlow", "Wallace Beery", "Lewis Stone" ]
China Seas
2
PASSED
{ "id": 26205, "rating": 7, "votes": 1518 }
{ "nominations": 1, "text": "1 nomination.", "wins": 0 }
movie
null
[-0.027133638,-0.01719291,0.012725786,-0.021825481,-0.04056258,0.021825481,0.0008858416,0.0110299345(...TRUNCATED)
End of preview. Expand in Data Studio

sample_mflix.embedded_movies

This data set contains details on movies with genres of Western, Action, or Fantasy. Each document contains a single movie, and information such as its title, release year, and cast.

In addition, documents in this collection include a plot_embedding field that contains embeddings created using OpenAI's text-embedding-ada-002 embedding model that you can use with the Atlas Search vector search feature.

Overview

This dataset offers a comprehensive collection of data on various movies. It includes details such as plot summaries, genres, runtime, ratings, cast, and more. This dataset is ideal for movie recommendation systems, film analysis, and educational purposes in film studies.

Dataset Structure

Each record in the dataset represents a movie and includes the following fields:

  • _id: A unique identifier for the movie.
  • plot: A brief summary of the movie's plot.
  • genres: A list of genres associated with the movie.
  • runtime: The runtime of the movie in minutes.
  • rated: The MPAA rating of the movie.
  • cast: A list of main actors in the movie.
  • num_mflix_comments: The number of comments on the movie in the mflix platform.
  • poster: A URL to the movie's poster image.
  • title: The title of the movie.
  • lastupdated: The last date and time when the movie information was updated.
  • languages: The languages available in the movie.
  • directors: A list of directors of the movie.
  • writers: A list of writers of the movie.
  • awards: Information about awards won and nominations.
  • imdb: IMDb rating, votes, and ID.
  • countries: A list of countries where the movie was produced.
  • type: The type of record, in this case, movie.
  • tomatoes: Ratings and reviews from Rotten Tomatoes.
  • plot_embedding: An array of numerical values representing the plot embedding.

Field Details

Awards Object

  • wins: The number of awards won.
  • nominations: The number of awards the movie was nominated for.
  • text: A text summary of the awards and nominations.

IMDb Object

  • rating: The IMDb rating.
  • votes: The number of votes on IMDb.
  • id: The IMDb ID of the movie.

Tomatoes Object

  • Contains viewer and critic ratings, reviews count, DVD release date, and production details.

Plot Embedding

  • An array representing a numerical embedding of the movie's plot. Useful for machine learning applications, like content-based filtering in recommendation systems.

Usage

The dataset is suited for a range of applications, including:

  • Analyzing trends in film genres and ratings over time.
  • Building movie recommendation engines using plot embeddings and genres.
  • Studying the correlation between cast/directors and movie success.
  • Educational purposes in film studies and data analysis courses.

Notes

  • The data is provided as-is and intended for informational and educational purposes.
  • Users should verify the accuracy of the information for any critical use-cases.

Sample Document

{
  "_id": {
    "$oid": "573a1396f29313caabce582d"
  },
  "plot": "A young swordsman comes to Paris and faces villains, romance, adventure and intrigue with three Musketeer friends.",
  "genres": ["Action", "Adventure", "Comedy"],
  "runtime": {
    "$numberInt": "106"
  },
  "rated": "PG",
  "cast": ["Oliver Reed", "Raquel Welch", "Richard Chamberlain", "Michael York"],
  "num_mflix_comments": {
    "$numberInt": "0"
  },
  "poster": "https://m.media-amazon.com/images/M/MV5BODQwNmI0MDctYzA5Yy00NmJkLWIxNGMtYzgyMDBjMTU0N2IyXkEyXkFqcGdeQXVyMjI4MjA5MzA@._V1_SY1000_SX677_AL_.jpg",
  "title": "The Three Musketeers",
  "lastupdated": "2015-09-16 06:21:07.210000000",
  "languages": ["English"],
  "directors": ["Richard Lester"],
  "writers": ["George MacDonald Fraser (screenplay)", "Alexandre Dumas père (novel)"],
  "awards": {
    "wins": {
      "$numberInt": "4"
    },
    "nominations": {
      "$numberInt": "7"
    },
    "text": "Won 1 Golden Globe. Another 3 wins & 7 nominations."
  },
  "imdb": {
    "rating": {
      "$numberDouble": "7.3"
    },
    "votes": {
      "$numberInt": "11502"
    },
    "id": {
      "$numberInt": "72281"
    }
  },
  "countries": ["Spain", "USA", "Panama", "UK"],
  "type": "movie",
  "tomatoes": {
    "viewer": {
      "rating": {
        "$numberDouble": "3.5"
      },
      "numReviews": {
        "$numberInt": "9600"
      },
      "meter": {
        "$numberInt": "78"
      }
    },
    "dvd": {
      "$date": {
        "$numberLong": "982022400000"
      }
    },
    "critic": {
      "rating": {
        "$numberDouble": "7.1"
      },
      "numReviews": {
        "$numberInt": "11"
      },
      "meter": {
        "$numberInt": "82"
      }
    },
    "lastUpdated": {
      "$date": {
        "$numberLong": "1441307415000"
      }
    },
    "rotten": {
      "$numberInt": "2"
    },
    "production": "Live Home Video",
    "fresh": {
      "$numberInt": "9"
    }
  },
  "plot_embedding": [
    -0.004237316,
    -0.022958077,
    -0.005921211,
    -0.020323543,
    0.010051459
  ]
}

Ingest Data

The small script ingest.py can be used to load the data into your MongoDB Atlas cluster.

pip install pymongo
pip install datasets
## export MONGODB_ATLAS_URI=<your atlas uri>

The ingest.py:

import os
from pymongo import MongoClient
import datasets
from datasets import load_dataset
from bson import json_util


uri = os.environ.get('MONGODB_ATLAS_URI')
client = MongoClient(uri)
db_name = 'sample_mflix'
collection_name = 'embedded_movies'

embedded_movies_collection = client[db_name][collection_name]

dataset = load_dataset("MongoDB/embedded_movies")

insert_data = []

for movie in dataset['train']:
    doc_movie = json_util.loads(json_util.dumps(movie))
    insert_data.append(doc_movie)

    if len(insert_data) == 1000:
        embedded_movies_collection.insert_many(insert_data)
        print("1000 records ingested")
        insert_data = []

if len(insert_data) > 0:
    embedded_movies_collection.insert_many(insert_data)
    insert_data = []

print("Data Ingested")
Downloads last month
1,703

Data Sourcing report

powered
by Spawning.ai

No elements in this dataset have been identified as either opted-out, or opted-in, by their creator.

Spaces using MongoDB/embedded_movies 3