Library for Continual Learning for Practitioners
Project description
Renate: Automatic Neural Networks Retraining and Continual Learning in Python
Renate is a Python package for automatic retraining of neural networks models. It uses advanced Continual Learning and Lifelong Learning algorithms to achieve this purpose. The implementation is based on PyTorch and Lightning for deep learning, and Syne Tune for hyperparameter optimization.
Quick links
Install renate with pip install renate or look at these instructions
Examples for local training and training on Amazon SageMaker.
Who needs Renate?
In many applications data is made available over time and retraining from scratch for every new batch of data is prohibitively expensive. In these cases, we would like to use the new batch of data provided to update our previous model with limited costs. Unfortunately, since data in different chunks is not sampled according to the same distribution, just fine-tuning the old model creates problems like catastrophic forgetting. The algorithms in Renate help mitigating the negative impact of forgetting and increase the model performance overall.
Renate also offers hyperparameter optimization (HPO), a functionality that can heavily impact the performance of the model when continuously updated. To do so, Renate employs Syne Tune under the hood, and can offer advanced HPO methods such multi-fidelity algorithms (ASHA) and transfer learning algorithms (useful for speeding up the retuning).
Key features
Easy to scale and run in the cloud
Designed for real-world retraining pipelines
Advanced HPO functionalities available out-of-the-box
Open for experimentation
Resources
Cite Renate
@misc{renate2023, title =
{Renate: A Library for Real-World Continual Learning}, author ={Martin Wistuba and Martin Ferianc and Lukas Balles and Cedric Archambeau and Giovanni Zappella}, year ={2023}, eprint ={2304.12067}, archivePrefix ={arXiv}, primaryClass ={cs.LG}}
What are you looking for?
- Installation Instructions
pip install renate
If you did not find what you were looking for, open an issue and we will do our best to improve the documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Renate-0.2.1.tar.gz
.
File metadata
- Download URL: Renate-0.2.1.tar.gz
- Upload date:
- Size: 176.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9955a232e8a18b7ed7327452419dedeabca44a53cbd9f282c6fd6dc68c10ade |
|
MD5 | 7b66ac1439bcc2d873b51fc0f8dbd33b |
|
BLAKE2b-256 | 285f097fca87c7bb31fa3e3f9e6986ded07f572703bfa4d69cdb5dcf8d6752c8 |
File details
Details for the file Renate-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: Renate-0.2.1-py3-none-any.whl
- Upload date:
- Size: 124.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb68d881157ab3379bc6afad82952e90aed831dd6cb3cc6a548f456441be84a6 |
|
MD5 | c85e8b4d0cdd718b3bfb685519d0db57 |
|
BLAKE2b-256 | 6d65e7ce1ce0cbb83f43b2670ef3038ce175f37015eb0db9819a291cc5aae2c4 |