FIELD NOTES

LLM Systems

Retrieval, evaluation, and software built around language models.

LLM Systems

2 MIN READ

Exclude padding when mean-pooling token embeddings

Pool included token vectors and divide by their actual count. A synthetic NumPy fixture catches padding-dependent means and rejects empty masks.

2026-10-26