← All models · Multilingual MiniLM

Wild · feature-extraction · WASM

Cluster mixed languages by meaning

Something you couldn't do before this ran in a browser: dump a heap of sentences in a jumble of languages and cluster them by topic. A monolingual model would just sort them into language piles. This one groups the French, Japanese and English sentences about the same thing together — the clusters ignore language entirely.

Cluster it

One sentence per line, languages mixed. The default set has three topics (weather, cooking, football) each written across several languages, deliberately shuffled.

Clusters

2D map — colour = cluster, flag = language

Next: Multi-model — retrieve then translate the hit →