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.4.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for allenpoly-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8c358927bf8a76b76d1dc900fafb58ec310af56bb9e9ac6d8d41b737091f709 |
|
MD5 | e3492d3ec24296114ef0b42ae0a9bc7c |
|
BLAKE2b-256 | 628570c141d7348f9ee6210b39331dcc03da87b128a014a8a335c494c3d230fa |