Code Monkey home page Code Monkey logo

alvis-docker's Introduction

Alvis Docker

Dockerizing Alvis and its components

OpenMinTeD compatible components

Find the OpenMinteD compatible components here.

The components are wrapped following the OpenMinTeD guidelines.

Use the docker image

A docker image for the alvisnlp engine in command line is available into Docker Hub

/!\ Prerequisites are docker installed (>= 1.13.1) and 4Go of free disk space

  1. display the alvis help
docker run mandiayba/alvisengine:1.0.0 \
       alvisnlp -help
  1. list the modules supported by alvis
docker run mandiayba/alvisengine:1.0.0 \
       alvisnlp -supportedModules
  1. display the doc of the module named SimpleProjector
docker run mandiayba/alvisengine:1.0.0 \
       alvisnlp -moduleDoc GeniaTagger
  1. run an alvis workflow that trains a ML model for binary relation extraction from a text corpus
docker run -i --rm -v $PWD/workdir:/opt/alvisnlp/data \
       -a stderr mandiayba/alvisengine:1.0.0 \
       alvisnlp /opt/alvisnlp/data/plans/train.plan
  1. run an alvis workflow that classifies binary relations from a text corpus
docker run -i --rm -v $PWD/workdir:/opt/alvisnlp/data \
          -a stderr mandiayba/alvisengine:1.0.0 \
           alvisnlp /opt/alvisnlp/data/plans/predict.plan
  1. run the train workflow with the main parameters passed to the workflow
docker run -i --rm -v $PWD/workdir:/opt/alvisnlp/data -a stderr mandiayba/alvisengine:1.0.0 \
           alvisnlp \
           -param train textDir /opt/alvisnlp/data/corpus/train \
           -param dev textDir /opt/alvisnlp/data/corpus/dev \
           -param test textDir /opt/alvisnlp/data/corpus/test \
           -param TEESTrain model /opt/alvisnlp/data/models \
           /opt/alvisnlp/data/plans/train.plan

The train and classify workflows (called plans into alvis) are based on GeniaTagger and TEES tools integrated to AlvisNLP. The corpus used is Bacteria Biotope 2016. The binary relation here is named "Lives_in" ant it expresses the fact that some bacteries live in some habitats.

The docker image creation

* Not the latest version, we might want to test with the latest version.

alvis-docker's People

Contributors

mandiayba avatar pennyl67 avatar rbossy avatar saurav-karmakar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alvis-docker's Issues

Additional component-plans

There here: https://github.com/openminted/alvis-docker/tree/master/openminted-components/segmenter/test-data/plans

@mandiayba

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.