Nadir is a library of bleeding-edge DL optimisers built for speed and functionality in PyTorch for researchers
Project description
Nadir
Nadir (pronounced nay-di-ah) is derived from the arabic word nazir, and means "the lowest point of a space". In optimisation problems, it is equivalent to the point of minimum. If you are a machine learning enthusiast, a data scientist or an AI practitioner, you know how important it is to use the best optimization algorithms to train your models. The purpose of this library is to help optimize machine learning models and enable them to reach the point of nadir in the appropriate context.
PyTorch is a popular machine learning framework that provides a flexible and efficient way of building and training deep neural networks. This library, Nadir, is built on top of PyTorch to provide high-performing general-purpose optimisation algorithms.
Table of Contents
Installation
You can either choose to install from the PyPI index, in the following manner:
$ pip install nadir
or install from source, in the following manner:
$ pip install git+https://github.com/Dawn-Of-Eve/nadir.git
Note: Installing from source might lead to a breaking package. It is recommended that you install from PyPI itself.
Simple Usage
import nadir as nd
# some model setup here...
model = ...
# set up your Nadir optimiser
config = nd.SGDConfig(lr=learning_rate)
optimizer = nd.SGD(model.parameters(), config)
# Call the optimizer step
optimizer.step()
Supported Optimisers
Acknowledgements
We would like to thank all the amazing contributors of this project who spent so much effort making this repositary awesome! :heart:
Citation
You can use the Cite this repository button provided by Github or use the following bibtex:
@software{MinhasNadir,
title = {{Nadir: A Library for Bleeding-Edge Optimizers in PyTorch}},
author = {Minhas, Bhavnick and Kalathukunnel, Apsal},
year = 2023,
month = 3,
version = {0.0.2}
}
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 nadir-0.1.0.tar.gz
.
File metadata
- Download URL: nadir-0.1.0.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91114b687be29039b417cf08fea0c5cb42f2fcf0b39e994da398a4680870a0a0 |
|
MD5 | f2984d84f728c2bd57a2746c0f0f21ca |
|
BLAKE2b-256 | 87ea274aba3b3d133d18a7b6db5b7eb80b128bd33f5840785a464ae2317c211c |
Provenance
File details
Details for the file nadir-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: nadir-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ec8ff8d9b4d3d3602090293f820f40cb9a791efb36b4836b1303ea2fd283791 |
|
MD5 | 0d68074d32b953e785d3a29b12ee8dee |
|
BLAKE2b-256 | f2d797269cbe9764e2040c4a211fe1529536edebabb732576e3c7a2ba9780e04 |