CoolFace
Datasetpublic

DivyanshuSingh96/aimi-anime-rag-dataset-sample

๐ŸŽŒ Ultimate Anime Dataset (8,248 Entries) | 1917-2025 A meticulously curated collection spanning 108 years of anime history Love this dataset and the Anime Receipts concept? You can download the complete project via the links below: ๐Ÿš€ Unlock the Full Potential Product What You Get Get It Here Tier 1 8,248 Anime Dataset (Parquet) Tier 2 Full AiMi Recommendation System (Backend + UI) Tier 3 Ultimate AiMi Recommendation System + AiMiโ€ฆ See the full description on the dataset page: https://huggingface.co/datasets/DivyanshuSingh96/aimi-anime-rag-dataset-sample.

sourceHugging Facecc-by-nc-4.0updated 10mo agoView on Hugging Face
5likes24downloads
Dataset Card

๐ŸŽŒ Ultimate Anime Dataset (8,248 Entries) | 1917-2025

Streamlit UI screenshot 1

A meticulously curated collection spanning 108 years of anime history

Love this dataset and the Anime Receipts concept? You can download the complete project via the links below:

๐Ÿš€ Unlock the Full Potential

ProductWhat You GetGet It Here
Tier 18,248 Anime Dataset (Parquet)<a href="https://divyanshu369.gumroad.com/l/anime-rag-dataset"><img src="https://img.shields.io/badge/Download-AiMi_Dataset-blue?style=for-the-badge&logo=gumroad" alt="Download Dataset"></a>
Tier 2Full AiMi Recommendation System (Backend + UI)<a href="https://divyanshu369.gumroad.com/l/aimi-recommendation-system"><img src="https://img.shields.io/badge/Get-AiMiRecommendationSystem-orange?style=for-the-badge&logo=gumroad" alt="Get Source Code"></a>
Tier 3Ultimate AiMi Recommendation System + AiMi Anime Receipts Generator<a href="https://divyanshu369.gumroad.com/l/aimi-anime-ecosystem"><img src="https://img.shields.io/badge/Get-UltimateAiMiEcosystem-red?style=for-the-badge&logo=gumroad" alt="Get Ultimate Ecosystem"></a>

This dataset represents 8,248 carefully curated anime entries from 1917 to October 2025, designed for machine learning, data analysis, and creative applications. Each entry contains rich metadata perfect for building recommendation systems, conducting research, or creating unique anime-related projects.

What makes this special:

  • โ€”โœจ Most current available - Updated through October 2025
  • โ€”๐ŸŽฏ RAG-optimized - Special fields designed for semantic search
  • โ€”๐Ÿงน Production-ready - Cleaned, validated, no duplicates
  • โ€”๐Ÿ“Š Comprehensive - 25+ metadata fields per anime
  • โ€”๐ŸŒ 108 years of anime history in one place

๐Ÿ—‚๏ธ Dataset Structure

File Overview

bash
๐Ÿ“ anime-dataset/
โ”œโ”€โ”€ ๐Ÿ“„ anime_dataset_small_nomic.parquet          # Free sample (500 entries)
โ””โ”€โ”€ ๐Ÿ“„ premium                           # Directory containing Viral Anime Receipts Sample

Dataset Statistics

  • โ€”Total Entries: 8,248 anime (full version)
  • โ€”Sample Provided: 500 anime (this dataset)
  • โ€”Time Span: 1917 - 2025 (108 years)
  • โ€”Fields: 25+ metadata columns
  • โ€”Format: PARQUET (UTF-8 encoded)
  • โ€”Size: ~832KB (sample), ~20.4MB (full)

๐Ÿ“Š Column Descriptions

Core Identification

ColumnTypeDescriptionExample
Main TitlestringRomanized Japanese title"Kimetsu no Yaiba"
Official Title (en)stringOfficial English release name"Demon Slayer: Kimetsu no Yaiba"
Official Title (ja)stringOriginal Japanese title"้ฌผๆป…ใฎๅˆƒ"

Content Information

ColumnTypeDescriptionExample
SynopsisstringPlot summary (detailed)"A young boy whose family was killed by demons..."
processed_tagsstringComma-separated themes/genres"action, supernatural, historical, shounen"
canonical_embedding_textstringRAG-optimized field - Combined text for semantic searchPre-formatted embedding-ready text

Classification

ColumnTypeDescriptionExample
filter_typestringAnime format"TV Series", "Movie", "OVA", "Special"
filter_yearintRelease year2019
Max RatingfloatCommunity rating (0-10 scale)8.7
Animation WorkstringProduction studio(s)"Kyoto Animation"

Episode & Duration Data

ColumnTypeDescriptionExample
EpisodestringEpisode count["1", "2", "3", ....]
DurationstringEpisode duration["25m", "25m", "24m", ....]

