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
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.0.1.dev1.tar.gz
.
File metadata
- Download URL: nadir-0.0.1.dev1.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6078c901cff6e8e507d866367fd666e671a76cecaa353cd0e4c019610d48973 |
|
MD5 | be61678d16ab9f686f658e187c855f5e |
|
BLAKE2b-256 | e634633731db1bcd9985b304439094d8cc35f94615f6e557c80c0be4d038e3eb |
Provenance
File details
Details for the file nadir-0.0.1.dev1-py3-none-any.whl
.
File metadata
- Download URL: nadir-0.0.1.dev1-py3-none-any.whl
- Upload date:
- Size: 10.1 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 | c283954f4de09f355319fd5336576583a9e47995c63418f5c21221a555f40dce |
|
MD5 | 0f8d3f5b7a354ecf5040fa3fe09333aa |
|
BLAKE2b-256 | 68e6e3da166a60ddead8c6a68f7c588a30eb1162cef33b9b3fe37bca780cda7d |