on this page

FMLGen

model

A humorous AI project that generates absurd "F*** My Life" stories using modern language models, comparing current capabilities to 2013 n-gram approaches

period: 2022-present
tech:
Natural Language Processing
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

A creative exploration of language model capabilities through the generation of humorous, AI-created short stories in the style of the classic FML (F*** My Life) format. This project bridges a decade of NLP advancement, from simple n-gram models to modern transformers.

Project Evolution

  • 2013: Original implementation using n-gram Markov Chain models
  • 2022: Modern reimplementation with transformer-based language models
  • Demonstrates dramatic improvements in coherence while maintaining absurdist humor

Technical Implementation

The project leverages:

  • Hugging Face Transformers library for model integration
  • GPT-Neo model for text generation
  • ~25,000 FML stories collected in 2013 as training data
  • Configurable generation parameters:
    • Temperature control for randomness
    • Top-k and top-p sampling strategies
    • Custom prompting for themed stories

Features

  • Generate random FML-style stories
  • Prompt-based story generation for specific themes
  • Adjustable creativity parameters
  • Comparison framework between old and new approaches

Example Output

โ€œI could fly. Seconds later my flight ended. I fell down my shirt. Iโ€™m allergic to cats. FMLโ€

The project successfully captures the signature blend of mundane disasters and absurd situations that characterized the original FML website, while showcasing how far natural language generation has advanced.

on this page