parrt / tensor-sensor

The goal of this library is to generate more helpful exception messages for matrix algebra expressions for numpy, pytorch, jax, tensorflow, keras, fastai.
https://github.com/parrt/tensor-sensor
MIT License
794 stars 40 forks source link

Not an issue - livepython fyi #37

Closed johndpope closed 2 years ago

johndpope commented 2 years ago

I know notebooks are most popular for ml - but consider there's some that prefer to drop in to command line and run python code. In this case - there's this library that is quite amazing that could potentially be plugged in. https://github.com/agermanidis/livepython

parrt commented 2 years ago

Yes I definitely use the command line with this library. Thanks for the pointer in case people are interested.

johndpope commented 2 years ago

It maybe 10 years from now - but I wish the pytorch team would take this livepython and add it to their roadmap where you could run the training or inference but have(maybe configure/plugin) a digestable simplistic overview / latex - maths and sub disection of the of what's going on under the hood with some kind of ai explanatation of linear algebra. Or said another way - read the pdf papare - show the pytorch code - explain it / bridge the understanding

this code is running lines 50 - 100 - and it's working on this equation in the paper - based off the work of bengio et el (highlight picture of equation).