4 ms·
This is just inference. The core at most ML library is the auto differentiation capability. It will be extremely tedious if you are to calculate the gradients m
by SCLeo 4y ago
This is just inference. The core at most ML library is the auto differentiation capability. It will be extremely tedious if you are to calculate the gradients manually. Or, if you implemented your own AD, then it is effectively a minified version of a ML library.
- version_five 4y agollama.cpp/ggml.h // GGML Tensor Library ... // This library implements: // - a set of tensor operations // - automatic differentiation // - basic optimization algorithms
- mhh__ 4y ago> autodiff There's a lot of // TODO: implement backward in there
- version_five 4y agoOk thanks for digging deeper, I didn't realize that, and obviously that invalidates the excerpt I posted above