🤗 I've released Sentence Transformers v6.3 and wrote a blogpost about its key new feature: token pooling-aware training, teaching multi-vector models to preserve retrieval quality with fewer document vectors. Details: Multi-vector models keep a vector per token, letting different query tokens match different parts of a document. Great for retrieval, but those vectors add up! Token pooling makes the representations smaller by merging similar document vectors into cluster means. Pooling-aware training teaches the encoder to preserve useful matches after those vectors are merged. With MultiVectorTokenPoolingLoss, you can wrap your standard retrieval loss to train on both full and pooled representations, reusing the same token embeddings without another encoder pass. In short: small overhead. I trained two ModernBERT-base models on the same 120k MS MARCO triplets, changing just the loss. At ~49 vectors per document instead of 193, pooling-aware training raises NanoBEIR@13 mean nDCG@10 from 49.03 to 51.23. That's 97.8% of its own unpooled score with ~4x fewer document vectors, compared with 94.6% retention for ordinary training. v6.3 also adds: - Adaptive token budgets, allocating vectors according to each document's content - Matryoshka training for shorter multi-vector token embeddings - Hugging Face kernels support for MaxSim, Ward clustering & supported transformers layers - Native AWS Neuron inference You can combine pooling-aware and Matryoshka training to learn both fewer vectors and fewer dimensions, then stack these with quantization to reduce storage per coordinate. For kernels, install sentence-transformers[kernels] and set use_kernels=True. The blog walks through the method, training code, checkpoints & evaluation, building on Stefan Josef's Learn to Pool and LightOn's pooling regularization work: ht tps://huggingface.co/blog/token-pooling I'd love to see what you train with this!
Can a network whose trunk is only XOR, table lookups and integer adds learn Connect Four? Partly. I trained a GF(2⁸) integer model (8.4M params, CPU-only) on 320k games labelled by a negamax search teacher. What it learned: • agrees with the teacher on 59.6% of training / 41.0% of board-disjoint holdout positions • beats a random player 85.2% of the time What it didn't: • loses to a 1-ply "win now / block now" rule (wins 37.2%) • loses to 2-ply lookahead (wins 24.3%) Agreeing with a teacher is not the same as playing well, and this release measures both. Caveat up front: the float32 read-out is 99.6% of the parameters. The trunk is float-free; the full model isn't yet. The repo also documents six bugs that each produced a plausible but wrong number. In one, 41% of the supervision was silently all-zero. 🎮 Play: Chris4K/connect-four-gf256 (Space) 🧠 Model: Chris4K/connect-four-gf256 📦 Dataset: Chris4K/connect-four-gf256 320k games + per-ply targets, MIT 💻 Code + paper: https://github.com/Ckal/connect-four-gf256 Feedback welcome, especially: which baseline would convince you?