Skip to main content

An library to use AllenNLP library in Polyaxon environment.

Project description

Allenpoly

Extension of AllenNLP that allows to train models in Polyaxon cluster.

Local usage:

$ export POLYAXON_NO_OP=true
$ allenpoly train config.json --include-package your_package --serialization_dir ./experiment_dir/  

Polyaxon cluster usage:

Example experiment file:

...

run:
  cmd: allenpoly train config.json --include-package your_package --serialization_dir $POLYAXON_RUN_OUTPUTS_PATH

Example of config.json:

trainer: {
    type: 'callback',
    ...
    callbacks: [{
        "type": "poly_track_metrics",  # Used in place of `track_metrics`
        ...
    }]
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for allenpoly, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size allenpoly-0.0.7.tar.gz (6.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page