Inspiration

The "Attention Is All You Need" paper revolutionized AI and NLP, but research papers can be difficult to read and navigate. I wanted to make this foundational paper more accessible through an interactive, visually appealing web format that anyone can explore.

What it does

This project transforms the dense PDF research paper into a modern, interactive website with:

  • Clean, readable typography and layout
  • Smooth navigation between sections
  • Properly formatted mathematical equations
  • Mobile-responsive design
  • Easy-to-share format accessible to everyone

How we built it

  1. PDF Extraction: Used PaddleOCR-VL via the doc2page tool to extract text and layout from the original PDF
  2. Markdown Conversion: The OCR output was converted to structured Markdown preserving the paper's hierarchy
  3. Web Page Generation: Used ERNIE AI to transform the Markdown into a beautiful, self-contained HTML page with CSS styling
  4. Deployment: Hosted the final page on GitHub Pages for free, public access

Challenges we ran into

  • Preserving mathematical equations during OCR extraction
  • Ensuring responsive design works across different screen sizes
  • Balancing aesthetics with readability for dense technical content
  • Converting complex tables and figures from the original paper

Accomplishments that we're proud of

  • Successfully made a complex research paper more accessible
  • Created a fully functional, interactive webpage in under 4 hours
  • Demonstrated the power of combining PaddleOCR-VL and ERNIE for document transformation
  • The final product is something I'd actually use to read research papers!

What we learned

  • How effective PaddleOCR-VL is at extracting structured content from PDFs
  • ERNIE's impressive ability to generate clean, modern web designs from text
  • The importance of good design in making technical content accessible
  • How quickly you can build useful tools by combining AI models

What's next for Attention Is All You Need

  • Add interactive visualizations of the Transformer architecture
  • Implement a chatbot to answer questions about the paper using ERNIE
  • Create similar interactive versions for other foundational AI papers
  • Add annotation features for students and researchers ```

Built with:

PaddleOCR-VL, ERNIE AI, HTML5, CSS3, JavaScript, GitHub Pages, Baidu AI Studio

"Try it out" links: https://mikaelaldy.github.io/Attention-Is-All-You-Need-website/

Built With

Share this project:

Updates