Skip to main content

Nadir is a library of bleeding-edge DL optimisers built for speed and functionality in PyTorch for researchers

Project description

Nadir

Nadir (pronounced nay-d-ah) is derived from the arabic word nazir, means the lowest point of a space and is the opposite of the word zenith. In optimisation terms, it is equivalent to the point of minima. And making the machine learning model reach that point of Nadir under optimisation is the purpose of this library.

This library is built on top of PyTorch to provide high-performing general-purpose optimisation algorithms.

Supported Optimisers

Optimiser Paper
SGD
Adam

Installation

Currently, Nadir is not on the PyPi packaging index, so you would need to install it from source.

To install Nadir into your python environment, paste the commands in your terminal:

$ pip install nadir

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)

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

nadir-0.0.1.dev1.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

nadir-0.0.1.dev1-py3-none-any.whl (10.1 kB view hashes)

Uploaded Python 3

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