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.
Source Distribution
allenpoly-0.0.3.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for allenpoly-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9349322027f2be1418e4795b91cc07ccfffae0fdea559a2d2c68013a9281d01 |
|
MD5 | fe7b0db3ed2b8a2babb4e8d808f64829 |
|
BLAKE2b-256 | 9e54afafc5346d5fac6447d13bd817292bea706c69ee2f6aea861861a007729f |