A CSS matrix "transform" is the same concept.
Same with tile engines & game dev. Say I wanted to rotate a map:
Input
[
[0, 0, 1],
[0, 0, 0],
[0, 0, 0]
]
Output[
[0, 0, 0],
[0, 0, 0],
[0, 0, 1]
]The function is a "transformer" because it is not looking up some rule that says where to put the new values, it's performing math on the data structure whose result determines the new values.
> Not quite sure about "it's not based on rules" when your code has things like: > > const MATCH_FIRST_MODAL
Totally irrelevant to the topic. This is the chat interface itself which mostly just parses questions into cursors to be completed. You would be a fool to think ChatGPT has no NLP or parts-of-speech analysis. text-ada-embedding itself uses POS.
> Pretty sure your examples in the video are also cherry-picked
Fantastic detective work, you caught me. But just to confirm - why not just use it yourself? npm i next-token-prediction
Here is an example you can run very easily in Chrome, so you don't have to rely solely on your amazing bullshit detector: https://github.com/bennyschmidt/next-token-prediction/tree/m...
Don't forget to log the completions to prove that they aren't broken down by token, and instead just doing key/val lookups or text searches as you said.
> What really happens is, one of the hardcoded regexps transforms it to "Paris is"
The only thing you got right - that questions are transformed into sentences using conventional NLP in order to complete them. This functionality is what makes it a chat bot that you can ask questions.