ENIAT
Eniat is a Python template for various ML packages including PyTorch, Scikit-learn.
Currently supports only PyTorch 🗿
It provides several convenient features
- automated training: you don't have to re-write same epoch-wise loop everytime!
- automated distributed learning for PyTorch.
- Easy configurations for your experiments.
- Various package support (in the future)
Quick Start
1. Installation
Install eniat with the below command.
pip install eniat
eniat installation doesn't convey ML packages such as torch or sklearn, so install one you need before using eniat. 🗿
2. CLI execution
You can initiate any tasks with only console commands. 🗿
With below command, you can conduct ML experiemnts on console provided that you have proper resources for models and data. These configurations except basic arguments are based on omegaconf, so refer to the documentation and provide valid arguments.
eniat -p PACKAGE -t TASK --OTHER_CONFIGS_YOU_NEED
Or you can simply write every configurations you need into one yaml and just type the path of it like below. I strongly recommend this, because ML experiments usually require quite large amount of parameters. Make a base configuration yaml file, and modify slightly by typing additional configurations into console command, and it will be much more convenient.
eniat -c=PATH_TO_CONFIG_FILE
3. Custom code execution
eniat is designed for various environments from mere .py codes to jupyter notebooks.
The most fundamental component of eniat is Trainer. It is in charge of training your models. In the other hand, Grader only evaluates your model. Below is an example code of torch training wih eniat.
from eniat.utils.statelogger import DummyLogger
from eniat.torch import TorchTrainer, TorchGrader
logger = DummyLogger() # Default logger for Eniat
grader = TorchGrader(grader_cfg, logger = logger) # If none, train without evaluation
trainer = TorchTrainer(trainer_cfg, learner_cfg, data_cfg, logger, grader)
trainer.fit(device = 0) # training on dev 0
Metadata
Release files for eniat 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eniat-0.0.3.tar.gz | 28.9 kB | Without provenance | Details for eniat-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eniat-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for eniat-0.0.3-py3-none-any.whl |
Total release size: 61.9 kB
Release files / eniat-0.0.3.tar.gz
| Download URL | eniat-0.0.3.tar.gz |
|---|---|
| Size | 28.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d7b231f3109c17e1daf18313ff9b9366d168b4a9254444031433e54c1848fc6
|
|
BLAKE2b-256 checksum How to use checksums |
a6f47155b83c1917754698f74a26d4d4c37a3c6b37727226c4bcbcbeac448505
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / eniat-0.0.3-py3-none-any.whl
| Download URL | eniat-0.0.3-py3-none-any.whl |
|---|---|
| Size | 33.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c7068910ec969c12a81e4a6364a473e05343b6343d504d19dab241e39e70160
|
|
BLAKE2b-256 checksum How to use checksums |
f00d5af3e1ab61298d71ea6f2284354f4b0676d2e83f8da8dc88a146b59f09d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for eniat 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.