Why Nostr? What is Njump?
2025-04-24 01:57:24
in reply to

liminal on Nostr: Yeah, pretty easy to explain actually. There's a ton of embedding models that you can ...

Yeah, pretty easy to explain actually. There's a ton of embedding models that you can work with off the shelf if you'd rather not train yourself (can find them on huggingface, a repository of AI models).
Words go in -> numbers come out.
Your vocabulary of words/tokens gets assigned some number values and the training task is to predict some part about the group of words you've been assigned
1) I've masked word or set of words with a blank value, predict the words.
2) predict the next n tokens
etc.

the performance depends on the task and the data it was trained on, but the result is you get a bunch of numbers that you can compare through a bunch of distance metrics. Grab a bunch of text with vectors assigned to them and you ask "which text is closest to this thext i care about", which is some K-nearest neighbors algorithm


Author Public Key
npub1m3xdppkd0njmrqe2ma8a6ys39zvgp5k8u22mev8xsnqp4nh80srqhqa5sf