Skip to main content

ART - Actually Robust Training framework - a framework that teaches good practices when training deep neural networks.

Project description

image

ART - Actually Robust Training framework

Tests Docs


ART is a framework that teaches and keeps an eye on good practices when training deep neural networks. It is inspired by a blog post by Andrej Karpathy “A Recipe for Training Neural Networks”. The framework teaches the user how to properly train DNNs by encouraging the user to use built-in mechanisms that ensure the correctness and robustness of the pipeline using easily usable steps. It allows users not only to learn but also to use it in their future projects to speed up model development.

Table of contents:

Installation

To get started, install ART package using:

pip install art-training

Project creation

To use most of art's features we encourage you to create a new folder for your project using the CLI tool:

python -m art.cli create-project my_project_name

This will create a new folder my_project with a basic structure for your project. To learn more about ART we encourage you to read our documentation, and check our tutorials!

Dashboard

After you run some steps you can see compare their execution in the dashboard. To use the dashboard, firstly install required dependencies:

pip install art-training[dashboard]

and run this command in the directory of your project (directory with folder called art_checkpoints).

python -m art.cli run-dashboard

Optionally you can use --experiment-folder switch to pass path to the folder. For more info, use --help switch.

Tutorials

  1. A showcase of ART's features. To check it out type:
python -m art.cli get-started

and launch tutorial.ipynb

After running all cells run dashboard with

python -m art.cli run-dashboard
  1. A tutorial showing how to use ART for transfer learning in an NLP task.
python -m art.cli bert-transfer-learning-tutorial

Required knowledge

In order to use ART, you should have a basic knowledge of:

  • Python - you can find many tutorials online, e.g. here
  • Basic knowledge of machine learning & neural networks - you can find many tutorials online, e.g. here
  • PyTorch - you can find many tutorials online, e.g. here
  • PyTorch Lightning - you can find many tutorials online, e.g. here

Contributing

We welcome contributions to ART! Please check out our contributing guide

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

art_training-0.2.1.tar.gz (96.0 kB view details)

Uploaded Source

Built Distribution

art_training-0.2.1-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

Details for the file art_training-0.2.1.tar.gz.

File metadata

  • Download URL: art_training-0.2.1.tar.gz
  • Upload date:
  • Size: 96.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for art_training-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f3c2c886b6561fbb63ef96e960aedb59e555a7a94b1f05374b59c2bcd6c4cc43
MD5 49091943d754d2e7ad19798465538c20
BLAKE2b-256 fd7f7a9cb70b6ac3e9274672d4647233fe7f41ec6cc47eaa52dcbbad4e415049

See more details on using hashes here.

File details

Details for the file art_training-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: art_training-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for art_training-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4309e9f204b3fb193e198994986345bfb0b6a9379ccb78cf34c8ce381beee0c1
MD5 f5c961492d256b463bca62994d5bec4f
BLAKE2b-256 74a781fd074315740a38b24d3ae75042b806556ee6c6e652ea88f08d275ff1f8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page