Git Product home page Git Product logo

text-summarization-reproducability's Introduction

CI Code coverage Issues Commit activity License

๐Ÿ“ text-summarization-reproducability

Reproducability study on the "Text Summarization with Pretrained Encoders" paper by Yang Liu and Mirella Lapata. In contrast to the original implementation, we use the Julia Language with Flux.jl and Transformers.jl for building the model.

The study is conducted as part of the Data Mining lecture at Martin Luther University Halle-Wittenberg.

Usage

Local machine

  1. Install Julia.

  2. Setup PyCall.jl to use a Conda environment.

    julia --project=./ ./src/setup_python.jl
  3. Start Pluto notebook.

    julia --project=./ ./src/start_notebook.jl

    To train the model, tick the corresponding checkbox from the notebook. Alternatively, run julia --project=./ ./src/training.jl (which just runs the training from the notebook).

Local Julia installation

If needed (e.g., on a GPU cluster), you can install Julia locally.

./install-julia.sh

You can then run Julia with ./julia.

Docker container

  1. Install Docker.

  2. Build a Docker container with this project.

    docker build -t text-summarization-reproducability .
  3. Start Pluto notebook.

    docker run -p 1234:1234 -it text-summarization-reproducability

    Note that Julia runs rather slow inside Docker.

Code quality

To keep code quality at a high level, all commits are atomic, which can be checked using the following command.

git --no-pager log --all --graph --no-color --date=short --pretty='format:%h%d (%s, %ad)'

License

This project is MIT licensed, so you can use the code for whatever you want as long as you mention this repository.

text-summarization-reproducability's People

Contributors

janheinrichmerker avatar dependabot[bot] avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar  avatar Kostas Georgiou avatar  avatar

text-summarization-reproducability's Issues

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.