---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=hugging-face&tag=algorithms"
---

# Posts

Filtered by topics: Algorithms, source: Hugging Face.

Posts 1–17 of 17, page 1 of 1, newest first.

## 2026-09-21

- [tokenizers v1: encode, decode and scaling, measured](https://swe.quest/articles/tokenizers-v1-encode-decode-and-scaling-measured-49d0c7f94c7739e1.md): Hugging Face · 2026-09-21 · Medium · 10 min read · Performance engineering, Rust, LLMs, Algorithms
  tokenizers v1 encodes text 3 to 30 times faster than v0.23 single-threaded on an Apple M4 Max and scales at 76% of linear across eight cores, while producing identical token IDs and keeping the same API.

## 2026-08-17

- [Same Cluster, 33 Points More Utilization: What Changed Was the Order](https://swe.quest/articles/same-cluster-33-points-more-utilization-what-changed-was-the-order-b3fd7e12cbfd3ecc.md): Hugging Face · 2026-08-17 · Hard · 13 min read · Scheduling, ML platforms, Inference & serving, Capacity planning, Algorithms
  A constraint-aware GPU allocator beat a FIFO scheduler on identical hardware and workloads across seven scenarios, raising utilization by up to 33 percentage points and priority-weighted output by up to 105%.

## 2025-07-25

- [Parquet Content-Defined Chunking](https://swe.quest/articles/parquet-content-defined-chunking-87ef6600fb11e475.md): Hugging Face · 2025-07-25 · Medium · 16 min read · Storage systems, Data pipelines, Python, Algorithms
  Parquet Content-Defined Chunking, now available in PyArrow and Pandas via the use\_content\_defined\_chunking option, writes Parquet data pages so that small logical edits produce minimal byte-level differences.

## 2025-07-08

- [Efficient MultiModal Data Pipeline](https://swe.quest/articles/efficient-multimodal-data-pipeline-3f526635f068dafd.md): Hugging Face · 2025-07-08 · Medium · 9 min read · Model training, Data pipelines, Python, Algorithms, Performance engineering
  Data loading, not the model or hardware, was the bottleneck in nanoVLM training: naive pad-to-longest batching wasted roughly 60% of each batch on padding tokens.

## 2024-12-10

- [LeMaterial: an open source initiative to accelerate materials discovery and research](https://swe.quest/articles/lematerial-an-open-source-initiative-to-accelerate-materials-discovery-and-2df2183afcbbdac0.md): Hugging Face · 2024-12-10 · Hard · 10 min read · Scientific computing, Machine learning, Data pipelines, Algorithms, Open source
  LeMat-Bulk unifies Materials Project, Alexandria and OQMD into a single Optimade-formatted dataset of 6.7M entries with 7 properties across PBE, PBESol and SCAN functionals, with subsets for calculation-compatible mixing and de-duplicated materials.

## 2024-11-20

- [From Files to Chunks: Improving HF Storage Efficiency](https://swe.quest/articles/from-files-to-chunks-improving-hf-storage-efficiency-389481ed0fa30735.md): Hugging Face · 2024-11-20 · Medium · 5 min read · Storage systems, Algorithms, Version control, Cost optimization
  Hugging Face's Xet team plans to replace file-level Git LFS storage with content-defined chunking (CDC), where a rolling hash over a sliding window sets variable-size chunk boundaries and chunks are deduplicated in a content-addressed store, so edits only upload and store changed chunks.

## 2024-10-05

- [Improving Parquet Dedupe on Hugging Face Hub](https://swe.quest/articles/improving-parquet-dedupe-on-hugging-face-hub-fceac01ac834bf66.md): Hugging Face · 2024-10-05 · Medium · 5 min read · Storage systems, Analytics & OLAP, Data pipelines, Algorithms
  Byte-level content-defined chunking dedupes Parquet appends almost perfectly: 10,000 appended rows give 99.1% dedupe and need about 20MB of new storage.

## 2024-09-30

- [Converting Vertex-Colored Meshes to Textured Meshes](https://swe.quest/articles/converting-vertex-colored-meshes-to-textured-meshes-e5f0aa9b3b8941f1.md): Hugging Face · 2024-09-30 · Medium · 6 min read · Python, Computer vision, Algorithms
  Vertex-colored meshes, as produced by generative 3D models like InstantMesh, can be converted to UV-mapped textured meshes by generating a UV atlas with xatlas, rasterizing each face into an upscaled texture buffer via point-in-triangle tests and barycentric color interpolation, then cleaning holes with OpenCV inpainting, median filtering, Gaussian blur and LANCZOS downsampling.

## 2023-09-18

- [Introduction to 3D Gaussian Splatting](https://swe.quest/articles/introduction-to-3d-gaussian-splatting-4bae5755704fcc0e.md): Hugging Face · 2023-09-18 · Medium · 6 min read · Computer vision, Machine learning, Algorithms
  3D Gaussian Splatting renders photorealistic scenes in real time by rasterizing millions of gaussians, each with a position, covariance, color and alpha, instead of triangles.

## 2023-05-16

- [Large-scale Near-deduplication Behind BigCode](https://swe.quest/articles/large-scale-near-deduplication-behind-bigcode-db7192844c316bd2.md): Hugging Face · 2023-05-16 · Medium · 18 min read · Data pipelines, Model training, Algorithms, LLMs
  BigCode deduplicates massive code and text corpora for LLM training with MinHash plus locality-sensitive hashing: word n-gram shingles, permuted-hash fingerprints, banding into LSH buckets, then clustering candidate pairs into connected components.

## 2023-01-03

- [Introduction to Graph Machine Learning](https://swe.quest/articles/introduction-to-graph-machine-learning-67c6459102a9edc7.md): Hugging Face · 2023-01-03 · Easy · 13 min read · Machine learning, Algorithms
  Graphs (nodes linked by edges) underpin tasks from molecule generation to recommendation, and learning on them requires permutation-invariant/equivariant models because shuffling an adjacency matrix or edge list yields the same graph.

## 2022-08-05

- [Proximal Policy Optimization (PPO)](https://swe.quest/articles/proximal-policy-optimization-ppo-c85a21363ebb9f11.md): Hugging Face · 2022-08-05 · Hard · 10 min read · Model training, Machine learning, Algorithms
  Proximal Policy Optimization stabilizes policy-gradient training by limiting how far each update moves the policy.

## 2022-08-02

- [Nyströmformer: Approximating self-attention in linear time and memory via the Nyström method](https://swe.quest/articles/nystromformer-approximating-self-attention-in-linear-time-and-memory-via-the-fd6613fb9ac42d67.md): Hugging Face · 2022-08-02 · Hard · 6 min read · LLMs, Machine learning, Algorithms, Python
  Nyströmformer replaces quadratic softmax self-attention with an O(n) approximation built on the Nyström method, which reconstructs a matrix from a sampled subset of its rows and columns via a Moore-Penrose pseudoinverse.

## 2022-07-22

- [Advantage Actor Critic (A2C)](https://swe.quest/articles/advantage-actor-critic-a2c-5b4f17254e3ab304.md): Hugging Face · 2022-07-22 · Medium · 7 min read · Machine learning, Model training, Algorithms
  Actor-Critic methods reduce the high variance of Monte-Carlo policy-gradient estimates in Reinforce by pairing a policy network (Actor) with a value network (Critic) that scores the actions taken.

## 2022-05-20

- [An Introduction to Q-Learning Part 2/2](https://swe.quest/articles/an-introduction-to-q-learning-part-2-2-2282a7e5e80bee59.md): Hugging Face · 2022-05-20 · Medium · 9 min read · Machine learning, Model training, Algorithms
  Q-Learning is an off-policy, value-based reinforcement learning algorithm that uses temporal-difference updates to train a Q-table of state-action values, from which the optimal policy follows directly.

## 2022-05-18

- [An Introduction to Q-Learning Part 1](https://swe.quest/articles/an-introduction-to-q-learning-part-1-02c8621463858d6d.md): Hugging Face · 2022-05-18 · Medium · 13 min read · Machine learning, Model training, Algorithms
  Value-based reinforcement learning methods learn a state-value or action-value function and derive the policy from it, typically a greedy or epsilon-greedy policy, rather than training the policy directly.

## 2021-03-31

- [Understanding BigBird's Block Sparse Attention](https://swe.quest/articles/understanding-bigbird-s-block-sparse-attention-c6890f38de755efc.md): Hugging Face · 2021-03-31 · Hard · 18 min read · LLMs, Machine learning, Algorithms, Performance engineering
  BigBird replaces BERT's quadratic full attention with block sparse attention, which combines sliding-window, global and random attention to approximate full attention at linear cost.

Same list as RSS: [https://swe.quest/feed.xml?source=hugging-face&tag=algorithms](https://swe.quest/feed.xml?source=hugging-face&tag=algorithms). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
