Luke Salamone's Blog

https://lukesalamone.github.io

A technical blog exploring machine learning, deep learning architectures, data structures, and systems programming with in-depth implementations.

Luke Salamone's Blog

Entries

  • Space Is Really Big

    More than 30 earths could fit between the earth and the moon. Our elementary school models of the solar system really...

  • Custom PyTorch Collate Function

    If your Dataset class looks something like class MyDataset(Dataset): # ... boilerplate ... def __getitem__(self, idx)...

  • Custom PyTorch Collate Function

    If your Dataset class looks something like class MyDataset(Dataset): # ... boilerplate ... def __getitem__(self, idx)...

  • Very Large Datasets in PyTorch

    In God we trust. All others must bring data. ~ W. Edwards Deming Datasets that fit in memory For simple machine learn...

  • Very Large Datasets in PyTorch

    In God we trust. All others must bring data. ~ W. Edwards Deming Datasets that fit in memory For simple machine learn...

  • How to Create Rust Python Bindings

    Rust is super fast. Python is super flexible. Porting slow python code to rust can make your life a lot easier, and i...

  • How to Create Rust Python Bindings

    Rust is super fast. Python is super flexible. Porting slow python code to rust can make your life a lot easier, and i...

  • The Most Ramified Chess Position of 2023

    I spent some time considering words to describe a chess position with many legal moves. “Complex” doesn’t quite captu...

  • The Most Ramified Chess Position of 2023

    I spent some time considering words to describe a chess position with many legal moves. “Complex” doesn’t quite captu...

  • What are Sparse Autoencoders?

    MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ['\\(','\\)']], displayMath: [['$$','$$'], ['\[','\]']], proc...

  • What are Sparse Autoencoders?

    MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ['\\(','\\)']], displayMath: [['$$','$$'], ['\[','\]']], proc...

  • How does HNSW work?

    Suppose we have a vector database with a billion items in it (the haystack). And suppose we are looking for K vectors...

  • How does HNSW work?

    Suppose we have a vector database with a billion items in it (the haystack). And suppose we are looking for K vectors...

  • Learning the Haystack

    MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ['\\(','\\)']], displayMath: [['$$','$$'], ['\[','\]']], proc...

  • Learning the Haystack

    MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ['\\(','\\)']], displayMath: [['$$','$$'], ['\[','\]']], proc...

  • Vectorized K-Means Clustering

    K-means clustering (previous discussion) is an unsupervised learning algorithm which assigns points to one of K diffe...

  • Vectorized K-Means Clustering

    K-means clustering (previous discussion) is an unsupervised learning algorithm which assigns points to one of K diffe...

  • Summary: Deep & Cross Net v2

    Paper link: https://arxiv.org/pdf/2008.13535 Learning to rank is an important problem in many machine-learning produc...

  • Summary: Deep & Cross Net v2

    Paper link: https://arxiv.org/pdf/2008.13535 Learning to rank is an important problem in many machine-learning produc...

  • What is a blunder in chess?

    What is a blunder in chess? The tension between the qualitative and quantitative answers to this question is at the h...