Skip to content

usc-isi-i2/analogical-transfer-learning

Repository files navigation

Understanding Narratives through Dimensions of Analogy

This is the official implementation of Understanding Narratives through Dimensions of Analogy (the camera-ready version of the paper is HERE) which has been accepted by the HERE.

Please see our paper for more information and discussion.

Get started

git clone https://github.com/usc-isi-i2/analogical-transfer-learning
cd analogical-transfer-learning
pip install -e .

Files

  1. Scrape Dataset.ipynb - Data collection script
  2. Cluster Fables.pynb - Task 1: Moral Clustering | Language model baseline
  3. Frames Based Clustering.ipynb - Task 1: Moral Clustering | Frame model baseline
  4. Emotional Arc.ipynb - Task 2: Analogical Pair Generation | Story shape baseline
  5. Story Pairs.ipynb - Task 3: Analogy Type Prediction
  6. Transfer Learning.pynb - Task 4: Analogical Transfer

Data

The relavent data that is generated or used in the notebooks are available here

(Prior work) Analogical Transfer Learning Project

All details on this project are documented here and the related files are stored here

Updated analogy language model code can be found here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published