Skip to content
/ LLCSA Public

Lifelong Commonsense Knowledge Acquisition

Notifications You must be signed in to change notification settings

DRSY/LLCSA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Lifelong Commonsense Knowledge Acquisition

Principle

  • Past commonsense knowledge should accelerate or at least not affect the learning of new commonsenses or more sophisticated skills.
  • Past commonsense knowledge should be retained and accumulated as model learns new commonsense or more sophisticated skills.

Task Format

  • A unified language model(e.g., GPT-2) as both learner and pesudo-sample generator.

  • learning task:

    1. generative commonsense question answering.
    2. discriminative multiple-choice commonsense reasoning.
  • sample generation task:

    generate the complete commonsense questions.

Two types of experience rehearsal

  1. meta-replay by uncertain examples stored in physical episodic memory module.
  2. supervised-replay by confident examples generated by the model itself.

Run

Dependencies

  • pytorch
  • transformers
  • jsonlines
  • pytorch-lightning

Train

cd src/train
./train.sh

About

Lifelong Commonsense Knowledge Acquisition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published