Embeducation is a web application that introduces the idea of how words can be represented by features. It involves the theme of representation and reasoning by generating word embeddings and plotting these in three-dimensional space. It also touches upon ethics and society as it explores how bias from context can be present in embeddings. The activity targets students in grades 6-8.
For a full workshop focused on word embeddings, we have created teacher and student guides, which can be found here:
- Download the github repository on your local machine
- Open index.html to open the website locally
- index.html: Main HTML page of the website
- home.js: Main Javascript page of the website
- style.css: Main CSS stylesheet of the website
- logo.png: Logo image file
- hp_embeddings: Pre-calculated word embeddings for the entire harry potter book series, but only using the words present in book 3 to make it easier to visualize.
- js: Javascript lib dependencies
- node_modules: All modules installed from npm
- python_util: Standalone Python scripts used to generate word embeddings, convert csv to tsv etc.
- Universal Sentence Encoder