Staff Information

ColumnTypeDescriptionExample
DirectionstringDirector(s)"Haruo Sotozaki"
MusicstringComposer(s)"Yuki Kajiura, Go Shiina"
Original WorkstringSource material creator"Koyoharu Gotouge"

...and more...

Visual Assets

ColumnTypeDescriptionExample
Image Link PathstringFilename of poster image"animeposter123.png"
Logo Image Link PathstringFilename of logo image"animelogo123.png"
Backdrop Image Link PathstringFilename of backdrop image"animebackdrop123.png"

๐ŸŽฏ Special Feature: RAG-Optimized Field

What is canonical_embedding_text?

This dataset includes a custom-engineered semantic field specifically optimized for modern Retrieval-Augmented Generation (RAG) systems, vector databases, and embedding models.

Instead of raw columns, this field contains:

โœจ A carefully blended, context-rich representation of each anime entry, built from multiple metadata sources and structured for maximum semantic clarity.

Why this field is special

  • โ€”Embedding-ready out of the box - no preprocessing required
  • โ€”Built using a proprietary formatting pipeline used in AiMi (ๆ„›่ฆ–) Recommendation System
  • โ€”Balances plot, characterization, genre cues, and contextual metadata
  • โ€”Consistent across all 8,248+ anime entries
  • โ€”Significantly boosts similarity accuracy compared to plain synopsis or tags

๐Ÿ› ๏ธ How to Create RAG Embeddings

While the commercial version of AiMi includes a pre-engineered canonical_embedding_text field (optimized via a proprietary 12-step prompt pipeline), you can easily build your own high-quality embedding context using the metadata provided in this sample.

To get excellent results with models like Nomic v1.5 or OpenAI text-embedding-3, I recommend concatenating the core metadata columns into a structured string.

Python Example:

python
# 1. Create a rich context string for each anime
# This combines the Title, Visual Description, and Semantic Tags
df['rag_context'] = (
    "Title: " + df['Main Title'] + " | " +
    "Studio: " + df['Animation Work'].fillna('Unknown') + " | " +
    "Tags: " + df['processed_tags'].fillna('') + " | " +
    "Synopsis: " + df['Synopsis'].fillna('')
)

# 2. Inspect the result
print(df['rag_context'].iloc[0])
# Output: "Title: Attack on Titan | Studio: Wit Studio | Tags: action, military... | Synopsis: Humanity lives..."

# 3. Pass this new column to your embedding model!
embeddings = model.encode(df['rag_context'].tolist())

Use Cases

canonical_embedding_text allows you to:

  • โ€”Build a semantic anime search engine
  • โ€”Create embeddings directly with your preferred model
  • โ€”Construct vector databases (FAISS, hnswlib, Pinecone, Weaviate, ChromaDB)
  • โ€”Train retrieval or recommendation systems
  • โ€”Experiment with natural languageโ€“based similarity querying

And all of this is possible without knowing the internal data fusion method.


๐Ÿ’ก Creative Applications

1. ๐ŸŽŸ๏ธ Anime Receipt Generator (Trending Idea!)

Create beautiful two-sided anime "receipts" like movie tickets - a viral social media trend!

Front Side (Receipts): <div style="display: flex; justify-content: space-between; width: 400px; height: auto"> <img src="https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F9519298%2F440af3793e730c256052ff5bdd9ea9fb%2Fpremiumfront6459.png?generation=1763753700182787&alt=media" style="width: 400px; height: 700px"> <img src="https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F9519298%2Fe28bb2454587b36a59287483e3be071e%2Fpremiumfront7074.png?generation=1763753863557484&alt=media" style="width: 400px; height: 700px"> </div>

Back Side (Receipts):

<div style="display: flex; justify-content: space-between; width: 400px; height: auto"> <img src="https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F9519298%2Ff2e4e54711fbe4c14e6854fc6f731e40%2Fpremiumback64591.png?generation=1763753818703885&alt=media" style="width: 400px; height: 700px"> <img src="https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F9519298%2F9a9b9c98294a50d942ae50e759713593%2Fpremiumback70741.png?generation=1763753886123650&alt=media" style="width: 400px; height: 700px"> </div>

Implementation tip: Use Python's PIL/Pillow or web canvas to generate these programmatically. Perfect for a viral Twitter bot or Instagram account!


2. ๐Ÿค– AI-Powered Recommendation System

Build semantic search using RAG (Retrieval-Augmented Generation):

Natural language queries:

  • โ€”"Anime about friendship that explores deep philosophical themes"
  • โ€”"Dark fantasy with tragic character arcs and moral ambiguity"
  • โ€”"Slice of life comedy set in high school with healing atmosphere"

