Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

low quant weights make the embedding model lose all discriminative power. I plotted the cosine correlation matrix of jina-v5, and one can see that low quant makes the model really blind. The off-diagonal similarities are pretty high on Q1/2/3, meaning everything looks similar in the semantic space. Q4 is...

63,134 Aufrufe • vor 6 Monaten •via X (Twitter)

19 Kommentare

Profilbild von deep Manifold
deep Manifoldvor 6 Monaten

once high order nonlinearity and discontinuous is truly understood, quantization is dead end.

Profilbild von dazzafact
dazzafactvor 6 Monaten

Why not use a form of "WebP" Like compression instead of "JPEG"-like?

Profilbild von Han Xiao
Han Xiaovor 6 Monaten

damn u r right!

Profilbild von Yug Shende
Yug Shendevor 6 Monaten

Q8 is gonna become the new FLAC. It’s not gonna benefit most and yet some will swear by it.

Profilbild von Pabli! 🌿 💥💫
Pabli! 🌿 💥💫vor 6 Monaten

the best visualization of quantization that i've seen

Profilbild von Ping He
Ping Hevor 6 Monaten

My guess is the results you are seeing has more to do with the specific quantization method. The type of quant you can run on GGUF are "toy" quantization, they are not sota, and do not reflect non-linear quant frameworks, there is an ocean out there

Profilbild von Doxy
Doxyvor 6 Monaten

exactly why i stopped trusting q2 for anything that isn't a toy, just switched to llama.cpp with -q4_0 and the retrieval latency dropped while accuracy stayed solid honestly if your vectors look like soup you're either quanting too hard or using a model that was never meant to

Profilbild von High Jack
High Jackvor 6 Monaten

Nice viz. Q4's the floor for embeddings. Below that, you're just burning compute on semantic noise.

Profilbild von kodee
kodeevor 6 Monaten

I’m writing a paper about this right now. The effects of floating point non determinism on quantization

Profilbild von Logan Bolton
Logan Boltonvor 6 Monaten

Love this visualization!

Profilbild von Chahid Chirchi
Chahid Chirchivor 6 Monaten

yeah low quant kills the separation, those matrices look rough!!

Profilbild von Jason McGhee
Jason McGheevor 6 Monaten

Would love to see this coloration on a logarithmic scale. In my personal experience the Q8_0 is a significantly more stable and generally higher quality experience.

Profilbild von Sense
Sensevor 6 Monaten

Interesting. For me I see it like topographic map. 4-bit gives you 16 elevations.. that's where you can really start to contrast outliers from the near zeros etc.

Profilbild von ethantsliu
ethantsliuvor 6 Monaten

very cool!

Profilbild von Martin Skorunka
Martin Skorunkavor 6 Monaten

For me it would be very informative how the situation looks between q3_k_xl and something like iq4_k_xs.

Profilbild von Tom Dörr
Tom Dörrvor 6 Monaten

Correlations between what?

Profilbild von Han Xiao
Han Xiaovor 6 Monaten

Same 1k sentences -> diff quants weights -> 1k embeddings -> Cos(1k,1k)

Profilbild von KeenZ😶‍🌫️
KeenZ😶‍🌫️vor 6 Monaten

A very intuitive demonstration, fantastic!

Profilbild von gabor
gaborvor 6 Monaten

why would higher weight similarity imply 'blindness'? obviously at Q1 weights are either fully or zero correlated, and quant necessarily shifts toward higher correlation. Doesn't mean multiple non-linear stacked layers with high correlation don't retain useful patterns.

Ähnliche Videos