Skip to content

Latest commit

 

History

History

story_generation

Visually Grounded Story Generaton

In this directory, we illustrate the details of our experiments on the task of visually grounded story generation.


Catalogue:


1. Data Preparation:

To prepare the data and image index for the task, please follow instructions [here].


2. Language Model Training:

To train the language model on the ROCStories benchmark, please follow the instructions [here].


3. Perform Inference with Magic:

To perform inference with our magic approach, please refer to details [here] and [here].


4. Perform Inference with Baseline Methods:

4.1. Contrastive Search:

To perform inference with the contrastive search baseline, please refer to details [here].

4.2. Greedy Search:

To perform inference with the greedy search baseline, please refer to details [here].

4.3. Beam Search:

To perform inference with the beam search baseline, please refer to details [here].

4.4. Top-k Sampling:

To perform inference with the top-k sampling baseline, please refer to details [here].

4.5. Nucleus Sampling:

To perform inference with the nucleus sampling baseline, please refer to details [here].

4.6. Typical Sampling:

To perform inference with the typical sampling baseline, please refer to details [here].