Implementing a language model from scratch is, arguably, the best way to develop an accurate idea of how its engine works. Here, we use torch to code …
torch v0.11.0 is now on CRAN. This release features much-enhanced support for executing JIT operations. We also amended loading of model parameters, a…
torch v0.10.0 is now on CRAN. This version upgraded the underlying LibTorch to 1.13.1, and added support for Automatic Mixed Precision. As an experime…
Currently, in generative deep learning, no other approach seems to outperform the family of diffusion models. Would you like to try for yourself? If s…
torch does not have built-in functionality to do wavelet analysis. But we can efficiently implement what we need, making use of the Fast Fourier Trans…
About the Fourier Transform, it has been said that it is one of the greatest wonders of the universe. At the same time, it can be realized in a mere h…
Get to know torch's linalg module, all while learning about different ways to do least-squares regression from scratch. This post is a condensed versi…
Learn how to classify speech utterances with torch, making use of domain knowledge and deep learning. This post is a condensed version of the correspo…
Sometimes, a software's best feature is the one you've added yourself. This post shows by example why you may want to extend torch, and how to proceed…
We train a model for image segmentation in R, using torch together with luz, its high-level interface. We then JIT-trace the model on example input, s…