AI · Latest articles

12 new today · 776 articles · from 22 blogs

Lil'Log·

How to Train Really Large Models on Many GPUs?

[Updated on 2022-03-13: add expert choice routing.] [Updated on 2022-06-10]: Greg and I wrote a shorted and upgraded version of this post, published on OpenAI Blog: “Techniques for Training Large Neural Networks”

Lil'Log·

What are Diffusion Models?

AI summaryThis article is an in-depth tutorial on diffusion models, a class of generative models in machine learning. It has been periodically updated from 2021 to 2024 to incorporate recent advances, including score-based generative modeling, classifier-free guidance, text-to-image systems like GLIDE, unCLIP and Imagen, latent diffusion models, progressive distillation, consistency models, and model architecture details. The piece is grounded in key research papers from the field, referencing works by prominent authors such as Yang Song.

Andrej Karpathy·

A from-scratch tour of Bitcoin in Python

AI summaryThe article presents a from-scratch, zero-dependency implementation of Bitcoin in pure Python, with the goal of creating, digitally signing, and broadcasting a Bitcoin transaction. The author walks through generating a cryptographic identity using Elliptic Curve Cryptography on the secp256k1 curve, including deriving private/public keypairs and implementing elliptic curve addition with the double-and-add algorithm. Finally, the post begins implementing hash functions like SHA-256 in pure Python rather than using libraries, in order to derive the Bitcoin wallet address.

Lil'Log·

Contrastive Representation Learning

AI summaryContrastive representation learning aims to build an embedding space where similar sample pairs stay close together while dissimilar pairs are far apart. It can be applied in both supervised and unsupervised settings. In unsupervised scenarios, it is one of the most powerful approaches within self-supervised learning.