Hacker News new | ask | show | jobs
by montebicyclelo 326 days ago
Nice tutorial — the contextual vs static embeddings is the important point; many are familiar with word2vec (static), but contextual embeddings are more powerful for many tasks.

(However, there seems to be some serious back-button / browser history hijacking on this page.. Just scolling down the page appends a ton to my browser history, which is lame.)

1 comments

The culprit seems to be: https://huggingface.co/spaces/hesamation/primer-llm-embeddin...

So someone, at some point, thought this was a feature

I thought that the point of replaceState was precisely to avoid appending elements to the history, and instead replace the most recent one, so I think I must be missing something if that line causes lots of additional history items.