Skip to main content

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

Project description

NADIRbanner2

Nadir

PyPI - Downloads GitHub commit activity GitHub Repo stars Twitter Follow

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.

:warning: Currently in Developement Beta version with every update having breaking changes; user discreation and caution advised! :warning:

Supported Optimisers

Optimiser Paper
SGD https://paperswithcode.com/method/sgd
Momentum https://paperswithcode.com/method/sgd-with-momentum
Adagrad https://www.jmlr.org/papers/volume12/duchi11a/duchi11a.pdf
RMSProp https://paperswithcode.com/method/rmsprop
Adam https://arxiv.org/abs/1412.6980v9
Adamax https://arxiv.org/abs/1412.6980v9
Adadelta https://arxiv.org/abs/1212.5701v1

Installation

Nadir is on the PyPi packaging Index! :partying_face:

Simply run the following command on your terminal and start using Nadir now!

$ 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.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

nadir-0.0.1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file nadir-0.0.1.tar.gz.

File metadata

  • Download URL: nadir-0.0.1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for nadir-0.0.1.tar.gz
Algorithm Hash digest
SHA256 45b0108bf031fd639e3895af9e9a45300609bbbfba12f60b24bb2971999bdf32
MD5 bc7b98028e5852930e934b5c8525195b
BLAKE2b-256 169b58ddb77fa3ee0b985df2d409670ac83b05122e6176161c25f72992a39f17

See more details on using hashes here.

Provenance

File details

Details for the file nadir-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: nadir-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for nadir-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c5b4c3aafc9dddc4442f567e5c6da97e8c5d14e06af61a806257758fcad7357
MD5 371e4287c01f98ee350b5e71caf2d0f1
BLAKE2b-256 dd0c73d598cbf403ee3dcaf09c90cc37dfbdc2ec8a38f256707b0591553ffa63

See more details on using hashes here.

Provenance

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