Update dataset - 2025-11-25
Browse files- README.md +82 -82
- chroma.sqlite3.gz +2 -2
- metadata.json +23 -23
- movies.json.gz +3 -0
README.md
CHANGED
|
@@ -1,82 +1,82 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
tags:
|
| 4 |
-
- movies
|
| 5 |
-
- embeddings
|
| 6 |
-
- rag
|
| 7 |
-
- chromadb
|
| 8 |
-
- sentence-transformers
|
| 9 |
-
size_categories:
|
| 10 |
-
- 1K<n<10K
|
| 11 |
-
---
|
| 12 |
-
|
| 13 |
-
# Movie Embeddings RAG Dataset
|
| 14 |
-
|
| 15 |
-
This dataset contains movie embeddings for Retrieval-Augmented Generation (RAG) in a movie recommendation chatbot.
|
| 16 |
-
|
| 17 |
-
## Dataset Information
|
| 18 |
-
|
| 19 |
-
- **Total Movies:**
|
| 20 |
-
- **Date Range:** Unknown - Unknown
|
| 21 |
-
- **Last Updated:** 2025-11-25
|
| 22 |
-
- **Embedding Model:** sentence-transformers/all-MiniLM-L6-v2
|
| 23 |
-
- **Embedding Dimension:** 384
|
| 24 |
-
|
| 25 |
-
## Files
|
| 26 |
-
|
| 27 |
-
- `chroma.sqlite3.gz` - Compressed ChromaDB database with embeddings
|
| 28 |
-
- `movies.json` -
|
| 29 |
-
- `metadata.json` - Dataset statistics and version info
|
| 30 |
-
|
| 31 |
-
## Top Genres
|
| 32 |
-
|
| 33 |
-
-
|
| 34 |
-
-
|
| 35 |
-
-
|
| 36 |
-
-
|
| 37 |
-
-
|
| 38 |
-
|
| 39 |
-
## Usage
|
| 40 |
-
|
| 41 |
-
### Download and Extract
|
| 42 |
-
|
| 43 |
-
```python
|
| 44 |
-
from huggingface_hub import hf_hub_download
|
| 45 |
-
import gzip
|
| 46 |
-
import shutil
|
| 47 |
-
|
| 48 |
-
# Download compressed database
|
| 49 |
-
db_path = hf_hub_download(
|
| 50 |
-
repo_id="YOUR_USERNAME/movie-embeddings-rag",
|
| 51 |
-
filename="chroma.sqlite3.gz",
|
| 52 |
-
repo_type="dataset"
|
| 53 |
-
)
|
| 54 |
-
|
| 55 |
-
# Decompress
|
| 56 |
-
with gzip.open(db_path, 'rb') as f_in:
|
| 57 |
-
with open('chroma.sqlite3', 'wb') as f_out:
|
| 58 |
-
shutil.copyfileobj(f_in, f_out)
|
| 59 |
-
```
|
| 60 |
-
|
| 61 |
-
### Use with ChromaDB
|
| 62 |
-
|
| 63 |
-
```python
|
| 64 |
-
import chromadb
|
| 65 |
-
|
| 66 |
-
client = chromadb.PersistentClient(path="./chroma_db")
|
| 67 |
-
collection = client.get_collection("movies")
|
| 68 |
-
|
| 69 |
-
# Search for movies
|
| 70 |
-
results = collection.query(
|
| 71 |
-
query_texts=["science fiction movie about space"],
|
| 72 |
-
n_results=5
|
| 73 |
-
)
|
| 74 |
-
```
|
| 75 |
-
|
| 76 |
-
## Automated Updates
|
| 77 |
-
|
| 78 |
-
This dataset is automatically updated monthly via GitHub Actions with new movie releases.
|
| 79 |
-
|
| 80 |
-
## License
|
| 81 |
-
|
| 82 |
-
MIT License - Free to use for any purpose.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- movies
|
| 5 |
+
- embeddings
|
| 6 |
+
- rag
|
| 7 |
+
- chromadb
|
| 8 |
+
- sentence-transformers
|
| 9 |
+
size_categories:
|
| 10 |
+
- 1K<n<10K
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Movie Embeddings RAG Dataset
|
| 14 |
+
|
| 15 |
+
This dataset contains movie embeddings for Retrieval-Augmented Generation (RAG) in a movie recommendation chatbot.
|
| 16 |
+
|
| 17 |
+
## Dataset Information
|
| 18 |
+
|
| 19 |
+
- **Total Movies:** 7310
|
| 20 |
+
- **Date Range:** Unknown - Unknown
|
| 21 |
+
- **Last Updated:** 2025-11-25
|
| 22 |
+
- **Embedding Model:** sentence-transformers/all-MiniLM-L6-v2
|
| 23 |
+
- **Embedding Dimension:** 384
|
| 24 |
+
|
| 25 |
+
## Files
|
| 26 |
+
|
| 27 |
+
- `chroma.sqlite3.gz` - Compressed ChromaDB database with embeddings
|
| 28 |
+
- `movies.json.gz` - Compressed movie metadata (title, overview, cast, crew, etc.)
|
| 29 |
+
- `metadata.json` - Dataset statistics and version info
|
| 30 |
+
|
| 31 |
+
## Top Genres
|
| 32 |
+
|
| 33 |
+
- Drama: 3751 movies
|
| 34 |
+
- Comedy: 2319 movies
|
| 35 |
+
- Crime: 1079 movies
|
| 36 |
+
- Thriller: 1059 movies
|
| 37 |
+
- Animation: 900 movies
|
| 38 |
+
|
| 39 |
+
## Usage
|
| 40 |
+
|
| 41 |
+
### Download and Extract
|
| 42 |
+
|
| 43 |
+
```python
|
| 44 |
+
from huggingface_hub import hf_hub_download
|
| 45 |
+
import gzip
|
| 46 |
+
import shutil
|
| 47 |
+
|
| 48 |
+
# Download compressed database
|
| 49 |
+
db_path = hf_hub_download(
|
| 50 |
+
repo_id="YOUR_USERNAME/movie-embeddings-rag",
|
| 51 |
+
filename="chroma.sqlite3.gz",
|
| 52 |
+
repo_type="dataset"
|
| 53 |
+
)
|
| 54 |
+
|
| 55 |
+
# Decompress
|
| 56 |
+
with gzip.open(db_path, 'rb') as f_in:
|
| 57 |
+
with open('chroma.sqlite3', 'wb') as f_out:
|
| 58 |
+
shutil.copyfileobj(f_in, f_out)
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
### Use with ChromaDB
|
| 62 |
+
|
| 63 |
+
```python
|
| 64 |
+
import chromadb
|
| 65 |
+
|
| 66 |
+
client = chromadb.PersistentClient(path="./chroma_db")
|
| 67 |
+
collection = client.get_collection("movies")
|
| 68 |
+
|
| 69 |
+
# Search for movies
|
| 70 |
+
results = collection.query(
|
| 71 |
+
query_texts=["science fiction movie about space"],
|
| 72 |
+
n_results=5
|
| 73 |
+
)
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
## Automated Updates
|
| 77 |
+
|
| 78 |
+
This dataset is automatically updated monthly via GitHub Actions with new movie releases.
|
| 79 |
+
|
| 80 |
+
## License
|
| 81 |
+
|
| 82 |
+
MIT License - Free to use for any purpose.
|
chroma.sqlite3.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a580dc5a30e04351c7686d88d81246ec668c22d1aae273ed5a29a95e36f9113c
|
| 3 |
+
size 46277367
|
metadata.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
| 1 |
-
{
|
| 2 |
-
"version": "2025-11-25",
|
| 3 |
-
"total_movies":
|
| 4 |
-
"date_range": {
|
| 5 |
-
"earliest": "Unknown",
|
| 6 |
-
"latest": "Unknown"
|
| 7 |
-
},
|
| 8 |
-
"movies_by_year": {},
|
| 9 |
-
"top_genres": {
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"
|
| 14 |
-
"
|
| 15 |
-
"
|
| 16 |
-
"
|
| 17 |
-
"
|
| 18 |
-
"
|
| 19 |
-
"
|
| 20 |
-
},
|
| 21 |
-
"last_updated": "2025-11-
|
| 22 |
-
"embedding_model": "sentence-transformers/all-MiniLM-L6-v2",
|
| 23 |
-
"embedding_dimension": 384
|
| 24 |
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "2025-11-25-1745",
|
| 3 |
+
"total_movies": 7310,
|
| 4 |
+
"date_range": {
|
| 5 |
+
"earliest": "Unknown",
|
| 6 |
+
"latest": "Unknown"
|
| 7 |
+
},
|
| 8 |
+
"movies_by_year": {},
|
| 9 |
+
"top_genres": {
|
| 10 |
+
"Drama": 3751,
|
| 11 |
+
"Comedy": 2319,
|
| 12 |
+
"Crime": 1079,
|
| 13 |
+
"Thriller": 1059,
|
| 14 |
+
"Animation": 900,
|
| 15 |
+
"Mystery": 826,
|
| 16 |
+
"Action": 713,
|
| 17 |
+
"Horror": 685,
|
| 18 |
+
"Sci-Fi & Fantasy": 680,
|
| 19 |
+
"Romance": 647
|
| 20 |
+
},
|
| 21 |
+
"last_updated": "2025-11-25T17:45:08.816733",
|
| 22 |
+
"embedding_model": "sentence-transformers/all-MiniLM-L6-v2",
|
| 23 |
+
"embedding_dimension": 384
|
| 24 |
}
|
movies.json.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54fbf4ef455f1560bae96d9c1f32c6be2aa91f1e464152cd88505a25fdff8fe3
|
| 3 |
+
size 5249309
|