Technology stack:

  • โ€”Embedding models: Sentence-BERT, Nomic, OpenAI embeddings
  • โ€”Vector database: FAISS, Pinecone, Weaviate, ChromaDB
  • โ€”Similarity search: Cosine similarity on 768D/1536D vectors

Why this dataset is perfect:

  • โ€”Pre-formatted canonical_embedding_text field
  • โ€”Rich semantic information (synopsis + tags + themes...)
  • โ€”Large corpus (8,248 entries) for quality recommendations

3. ๐Ÿ“Š Data Analysis & Visualization

Explore anime industry trends:

Temporal Analysis:

  • โ€”Genre popularity over decades (1980s vs 2020s)
  • โ€”Studio dominance across eras
  • โ€”Rating distribution evolution

Content Analysis:

  • โ€”Most common themes/tags
  • โ€”Correlation between studio and rating
  • โ€”Episode count trends (12-ep vs 24-ep seasons)

NLP Projects:

  • โ€”Synopsis sentiment analysis
  • โ€”Genre classification using ML
  • โ€”Trend prediction models

4. ๐ŸŽฎ Interactive Applications

Build:

  • โ€”Anime discovery web apps
  • โ€”Personalized watchlist generators
  • โ€”Comparison tools (studio vs studio, genre vs genre)
  • โ€”Trivia/quiz games using metadata
  • โ€”Social sharing platforms

APIs you can create:

  • โ€”Search by natural language
  • โ€”Filter by year/rating/type/studio
  • โ€”"Find similar" based on any anime
  • โ€”Random anime picker with filters

5. ๐ŸŽ“ Educational Projects

Perfect for:

  • โ€”Machine learning portfolio projects
  • โ€”Data science bootcamp capstones
  • โ€”NLP and embedding experiments
  • โ€”University thesis/research papers
  • โ€”Teaching RAG concepts

What you'll learn:

  • โ€”Vector embeddings and semantic search
  • โ€”Data cleaning and preprocessing
  • โ€”Building recommendation systems
  • โ€”API development
  • โ€”Full-stack ML applications

๐Ÿ› ๏ธ Example Usage

Quick Start: Load the Data

python
import pandas as pd

# Load sample dataset
df = pd.read_csv('anime_sample_500.parquet')

# Basic exploration
print(f"Total anime: {len(df)}")
print(f"Columns: {df.columns.tolist()}")
print(f"Date range: {df['filter_year'].min()} - {df['filter_year'].max()}")

# View a sample entry
df.iloc[0][['Main Title', 'synopsis', 'Max Rating']]

Example 1: Simple Filtering

python
# Find highly-rated modern anime
modern_classics = df[
    (df['filter_year'] &gt;= 2015) & 
    (df['Max Rating'] &gt;= 8.0)
]

print(f"Found {len(modern_classics)} highly-rated modern anime")

Example 2: Text Analysis

python
from collections import Counter

# Most common tags
all_tags = []
for tags in df['processed_tags'].dropna():
    all_tags.extend([t.strip() for t in tags.split(',')])

top_10_tags = Counter(all_tags).most_common(10)
print("Most common anime themes:")
for tag, count in top_10_tags:
    print(f"  {tag}: {count}")

Example 3: Building Embeddings (RAG)

python
from sentence_transformers import SentenceTransformer

# Load embedding model
model = SentenceTransformer('nomic-ai--nomic-embed-text-v1.5')

# Use the RAG-optimized field
# Build your own embedding text from descriptive columns
# Example: df['canonical_embedding_text'] = df['Main Title'] + " " + df['Synopsis']
embedding_texts = df['canonical_embedding_text'].tolist()

# Generate embeddings
embeddings = model.encode(embedding_texts, show_progress_bar=True)

print(f"Generated {len(embeddings)} embeddings of dimension {embeddings.shape[1]}")

Example 4: Semantic Search

python
import numpy as np
from sklearn.metrics.pairwise import cosine_similarity

# User query
query = "dark fantasy anime with strong female protagonist"
query_embedding = model.encode([query])

# Find most similar anime
similarities = cosine_similarity(query_embedding, embeddings)[0]
top_indices = np.argsort(similarities)[-10:][::-1]

print("Top 10 recommendations:")
for idx in top_indices:
    print(f"  {df.iloc[idx]['Main Title']} (similarity: {similarities[idx]:.2f})")

๐Ÿ“ˆ Data Quality & Preprocessing

What's Been Done

  • โ€”โœ… Duplicates removed - Each anime appears once
  • โ€”โœ… Consistent formatting - Standardized column names and values
  • โ€”โœ… Validated entries - Removed incomplete or corrupted data
  • โ€”โœ… Normalized ratings - 0-10 scale across all entries
  • โ€”โœ… Unicode handling - Japanese characters properly encoded
  • โ€”โœ… Missing value handling - Clearly marked as NULL/NaN

