concept:embeddings

Embeddings

Embeddings in the context of production machine-learning systems.

13

Lessons

Formal explanations, examples, simulations, and checkpoints.

Unsupervised learning, anomalies & retrieval

PCA and representation geometry

Use pca and representation geometry to move the unsupervised & retrieval production brief toward a defensible release.

Unsupervised learning, anomalies & retrieval

Clustering as an operational hypothesis

Use clustering as an operational hypothesis to move the unsupervised & retrieval production brief toward a defensible release.

Unsupervised learning, anomalies & retrieval

Density clusters and novel anomalies

Use density clusters and novel anomalies to move the unsupervised & retrieval production brief toward a defensible release.

Unsupervised learning, anomalies & retrieval

Embeddings and similarity

Use embeddings and similarity to move the unsupervised & retrieval production brief toward a defensible release.

Unsupervised learning, anomalies & retrieval

Approximate retrieval under latency

Use approximate retrieval under latency to move the unsupervised & retrieval production brief toward a defensible release.

Recommendation, search & ranking

From corpus to slate: retrieve, score, re-rank

Use from corpus to slate: retrieve, score, re-rank to move the ranking systems production brief toward a defensible release.

Recommendation, search & ranking

Clicks are not labels

Use clicks are not labels to move the ranking systems production brief toward a defensible release.

Recommendation, search & ranking

BM25, factorization, two towers, and ANN

Use bm25, factorization, two towers, and ann to move the ranking systems production brief toward a defensible release.

Recommendation, search & ranking

Pointwise, pairwise, and listwise ranking

Use pointwise, pairwise, and listwise ranking to move the ranking systems production brief toward a defensible release.

Recommendation, search & ranking

Serving freshness, diversity, and experiments

Use serving freshness, diversity, and experiments to move the ranking systems production brief toward a defensible release.

Build a transformer from scratch

Text to tensors: tokenization, embeddings, position

Use text to tensors: tokenization, embeddings, position to move the transformer from scratch production brief toward a defensible release.

Build a transformer from scratch

Scaled dot-product self-attention by hand

Use scaled dot-product self-attention by hand to move the transformer from scratch production brief toward a defensible release.

Build a transformer from scratch

Heads, norms, residuals, and MLPs

Use heads, norms, residuals, and mlps to move the transformer from scratch production brief toward a defensible release.

0

Casebook

Reported facts and course reconstructions.