News for hackers. Stuff that matters.
Re:Scaling Transformer to 1M tokens and beyond with RMT by baobabKoodaa on Monday April 24, 2023 @03:29AM (#35684650)
Whoa. How is that possible?
Re:Scaling Transformer to 1M tokens and beyond with RMT by bckr on Monday April 24, 2023 @03:34AM (#35684689)
Yeah, what is being stored that is available between inferences?
Re:Scaling Transformer to 1M tokens and beyond with RMT by mike_hearn on Monday April 24, 2023 @03:55AM (#35684813)
Nothing, if by "inference" you mean single API call. The underlying algorithm starts (very roughly) by processing the prompt into a set of vectors, which are then used repeatedly to generate tokens one after the other. What's meant here is that the act of generating and using those prompt vectors has an effect sort of like regular training. It doesn't mean anything is being written to disk afterwards, though of course you could write those vectors to disk and re-use them. It just doesn't make much sense at the moment. Doing that isn't enough to give you infinite context windows.
Re:Scaling Transformer to 1M tokens and beyond with RMT by sharepower123 on Monday April 24, 2023 @04:18AM (#35684947)
An hypothesis is that in the latent space there is something like a branching factor that can be used in context learning to select the main tree for others layers. So a LLM is able to have the knowledge of many specialized smallers LLM and select the appropriate one by way of giving values to the branching factor. The branching factor could be some combination of attention layers operating in the latent space of previous layers.
Re:Scaling Transformer to 1M tokens and beyond with RMT by meh8881 on Monday April 24, 2023 @08:43AM (#35686939)
Remember the ancient “king - man = queen” word vectors? This is just that but produced by a model rather than manually adding vectors and finding the nearest one.
Re:Scaling Transformer to 1M tokens and beyond with RMT by kgwgk on Monday April 24, 2023 @11:30AM (#35688876)
Depending on what one understands by “new passes through the model” it may not be.