You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-7Lines changed: 20 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8,21 +8,22 @@
8
8
9
9
**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.
10
10
11
-
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.
11
+
**Nadir** follows the principles of Simplicity, Modularity and Composabilty. Read more in the [Core Philosophy](#core-philosophy) section.
12
12
13
-
# Table of Contents
13
+
##Table of Contents
14
14
15
15
-[Nadir](#nadir)
16
16
-[Table of Contents](#table-of-contents)
17
17
-[Installation](#installation)
18
18
-[Simple Usage](#simple-usage)
19
+
-[Core Philosphy](#core-philosophy)
19
20
-[Supported Optimisers](#supported-optimisers)
20
21
-[Acknowledgements](#acknowledgements)
21
22
-[Citation](#citation)
22
23
23
24
24
25
25
-
# Installation
26
+
##Installation
26
27
27
28
You can either choose to install from the PyPI index, in the following manner:
`Nadir` was built to provide a sense of uniformity and integration that might be lacking in the optimisation community, based on the simple idea that optimisers are not islands. They are usually inheriting characteristics from other optimisers and they provide inspiration to other optimisers. So why not make optimisers inheritable, composible and modular objects?
59
+
60
+
The core concepts that each optimiser in `Nadir` follows are:
61
+
62
+
1.**Simplicity** is of key importance. We prefer readability and simplicity over performance. Experiment, test and verify what works and what does not with Nadir. Optimise and write custom fused kernels for your favorite optimisers after, for performance.
63
+
64
+
2.**Modularity** means that the each new optimiser should minimise on the extra new logic added by adding or editing only the parts that need editing. If you want to have a different momentum in Adam, you only change the function of Momentum after inheriting Adam. No need to write the entire code from scratch.
65
+
66
+
3.**Composibility** implies that we can take things from one optimiser and add them to another without much effort. You can build a optimiser that is the mix of RAdam and NAdam with the properties of AdaBelief, if you so desire! That's what makes this library really powerful.
0 commit comments