Skip to content

tenghaohuang/AFFGEN

Repository files navigation

AFFGEN

Code implementation for EMNLP-findings 2023 paper "Affective and Dynamic Beam Search for Story Generation"

Requirements

Before you begin, ensure you have met the following requirements:

  • Python 3.6 or later
  • Pip for installing Python packages
  • Access to command-line interface or terminal

Setup Instructions

Follow these steps to get your environment ready:

  1. Clone the Repository

  2. Install Dependencies

    pip install -r requirements.txt
    
  3. Download Required Models and Datasets

  4. Configuration

    Update the Config class in your project with the paths to the downloaded models and datasets. Here is an example of what the Config class.

  5. Running the Project

    After setting up the configuration, you can run your project by executing the main script. Adjust the command based on your project's structure.

    python inference.py
    

The bandit framework is adapted from contextual-bandit.

About

Code implementation for EMNLP-findings 2023 paper "Affective and Dynamic Beam Search for Story Generation"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages