Skip to content

Resources and code for: Scalable Micro-planned Generation of Discourse from Structured Data

Notifications You must be signed in to change notification settings

parajain/structscribe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Major dependencies

  • Python
  • Pytorch
  • Spacy

Dataset

  • Link to download dataset: link
  • Above link contains: Dataset 1, 2 and 3 as describes in the paper

Setup DBpedia Lookup

For experimentation purpose models are directly loaded in the memory. But there is an option to create an rpc server to create an API (this is slower, but to try our different inputs it is useful). Not needed to run experiment.py

Generation server

  • To run: python S2SServer.py configurations/s2s.config.json

Gender predictor module server

  • Gender server code is present in code\anaphora_replacer
  • To run: python GenderServer.py