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.7.tar.gz
(6.2 kB
view details)
File details
Details for the file allenpoly-0.0.7.tar.gz
.
File metadata
- Download URL: allenpoly-0.0.7.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f26f823a1c309485d0b4ce7b1476cdbf4ad66988d550fb33b8c5d86a413e029f |
|
MD5 | bbdd3422723fa492ce90dfbd84515b9b |
|
BLAKE2b-256 | f9bc9d7ac61ff985481ce349231834093944ddf4226d0d090c3c6c4ddb27b97e |