movieId int64 1 165k | embedding stringlengths 15.1k 15.3k |
|---|---|
1 | [-0.4939196705818176,2.0973262786865234,-3.1093900203704834,-0.11039051413536072,-0.4365856647491455,1.418859839439392,-0.9849485754966736,-0.948416531085968,-0.24260233342647552,-0.34596967697143555,-1.4210624694824219,1.4532277584075928,0.7126457095146179,0.6327977776527405,1.0971424579620361,-0.5685441493988037,0.89... |
2 | [0.3217414617538452,1.8330364227294922,-3.7734718322753906,-0.49328458309173584,0.5635195374488831,1.2224854230880737,-0.9328741431236267,0.09829051792621613,-0.23924005031585693,0.7732683420181274,-1.230613112449646,0.40202048420906067,-0.003611987689509988,0.2208837866783142,0.14140814542770386,-0.2015305459499359,-0... |
3 | [-0.23048238456249237,1.414240837097168,-3.668473720550537,0.8210564255714417,0.19049447774887085,0.8314007520675659,-1.049573302268982,0.9001063108444214,0.15235158801078796,-0.2410762906074524,-1.7013674974441528,0.9063259959220886,0.4524824023246765,-0.1843845099210739,-0.3362519443035126,-0.5081027746200562,0.30906... |
4 | [0.28931766748428345,-0.027871575206518173,-3.6798946857452393,-0.39146241545677185,0.26814815402030945,1.1847561597824097,0.272137314081192,-0.26681897044181824,-1.1933557987213135,1.5131464004516602,-0.6558519601821899,0.6937407851219177,1.7518630027770996,1.2816548347473145,-0.499454140663147,-1.0141820907592773,0.9... |
5 | [0.9712943434715271,0.5821845531463623,-3.2427988052368164,-0.407817542552948,-0.7280598282814026,1.1133841276168823,-0.4492775797843933,-0.6957843899726868,-0.730961799621582,0.06566906720399857,-2.0017881393432617,0.7834208011627197,0.8662740588188171,0.39341577887535095,0.3145119547843933,0.28105616569519043,0.89206... |
6 | [0.4272279143333435,0.8106438517570496,-4.412054061889648,0.21700267493724823,1.7998472452163696,0.24093841016292572,-0.475524365901947,1.2375227212905884,-1.3124104738235474,0.5594643950462341,-1.355387568473816,0.561965823173523,-0.67928147315979,0.018991360440850258,-0.04667793959379196,-0.1895757019519806,0.7575571... |
7 | [0.3563194274902344,0.212819904088974,-2.7129058837890625,-0.7296659350395203,-0.032766006886959076,2.0290656089782715,-0.8531347513198853,0.03312179446220398,0.6102395057678223,-0.4392762780189514,-2.153907299041748,1.8644713163375854,1.5691015720367432,0.7155593633651733,0.7668405771255493,0.6463762521743774,0.141774... |
8 | [0.29544147849082947,-0.4943681061267853,-3.632697105407715,-0.565028727054596,0.07174064218997955,0.8755563497543335,-1.0445048809051514,1.3504853248596191,-0.3990238308906555,0.1522056609392166,-0.6365297436714172,0.04082784056663513,0.8015773296356201,0.1602521687746048,-0.18600982427597046,-1.5464327335357666,0.588... |
9 | [0.549811065196991,0.5771467685699463,-3.796039581298828,0.11149650812149048,1.003078818321228,0.39354246854782104,-1.872895359992981,0.47899600863456726,-0.07474450767040253,0.1469394415616989,-1.2280733585357666,0.22446873784065247,-0.41466063261032104,0.4392518401145935,0.605114221572876,-1.0482605695724487,0.133799... |
10 | [0.1887359321117401,-0.22378568351268768,-3.6299476623535156,0.4464234709739685,1.1590540409088135,1.1498596668243408,-1.7444400787353516,1.2489616870880127,0.3026205003261566,-0.07303223758935928,-1.746156930923462,0.5010085701942444,-0.10170464962720871,-0.5934348702430725,0.825608491897583,-0.7164551615715027,1.1955... |
11 | [-0.0763503760099411,0.785317063331604,-3.4189438819885254,-0.07692177593708038,0.5023302435874939,1.544438123703003,-1.4787232875823975,0.004756766837090254,1.0051605701446533,0.034366998821496964,-0.8669905662536621,1.3071650266647339,0.4877282381057739,0.7446250319480896,0.6662439107894897,-0.1746259182691574,0.2104... |
12 | [-0.7797638177871704,-0.17126193642616272,-3.8160276412963867,0.7308850288391113,-0.5637308359146118,-0.7025861740112305,-1.473247766494751,1.0572855472564697,-0.052069660276174545,0.6474001407623291,-0.14220495522022247,1.2176809310913086,-0.027280747890472412,0.861250638961792,-0.6766895055770874,-0.6264123320579529,... |
13 | [0.022204039618372917,-0.3601435124874115,-4.067326545715332,0.046840742230415344,0.8891339898109436,0.6134626865386963,-1.8551312685012817,0.5212322473526001,0.31178903579711914,-0.3580127954483032,-0.6499776840209961,0.21888312697410583,0.5896937251091003,0.5985429286956787,0.22329935431480408,-0.16804783046245575,0.... |
End of preview. Expand in Data Studio
๐ฌ Movie Plot Embeddings Dataset (Nomic Embed v1.5)
This dataset contains vector embeddings for movie plots using the nomic-embed-text:v1.5 model via Ollama.
The source movie data comes from the Neo4j LLM Fundamentals dataset.
The main puprpose of this dataset is to be used with Neo4j Course on LLM Fundamentals. They did everythig with openai's models. This csv is created using ollama and nomic-embed-text. People who want to use ollama instread of openai, can refer to this csv for embedding movie plots in the course.
๐ Contents
movie_embeddings.csv:movieId: Movie identifier refering to neo4j Movie node's property : movieIdembedding: JSON array of floats (768-dim)
๐ง Embedding Details
- Model:
nomic-embed-text:v1.5 - Dimensions: 768
- Embedding tool: Ollama
- Embedding date: June 2025
๐ License
This dataset is shared under the MIT License (see below). You are free to use, modify, and distribute it.
โจ Usage Example (in neo4j)
- Drop old index (if it was already created in course)
DROP INDEX moviePlots;
- Create new index on 768 dimensions
CREATE VECTOR INDEX moviePlots IF NOT EXISTS
FOR (m:Movie)
ON m.plotEmbedding
OPTIONS {indexConfig: {
`vector.dimensions`: 768,
`vector.similarity_function`: 'cosine'
}}
- Load embeddings to neo4j
LOAD CSV WITH HEADERS
FROM 'https://huggingface.co/datasets/coolomya/movie-plots-nomic-embeddings/resolve/main/movie_embeddings.csv'
AS row
MATCH (m:Movie {movieId: row.movieId})
CALL db.create.setNodeVectorProperty(m, 'plotEmbedding', apoc.convert.fromJsonList(row.embedding))
RETURN count(*)
- Do vector search on new embeddings
MATCH (m:Movie {title: 'Toy Story'})
CALL db.index.vector.queryNodes('moviePlots', 6, m.plotEmbedding)
YIELD node, score
RETURN node.title AS title, node.plot AS plot, score
Now you can continue your python course on Neo4j LLM with local ollama and this embedding
license: mit
- Downloads last month
- 8