What You Might Need to Do

  • โ€”Filter by specific years/types/ratings for your use case
  • โ€”Handle missing values according to your requirements
  • โ€”Generate embeddings if using RAG/semantic search
  • โ€”Create additional derived features (decade, era, etc.)

๐ŸŽจ Sample Projects You Can Build

Beginner Level

  1. 1.Simple Search Interface - Filter by year, rating, type
  2. 2.Random Anime Picker - With customizable filters
  3. 3.Stats Dashboard - Visualize trends using Matplotlib/Plotly
  4. 4.Tag Cloud Generator - Most popular themes/genres

Intermediate Level

  1. 1.Content-Based Recommender - Using TF-IDF on synopsis
  2. 2.Anime Receipt Generator - Viral social media content
  3. 3.Studio Comparison Tool - Analyze studio performance
  4. 4.Genre Classifier - ML model to predict genres from synopsis

Advanced Level

  1. 1.RAG-Powered Search Engine - Natural language queries
  2. 2.Full-Stack Web App - FastAPI backend + React/Streamlit frontend
  3. 3.Personalized Recommender - Using collaborative filtering
  4. 4.Trend Prediction Model - Forecast next year's popular genres

๐Ÿš€ Want the Complete Experience?

This sample dataset (500 anime) is perfect for learning and experimentation.

Full Dataset Includes:

  • โ€”๐Ÿ“Š All 8,248 anime entries (1917-2025)
  • โ€”๐Ÿ–ผ๏ธ 8,248 high-quality poster, logo and backdrop images
  • โ€”๐Ÿค– Pre-built FAISS index for instant semantic search
  • โ€”๐Ÿ“š Additional metadata fields
  • โ€”๐ŸŽจ Complete documentation

Production-Ready RAG System Available

If you want to skip the implementation and get a fully functional anime recommendation system with beautiful UI, I've built a complete application:

Features:

  • โ€”โšก FastAPI backend with semantic search
  • โ€”๐ŸŽจ Streamlit frontend with Apple-inspired design
  • โ€”๐Ÿง  RAG pipeline using Nomic v1.5 embeddings
  • โ€”๐Ÿ” Natural language queries ("dark fantasy with strong female lead")
  • โ€”๐ŸŽฒ Similarity search (find anime like X)
  • โ€”๐Ÿ“Š Dynamic filters (year, rating, type)
  • โ€”๐Ÿ’พ Smart caching for instant responses

Screenshots Preview:

Streamlit UI screenshot 1


๐ŸŽฏ Common Use Cases by Field

FieldBest ForExample Use
canonical_embedding_textRAG/semantic searchBuild intelligent recommendation engine
SynopsisNLP, sentiment analysisTrain genre classifier
processed_tagsContent filteringCreate tag-based filters
EpisodeReceipt generationDisplay episode list beautifully
filter_yearTemporal analysisAnalyze decade-by-decade trends
Max RatingQuality filteringShow only highly-rated anime
Animation WorkStudio analysisCompare production company output
Direction / MusicStaff trackingFind all works by favorite director

๐Ÿค Contributing & Feedback

Found an error? Open an issue on the dataset page. Built something cool? Share it in the comments - I'd love to see what you create! Have questions? Comment below and the community can help.


๐Ÿ“œ License & Usage

โœ… What You CAN Do (Make Money):

  • โ€”Build a SaaS: Deploy a recommendation site/app and charge users.
  • โ€”Freelance: Build projects for clients (deploy the app for them).
  • โ€”Sell Outputs: Sell the receipts, API access, or recommendations.
  • โ€”White-label: Remove AiMi branding and use your own logos.
  • โ€”Deploy: Host on any server (AWS, Vercel, DigitalOcean).

โŒ What You CANNOT Do (Piracy):

  • โ€”Resell the Code: You cannot sell the raw source code/zip file itself.
  • โ€”Open Source: You cannot upload the code to public GitHub/Kaggle.
  • โ€”Redistribute Data: You cannot sell the raw parquet/index files separately.

See `license.md` for specific details on Client Work and Asset Usage.


๐ŸŽฌ Inspiration

&gt; "The purpose of our human lives is to search for the strongest, most splendid moment we can have." &gt; โ€” Your Lie in April

Building projects, learning new skills, creating something meaningful - that's what makes the journey worthwhile. Whether you're a student learning data science, a developer building your portfolio, or just an anime fan with a wild idea, I hope this dataset helps you create something amazing.

No matter how difficult the journey becomes, never give up on your visions. Finding your true purpose is the key to success.

Chase your dreams. Keep watching anime. Keep building.

If you have any questions or suggestions, please comment below. I'll try my best to answer every one.


Happy coding! ๐Ÿš€

P.S. - If you build an anime receipt generator, tag me. That concept is too cool not to see in action.