Code Monkey home page Code Monkey logo

steps's Introduction

STEPS: Semantic Typing of Event Processes with a Sequence-to-Sequence Approach

Paper Conference License: CC BY-NC 4.0

STEPS is an end-to-end approach for producing user intent in terms of actions and objects only, dispensing with the need for their definitions. This is achieved by reformulating the free-form Multi-axis Event Process Typing task as a sequence generation problem.

If you find our paper, code or framework useful, please reference this work in your paper:

@inproceedings{pepe-etal-2022-steps,
  title     = {STEPS: Semantic Typing of Event Processes with a Sequence-to-Sequence Approach},
  author    = {Pepe, Sveva and Barba, Edoardo, and Blloshmi, Rexhina and Navigli, Roberto},
  booktitle = {Proceedings of {AAAI}},
  year      = {2022},
}

Environment Setup

Requirements:

  • Debian-based (e.g. Debian, Ubuntu, ...) system
  • conda

We strongly advise utilizing the bash script setup.sh to set up the python environment for this project. Run the following command to quickly setup the env needed to run our code:

bash ./setup.sh

It's a bash command that will setup a conda environment with everything you need. Just answer the prompts as you proceed.

Checkpoint

  • Checkpoint of STEPS will be released soon!

Train

Training is done via the training script, src/train.py, and its parameters are read from the .yaml files in the conf/ folders. Once you applied all your desired changes, you can run the new training with:

(steps) user@user-pc:~/steps$ PYTHONPATH=$(pwd) python src/train.py

Evaluate

If you want to evaluate the model you just have to run the following command:

(steps) user@user-pc:~/steps$ PYTHONPATH=$(pwd) python src/predict.py --ckpt <steps_checkpoint.ckpt>

License

This project is released under the CC-BY-NC-SA 4.0 license (see LICENSE). If you use STEPS, please put a link to this repo.

Acknowledgements

The authors gratefully acknowledge the support of the ERC Consolidator Grant MOUSSE No. 726487 and the ELEXIS project No. 731015 under the European Union’s Horizon 2020 research and innovation programme.

This work was supported in part by the MIUR under the grant "Dipartimenti di eccellenza 2018-2022" of the Department of Computer Science of the Sapienza University of Rome.

steps's People

Contributors

rexhinab avatar pepes97 avatar navigli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.