Skip to content
Nat Lee

Keyboard shortcuts

Turn these off if they get in the way of a screen reader or voice control. The setting is saved in this browser.

1
Home
2
Work
3
Projects
4
About
5
Experience
/
Search projects
?
Show this panel

AI/ML

Spin-off · Master's thesis + Big Data

GURA

Sentiment Analysis Model

The earlier BiGRU + self-attention sentiment experiment. Preserved for reference; current comparisons live in Sentiment Bundle Benchmark.

Role
Creator & Maintainer
Period
2019 – 2023
Status
Archived
Categories
Language & sentimentAI & machine learning
Origin
Master's thesis +Big Data
Stack
  • Python
  • Keras
  • TensorFlow
  • NLP
  • Deep Learning
  • Attention Mechanisms
  • GRU
GURA, screenshot 1

Overview

A historical sentiment classifier used to introduce the MyAnimeList reviews and sentiment dataset bundle. The archived BiGRU experiment has been replaced by sentiment-bundle-benchmark, which compares modern methods with fixed data splits and reproducible evaluation.

What it's good for

Every benchmark needs a 'before' photo, and GURA is it. It stays online read-only with the 2019 BiGRU recipe and the dataset bundle it introduced, so the successor's then-and-now table points at real code.

Diagrams

Main paths only. The edge cases stayed in the code.

68.5% on MyAnimeList. Answering "positive" every time scored 83%.

Point at a box to see what it connects to.

  1. Fit the Keras tokenizer(One vocabulary, six datasets) → GloVe vectors on disk?
  2. GloVe vectors on disk? → yes: Build a frozen embedding layer → no: Download GloVe 840B
  3. Download GloVe 840B(Into the model folder) → Build a frozen embedding layer
  4. Build a frozen embedding layer(300 numbers per word) → Lower-case, drop stop words
  5. Lower-case, drop stop words(Including not, no, never) → Set aside validation rows
  6. Set aside validation rows(Official test split mixed in) → Top up with word salad
  7. Top up with word salad(Random chunks of real text) → Train one epoch
  8. Train one epoch(BiGRU with self-attention) → Best validation accuracy yet?
  9. Best validation accuracy yet? → yes: Save a checkpoint → no: Epochs left?
  10. Save a checkpoint(Accuracy in the file name) → Epochs left?
  11. Epochs left? → yes: Train one epoch → no: Keep only the top checkpoint
  12. Keep only the top checkpoint(The rest get deleted) → Above the target accuracy?
  13. Above the target accuracy?(Ask again until it says yes) → yes: Stop retraining → no, rerun: Build a frozen embedding layer
  14. Stop retraining(Best checkpoint and charts kept)

Features

  • Historical BiGRU and self-attention model
  • Companion to the MyAnimeList sentiment datasets

Results

  • Preserved as the historical baseline for Sentiment Bundle Benchmark
MyAnimeList run: training accuracy rises, validation peaks near 0.685 and slips back
MyAnimeList run: training accuracy rises, validation peaks near 0.685 and slips back

What I learned

  • The stop-word list removed not, no, never and nothing, so 'not good' and 'good' looked the same to the model.
  • Validation data included the official test split, and command.py retrained until it beat a target: the reported score was the luckiest try.
  • Its 68.5% on MyAnimeList is below the 83% you get by always answering 'positive' on the same validation set.
  • IMDB run: training accuracy climbs to 0.80; validation stays near 0.73, unimpressed
    IMDB run: training accuracy climbs to 0.80; validation stays near 0.73, unimpressed
  • Spin-off · Master's thesis + Big Data
    Language & sentimentAI & machine learning11 stars on GitHub

    Sentiment Bundle Benchmark

    TF-IDF, embeddings, fine-tuned encoders and a local language model, evaluated on fixed splits across six sentiment datasets. The successor to GURA.

    2026Completed
  • Spin-off · Master's thesis
    Language & sentimentAI & machine learning11 stars on GitHub

    IMDb Preprocessing Study

    An unofficial, reproducible re-run of a BlackboxNLP 2018 paper's IMDb experiments: four ways to preprocess the text, two neural models, every run traceable. It started as research for my master's thesis in 2019. That version had three bugs; this one fixes them and says where they were.

    2019Completed
  • Work · Big Data
    Language & sentimentAI & machine learning

    Sentiment Analysis Platform

    Led the sentiment engine behind a company's social-listening products, reading more than three billion crawled posts. Most of them were complaints.

    2021Completed