Wanted to build something. Got inspired after an interview.
> First RAG Project
> First full-fledged working frontend+backend+retrieval
Fun way to practice for interviews. Just working for now as v1. Will improve v2, one-upping ChatGPT with persistent memory and personalization
Update:
DL Comms Project - Results of encoder-decoder were getting skewed towards 0 as the training dataset was mostly skewed to 0, so doing standardization/normalization helped.
Large Concept Models: Language Modeling in a Sentence Representation Space
This new paper from Meta introduces a very interesting, novel approach to language modeling.
Rather than doing prediction of the next subword token, focus on generating the next concept, which is represented by a sentence.
Effectively, the model operates over sentence embeddings. Here, the pretrained SONAR sentence embeddings are used. Text is encoded by SONAR, passed into the model, the next SONAR sentence embeddings are generated, and are decoded back to text.
Various variants for the model itself are explored. This includes a standard decoder-only autoregressive Transformer, different diffusion model archs, and autoregressive quantized archs. The diffusion model archs seem to perform best and were scaled up to 7B and were comparable to Llama-3.1-8B and other ~7B LLMs for summarization and summary expansion tasks.
Update:
1. Been working on an encoder-decoder model for the above project which was not training at all.
Problem found : Wrong activation function.
2.The results got better with changing the batch size.
Still improvement is needed.