<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Data Machina]]></title><description><![CDATA[A weekly deep dive into the latest AI / ML research, projects & repos. ]]></description><link>https://datamachina.substack.com</link><image><url>https://substackcdn.com/image/fetch/$s_!7Qwl!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F212c16cd-1315-43b1-9dda-6e09235ce41d_1006x1006.png</url><title>Data Machina</title><link>https://datamachina.substack.com</link></image><generator>Substack</generator><lastBuildDate>Sat, 08 Aug 2026 05:29:42 GMT</lastBuildDate><atom:link href="https://datamachina.substack.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Data Machina]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[datamachina@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[datamachina@substack.com]]></itunes:email><itunes:name><![CDATA[Carlos]]></itunes:name></itunes:owner><itunes:author><![CDATA[Carlos]]></itunes:author><googleplay:owner><![CDATA[datamachina@substack.com]]></googleplay:owner><googleplay:email><![CDATA[datamachina@substack.com]]></googleplay:email><googleplay:author><![CDATA[Carlos]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Data Machina #262]]></title><description><![CDATA[Mistral NeMo 12B SOTA. Standford TexGrad. Patch-Level Training. Stanford STORM. State of Open AI. State of Txt2SQL. 450 Real World ML Systems. Convolutional Kernel Networks. EV-5 Universal Embeddings]]></description><link>https://datamachina.substack.com/p/data-machina-262</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-262</guid><dc:creator><![CDATA[Carlos]]></dc:creator><pubDate>Tue, 23 Jul 2024 10:45:18 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/7ac460d2-4c13-4a1d-b64e-60aa689afa0c_1450x930.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Hoping the AI Agents would show up and help. </strong> But after the humans in charge evaporated, the AI Agents never arrived. 3 flights cancelled. 30 hours stranded in Gatwick. No personalised online help, no chatbot assistants, no cash from the ATM, no ccard payments, no flights to escape from hell. Being human is about feeling useless and impotent when 1,000s of machines fail in chain because a little s/w update went haywire. I wonder what will happen when in a few years -inevitably- billions of AI Agents operating out in the wild decide to go on strike. In the meantime, trying to catch up with a few things that popped up in my AI radar.</p><p><a href="https://mistral.ai/news/mistral-nemo/?utm_source=ainews&amp;utm_medium=email&amp;utm_campaign=ainews-mini-nemo-turbo-lite-smol-models-go-brrr">Mistral NeMo 12B SOTA Model</a>. A state-of-the-art 12B, multi-lingual model with 128k context length, built in collaboration with NVIDIA, and released under the Apache 2.0 license. The weights for the <a href="https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407">base and the instruct model versions are hosted in Hugging Face</a>.  Some community members have raised questions about the accuracy of its reported benchmarks, particularly in comparison to models like Llama 3 8B.</p><p><a href="https://arxiv.org/abs/2406.07496">Stanford TextGrad: Automatic "Differentiation" via Text</a>.  A new, powerful framework for performing automatic &#8220;differentiation&#8221; via text. TextGrad backpropagates textual feedback provided by LLMs to improve individual components of <a href="https://www.databricks.com/glossary/compound-ai-systems">a compound AI system</a>. TexGrad improves zero-shot capabilities of LLMs significantly across many applications.</p><p><a href="https://arxiv.org/abs/2407.12665?">Tencent Patch-level Training</a>. This paper introduces a new technique that address the issue of LLM token-training: the huge computational costs due to processing 10s of billions of tokens. Patch-level training reduces the sequence length by compressing multiple tokens into a single patch, and then the model is trained to predict the next patch. Patch-level training can reduce overall computational costs to 0.5&#215;,</p><p><a href="https://huggingface.co/learn/computer-vision-course/unit0/welcome/welcome?utm_source=ainews&amp;utm_medium=email&amp;utm_campaign=ainews-mini-nemo-turbo-lite-smol-models-go-brrr">[free] Computer Vision Course</a>. This new, Hugging Face community-driven course covers everything from the basics to the latest advancements in computer vision. It&#8217;s structured to include various foundational topics, making it friendly and accessible for everyone. </p><p><a href="https://storm-project.stanford.edu/research/storm/">Stanford STORM Long-form, Wikipedia-like generative writing and Q&amp;A</a>. A new, open-source,  generative writing system for writing grounded and organised long-form articles from scratch, with comparable breadth and depth to Wikipedia pages. STORM models the pre-writing stage by (1) discovering diverse perspectives in researching a given topic, (2) simulating conversations where writers carrying different perspectives pose questions to a topic expert grounded on trusted Internet sources, (3) curating the collected information to create an outline.</p><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://docs.google.com/presentation/d/1CttTGFOGJ3_Ru4C4YKtTdZw1n7086YfsZV_YBI2W5K8/edit#slide=id.p1">State of Open AI, Jul 2024</a></p></li><li><p><a href="https://blog.premai.io/state-of-text2sql-2024/">State of Text2SQL, Jul 2024</a></p></li><li><p><a href="https://adamkarvonen.github.io/machine_learning/2024/03/20/chess-gpt-interventions.html">Manipulating Chess-GPT's World Model</a></p></li><li><p><a href="https://www.latent.space/p/mar-jun-2024">The Winds of AI Winter. The Vibes Have Shifted</a></p></li><li><p><a href="https://arxiv.org/abs/2407.12220">43 Questionable Practices in Machine Learning </a></p></li><li><p><a href="https://www.sigarch.org/tiny-machine-learning-the-future-of-ml-is-tiny-and-bright/">TinyML: Why the Future of ML is Tiny and Bright</a></p></li><li><p><a href="https://modal.com/blog/fine-tuning-embeddings">Beating Proprietary AI Models with a Quick Fine-Tune</a></p></li><li><p><a href="https://www.aisongcontest.com">The AI Song Contest 2024: Calling for Applications </a></p></li><li><p><a href="https://www.evidentlyai.com/ml-system-design">A List of 450 Real-World ML Systems from 100+ Companies</a></p></li><li><p><a href="https://div.beehiiv.com/p/knowledge-graphs-graphrag-advanced-intelligent-data-retrieval">From Knowledge Graphs to GraphRAG: Advanced Intelligent Data Retrieval</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://github.com/ComposioHQ/composio">Composio - Production Ready Toolset for AI Agents</a></p></li><li><p><a href="https://neuml.github.io/txtai/">All-in-one Embeddings DB for Semantic Search, LLM orchestration</a></p></li><li><p><a href="https://github.com/microsoft/Olive">MSFT Olive - A Model Optimisation Tool with Industry-leading Techniques </a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://www.youtube.com/watch?v=ZAO6y_oJtFA">Street Fighting Transformers</a></p></li><li><p><a href="https://logb-research.github.io/blog/2024/ckn/">Kernel Tricks - Convolutional Kernel Networks</a></p></li><li><p><a href="https://physics.allen-zhu.com/home">[free tutorial] The Physics of Language Models</a></p></li></ol><h3><strong>AI/ DL ResearchDocs </strong></h3><ol><li><p><a href="https://github.com/kongds/E5-V">E5-V: Universal Embeddings with Multimodal LLMs (paper, repo)</a></p></li><li><p><a href="https://imagdressing.github.io">IMAGDressing-v1 : Customisable Virtual Dressing (paper, demo, repo)</a></p></li><li><p><a href="https://arxiv.org/abs/2407.10930">Fine-Tuning and Prompt Optimisation: 2 Great Steps that Work Better Together</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://radiostud.io/different-approaches-to-model-compression/">Different Approaches to Model Compression</a></p></li><li><p><a href="https://medium.com/stackademic/revolutionizing-feature-engineering-how-we-built-a-lean-feature-store-with-dbt-snowflake-and-18514d033e6a">How We Built a +2K Features Store with DBT, Snowflake &amp; MySQL</a></p></li><li><p><a href="https://lo-victoria.com/implementing-cicd-pipelines-with-github-actions-for-mlops">Implementing CI/CD Pipelines with GitHub Actions for MLOps</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://oakdataset.org">OAK - A 500M+ Token Dataset Generated by SOTA LLMs</a></p></li><li><p><a href="https://dahlian00.github.io/PetFacePage/">PetFace: A Large-Scale Dataset for Animal Identification</a></p></li><li><p><a href="https://huggingface.co/datasets/HuggingFaceM4/Docmatix">DocMatix - A Massive Dataset for Document Visual Question Answering</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-262?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-262?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-262?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://x.com/alg0agent">@alg0agent</a> in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #261]]></title><description><![CDATA[Generative AI + Time-series Forecasting? The AI Agent Engineer. An Agentic Architecture? What's Arena Learning? AlphaFold3 Visualised. GraphRAG + Neo4j. Internet of Agents. Memory3 for LLMs.]]></description><link>https://datamachina.substack.com/p/data-machina-261</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-261</guid><dc:creator><![CDATA[Carlos]]></dc:creator><pubDate>Mon, 15 Jul 2024 07:29:30 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ca8ed76-d643-49ec-b636-6862b25b61e5_2030x882.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Generative AI + Time-Series Forecasting? </strong>Many world-class organisations are starting to invest in new GenAI+TS forecasting methods that involve for example: developing new specialised VAEs, using Vision-Language Models, pre-training the model with trillions of TS data points, or incorporating text embedding and tokenisation into the TS forecasting method. Checkout these 6 very recent, interesting papers that show the impressive, rapid evolution in this area.</p><p><strong>Re-programming LLMs for time-series modelling</strong>. This a great post about how researchers are trying to align the information gap between time series and natural language from every perspective of training a LLM. Re-programming a LLM for time series modelling is similar to fine-tuning it for a specific domain. This involves several key steps like: tokenisation, base model selection, prompt engineering, and defining the training paradigm. Blogpost: <a href="https://towardsdatascience.com/time-series-are-not-that-different-for-llms-56435dc7d2b1">Time Series Are Not That Different for LLMs</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!woMz!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61b68776-575b-41a3-984f-51717cd3c056_2406x904.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!woMz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61b68776-575b-41a3-984f-51717cd3c056_2406x904.png 424w, https://substackcdn.com/image/fetch/$s_!woMz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61b68776-575b-41a3-984f-51717cd3c056_2406x904.png 848w, https://substackcdn.com/image/fetch/$s_!woMz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61b68776-575b-41a3-984f-51717cd3c056_2406x904.png 1272w, https://substackcdn.com/image/fetch/$s_!woMz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61b68776-575b-41a3-984f-51717cd3c056_2406x904.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!woMz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61b68776-575b-41a3-984f-51717cd3c056_2406x904.png" width="500" height="187.8434065934066" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/61b68776-575b-41a3-984f-51717cd3c056_2406x904.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:547,&quot;width&quot;:1456,&quot;resizeWidth&quot;:500,&quot;bytes&quot;:961631,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!woMz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61b68776-575b-41a3-984f-51717cd3c056_2406x904.png 424w, https://substackcdn.com/image/fetch/$s_!woMz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61b68776-575b-41a3-984f-51717cd3c056_2406x904.png 848w, https://substackcdn.com/image/fetch/$s_!woMz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61b68776-575b-41a3-984f-51717cd3c056_2406x904.png 1272w, https://substackcdn.com/image/fetch/$s_!woMz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61b68776-575b-41a3-984f-51717cd3c056_2406x904.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p><strong>JPMorgan - Lightweight SOTA TS classification with an embedding model</strong>. This paper introduces LETS-C, a new method that addresses the issue of fine-tuning with millions of trainable parameters. The method utilises a language embedding model to embed time series and then pair the embeddings with a simple classification head composed of CNNs and MLP. LETS-C outperforms the current SOTA in TS classification accuracy but also offers a lightweight solution, using only 14.5% of the trainable parameters on average compared to the SOTA model. Paper: <a href="https://arxiv.org/abs/2407.06533">LETS-C: Leveraging Language Embedding for Time Series Classification</a>. </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bno7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ca8ed76-d643-49ec-b636-6862b25b61e5_2030x882.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bno7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ca8ed76-d643-49ec-b636-6862b25b61e5_2030x882.png 424w, https://substackcdn.com/image/fetch/$s_!bno7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ca8ed76-d643-49ec-b636-6862b25b61e5_2030x882.png 848w, https://substackcdn.com/image/fetch/$s_!bno7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ca8ed76-d643-49ec-b636-6862b25b61e5_2030x882.png 1272w, https://substackcdn.com/image/fetch/$s_!bno7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ca8ed76-d643-49ec-b636-6862b25b61e5_2030x882.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bno7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ca8ed76-d643-49ec-b636-6862b25b61e5_2030x882.png" width="480" height="208.6813186813187" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5ca8ed76-d643-49ec-b636-6862b25b61e5_2030x882.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:633,&quot;width&quot;:1456,&quot;resizeWidth&quot;:480,&quot;bytes&quot;:245479,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!bno7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ca8ed76-d643-49ec-b636-6862b25b61e5_2030x882.png 424w, https://substackcdn.com/image/fetch/$s_!bno7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ca8ed76-d643-49ec-b636-6862b25b61e5_2030x882.png 848w, https://substackcdn.com/image/fetch/$s_!bno7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ca8ed76-d643-49ec-b636-6862b25b61e5_2030x882.png 1272w, https://substackcdn.com/image/fetch/$s_!bno7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ca8ed76-d643-49ec-b636-6862b25b61e5_2030x882.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><p><strong>Mercedes-Benz - Automatic TS anomaly detection with a new tVAE.</strong>  This paper introduces a temporal variational autoencoder (TeVAE) that can detect anomalies with minimal false positives when trained on unlabelled data. The approach also avoids the bypass phenomenon and introduces a new method to remap individual windows to a continuous time series. Using real-world industrial data, TeVAE detects 65% of the anomalies, and only 6% are wrongly classified. Paper: <a href="https://arxiv.org/abs/2407.06849">TeVAE: A Variational Autoencoder Approach for Discrete Online Anomaly Detection in Variable-state Multivariate Time-series Data</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1MlK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F02240c33-2874-4cb5-ad40-7a27780aa896_2168x580.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1MlK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F02240c33-2874-4cb5-ad40-7a27780aa896_2168x580.png 424w, https://substackcdn.com/image/fetch/$s_!1MlK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F02240c33-2874-4cb5-ad40-7a27780aa896_2168x580.png 848w, https://substackcdn.com/image/fetch/$s_!1MlK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F02240c33-2874-4cb5-ad40-7a27780aa896_2168x580.png 1272w, https://substackcdn.com/image/fetch/$s_!1MlK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F02240c33-2874-4cb5-ad40-7a27780aa896_2168x580.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1MlK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F02240c33-2874-4cb5-ad40-7a27780aa896_2168x580.png" width="446" height="119.46428571428571" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/02240c33-2874-4cb5-ad40-7a27780aa896_2168x580.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:390,&quot;width&quot;:1456,&quot;resizeWidth&quot;:446,&quot;bytes&quot;:97265,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!1MlK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F02240c33-2874-4cb5-ad40-7a27780aa896_2168x580.png 424w, https://substackcdn.com/image/fetch/$s_!1MlK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F02240c33-2874-4cb5-ad40-7a27780aa896_2168x580.png 848w, https://substackcdn.com/image/fetch/$s_!1MlK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F02240c33-2874-4cb5-ad40-7a27780aa896_2168x580.png 1272w, https://substackcdn.com/image/fetch/$s_!1MlK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F02240c33-2874-4cb5-ad40-7a27780aa896_2168x580.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><p><strong>Datadog - SOTA foundation model with Mixture-of-Students for observability TS data</strong>. This paper introduces Toto, the first general-purpose TS forecasting foundation model specialised in observability TS data, typically used in electricity and weather forecasting. The model was trained on a dataset of one trillion time series data points, the largest ever published. Toto outperforms existing TS foundation models on observability data, and also excels at general-purpose forecasting tasks, achieving SOTA zero-shot performance on multiple open benchmark datasets. Paper: <a href="https://arxiv.org/abs/2407.07874">Toto: Time Series Optimized Transformer for Observability</a></p><p><strong>Tesco - A transformer for tokenised TS classification in price optimisation</strong>. This paper introduces a transformer architecture for time series forecasting applied to the real-world problem of price optimisation in a large retailer. The paper introduces several innovations in terms of differentiated time series patching and multiple-resolution module for time-varying known variables. Based on experiments with real-world data, the model outperforms existing in-house models and other deep learning architectures. Paper: <a href="https://arxiv.org/abs/2407.03185">Multiple-Resolution Tokenization for Time Series Forecasting with an Application to Pricing</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uzQ3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6346f4-949b-4048-ba82-fc2e3d0afa41_2402x666.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uzQ3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6346f4-949b-4048-ba82-fc2e3d0afa41_2402x666.png 424w, https://substackcdn.com/image/fetch/$s_!uzQ3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6346f4-949b-4048-ba82-fc2e3d0afa41_2402x666.png 848w, https://substackcdn.com/image/fetch/$s_!uzQ3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6346f4-949b-4048-ba82-fc2e3d0afa41_2402x666.png 1272w, https://substackcdn.com/image/fetch/$s_!uzQ3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6346f4-949b-4048-ba82-fc2e3d0afa41_2402x666.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uzQ3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6346f4-949b-4048-ba82-fc2e3d0afa41_2402x666.png" width="460" height="127.63736263736264" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2b6346f4-949b-4048-ba82-fc2e3d0afa41_2402x666.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:404,&quot;width&quot;:1456,&quot;resizeWidth&quot;:460,&quot;bytes&quot;:144577,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uzQ3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6346f4-949b-4048-ba82-fc2e3d0afa41_2402x666.png 424w, https://substackcdn.com/image/fetch/$s_!uzQ3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6346f4-949b-4048-ba82-fc2e3d0afa41_2402x666.png 848w, https://substackcdn.com/image/fetch/$s_!uzQ3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6346f4-949b-4048-ba82-fc2e3d0afa41_2402x666.png 1272w, https://substackcdn.com/image/fetch/$s_!uzQ3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6346f4-949b-4048-ba82-fc2e3d0afa41_2402x666.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p> <strong>A Vision-Language Model for SOTA zero-shot TS forecasting</strong>. This paper introduces ViTime, a novel VLM foundation model for TSF forecasting. The model transforms numerical time series into binary images, converting numerical temporal correlations into binary pixel spatial correlations. ViTime overcomes the limitations of numerical time series data fitting by utilising visual data processing paradigms. ViTime achieved SOTA zero-shot performance, even surpassing the best individually trained supervised models in some situations. Paper &amp; repo: <a href="https://arxiv.org/abs/2407.07311">ViTime: A Visual Intelligence-Based Foundation Model for Time Series Forecasting</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1OJe!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda7829cd-85e8-4cd8-a1a6-828e7675062e_2364x934.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1OJe!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda7829cd-85e8-4cd8-a1a6-828e7675062e_2364x934.png 424w, https://substackcdn.com/image/fetch/$s_!1OJe!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda7829cd-85e8-4cd8-a1a6-828e7675062e_2364x934.png 848w, https://substackcdn.com/image/fetch/$s_!1OJe!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda7829cd-85e8-4cd8-a1a6-828e7675062e_2364x934.png 1272w, https://substackcdn.com/image/fetch/$s_!1OJe!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda7829cd-85e8-4cd8-a1a6-828e7675062e_2364x934.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1OJe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda7829cd-85e8-4cd8-a1a6-828e7675062e_2364x934.png" width="424" height="167.44505494505495" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/da7829cd-85e8-4cd8-a1a6-828e7675062e_2364x934.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:575,&quot;width&quot;:1456,&quot;resizeWidth&quot;:424,&quot;bytes&quot;:538467,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!1OJe!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda7829cd-85e8-4cd8-a1a6-828e7675062e_2364x934.png 424w, https://substackcdn.com/image/fetch/$s_!1OJe!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda7829cd-85e8-4cd8-a1a6-828e7675062e_2364x934.png 848w, https://substackcdn.com/image/fetch/$s_!1OJe!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda7829cd-85e8-4cd8-a1a6-828e7675062e_2364x934.png 1272w, https://substackcdn.com/image/fetch/$s_!1OJe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda7829cd-85e8-4cd8-a1a6-828e7675062e_2364x934.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong>T5 (Text-To-Text-Transfer-Transformer) for short-term stock price prediction</strong>. This paper introduces TimeS, a novel method for short-term <em>excitement prediction</em> in stock price time series, that uses the T5 transformer. T5 uses stock, events, and sentiment data as inputs to forecast price change indicators for the subsequent n time intervals, which are then employed to determine stock states. Then the time series are updated using price amplification values derived from these stock states. Paper: <a href="https://arxiv.org/abs/2407.03689">Text2TimeSeries: Enhancing Financial Forecasting through Time Series Prediction Updates with Event-Driven Insights from LLMs</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KqJy!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee684b65-08a7-4cfe-a46f-959a7bdee6ef_2104x1760.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KqJy!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee684b65-08a7-4cfe-a46f-959a7bdee6ef_2104x1760.png 424w, https://substackcdn.com/image/fetch/$s_!KqJy!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee684b65-08a7-4cfe-a46f-959a7bdee6ef_2104x1760.png 848w, https://substackcdn.com/image/fetch/$s_!KqJy!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee684b65-08a7-4cfe-a46f-959a7bdee6ef_2104x1760.png 1272w, https://substackcdn.com/image/fetch/$s_!KqJy!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee684b65-08a7-4cfe-a46f-959a7bdee6ef_2104x1760.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KqJy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee684b65-08a7-4cfe-a46f-959a7bdee6ef_2104x1760.png" width="340" height="284.4230769230769" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ee684b65-08a7-4cfe-a46f-959a7bdee6ef_2104x1760.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1218,&quot;width&quot;:1456,&quot;resizeWidth&quot;:340,&quot;bytes&quot;:200824,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!KqJy!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee684b65-08a7-4cfe-a46f-959a7bdee6ef_2104x1760.png 424w, https://substackcdn.com/image/fetch/$s_!KqJy!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee684b65-08a7-4cfe-a46f-959a7bdee6ef_2104x1760.png 848w, https://substackcdn.com/image/fetch/$s_!KqJy!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee684b65-08a7-4cfe-a46f-959a7bdee6ef_2104x1760.png 1272w, https://substackcdn.com/image/fetch/$s_!KqJy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee684b65-08a7-4cfe-a46f-959a7bdee6ef_2104x1760.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://sierra.ai/blog/meet-the-ai-agent-engineer">Meet the AI Agent Engineer</a></p></li><li><p><a href="https://smartmediacutter.com/2024/07/12/year-as-an-independent-ai-researcher/">My Year as an Independent AI Researcher</a></p></li><li><p><a href="https://readmedium.com/en/you-dont-need-an-llm-agent-333bf0eb1019">Why You Don't Need an Agentic Architecture</a></p></li><li><p><a href="https://www.microsoft.com/en-us/research/publication/arena-learning-build-data-flywheel-for-llms-post-training-via-simulated-chatbot-arena/">Chatbot Battles + Synth Data = Arena Learning</a></p></li><li><p><a href="https://elanapearl.github.io/blog/2024/the-illustrated-alphafold/">A Visual Walkthrough of the AlphaFold3 Model</a></p></li><li><p><a href="https://hdsr.mitpress.mit.edu/pub/k9gp9fzh/release/2">Data Science at The Precipice &amp; The Singularity</a></p></li><li><p><a href="https://exa.ai/blog/superknowledge">We Need Super-Knowledge Before Super-Intelligence</a></p></li><li><p><a href="http://addxorrol.blogspot.com/2024/07/someone-is-wrong-on-internet-agi-doom.html">Someone is Wrong on the Internet (AGI Doom Edition)</a></p></li><li><p><a href="https://github.com/ashishpatel26/500-AI-Machine-learning-Deep-learning-Computer-vision-NLP-Projects-with-code?tab=readme-ov-file">A List of 500+ AI / DL/ ML Projects with Code</a></p></li><li><p><a href="https://www.patronus.ai/blog/lynx-state-of-the-art-open-source-hallucination-detection-model">Lynx: SOTA Open Source Hallucination Detection Model</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://github.com/virattt/financial-agent-ui">How to Build a Generative UI Financial Agent</a></p></li><li><p><a href="https://www.youtube.com/watch?v=Dw2g2NEdsw0">[tutorial] How to: GraphRAG with Neo4j Visualisation Locally</a></p></li><li><p><a href="https://www.together.ai/blog/finetuning">How to Fine-tune Llama-3 and Get 90% of GPT-4&#8217;s Performance </a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://spinningup.openai.com/en/latest/">[free OpenAI course] Spinning Up in Deep RL</a></p></li><li><p><a href="https://blog.vespa.ai/vespa-in-context-learning/">Brief Intro to Adaptive In-Context Learning</a></p></li><li><p><a href="https://physicsbaseddeeplearning.org/intro.html">[free ebook] Physics-based Deep Learning (PBDL)</a></p></li></ol><h3><strong>AI/ DL ResearchDocs </strong></h3><ol><li><p><a href="https://arxiv.org/abs/2407.07612">Teaching Transformers Causal Reasoning</a></p></li><li><p><a href="https://arxiv.org/abs/2407.01178">Memory3: Language Modelling with Explicit Memory</a></p></li><li><p><a href="https://arxiv.org/abs/2407.07061">Internet of AI Agents: Multi-Agent Collaboration (paper, repo)</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://github.com/fferegrino/cycle-station-predictions">London Cycling: An E2E, Toy MLOps Project </a></p></li><li><p><a href="https://www.hopsworks.ai/post/a-taxonomy-for-data-transformations-in-ai-systems">The Taxonomy for Data Transformations in AI Systems</a></p></li><li><p><a href="https://www.eventbrite.com/e/intro-to-ai-pipelines-build-reliable-ml-workflows-tickets-939952492207">[free workshop] Intro to AI Pipelines: Build Reliable ML Workflows</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://huggingface.co/blog/winning-aimo-progress-prize">How Synthetic Data Won The AI Math Olympiad 2024</a></p></li><li><p><a href="https://emilia-dataset.github.io/Emilia-Demo-Page/">Emilia: An Extensive, Multilingual Dataset for Large-Scale Speech Generation</a></p></li><li><p><a href="https://huggingface.co/datasets/SkunkworksAI/reasoning-0.01">SkunkworksAI: A Synth Dataset of Reasoning Chains Across a Variety of Tasks</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-261?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-261?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-261?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://x.com/alg0agent">@alg0agent</a> in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #260]]></title><description><![CDATA[Vision-Language Models Booming. PaliGemma. Phi-3 Vision. Florence-2. LLaVA-NeXT. ML in Video games. PCA in Latent Space. MosaicML Agents Framework. MoEs at Scale. GraphRAG. Image SSL on a Shoestring.]]></description><link>https://datamachina.substack.com/p/data-machina-260</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-260</guid><dc:creator><![CDATA[Carlos]]></dc:creator><pubDate>Mon, 08 Jul 2024 07:25:27 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/9d7c2d6c-86b5-486f-9584-b9d14d8a4bda_1139x663.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Vision-Language Models Booming. </strong>VLMs are experiencing a boom. Large foundation models like OpenAI GPT-4o, Anthropic Claude 3.5 Sonnet, and Google Gemini Pro 1.5 keep showing amazing vision-language capabilities and still dominate the benchmarks. But in a race to democratise VLMs at an efficient cost of operation -while maintaining performance- there is a new type of emerging, small, versatile, specialised VLMs that are becoming very powerful. And that is great!</p><p><strong>Start here: The best intro to VLMs, 2024</strong>. Probably - by far- the best introduction to VLMs. A mega paper in the format of a pdf book, published by Meta AI, NYU, MILA, MIT and several other unis. Paper: <a href="https://arxiv.org/abs/2405.17247">An Introduction to Vision-Language Modelling</a>.</p><p><strong>Recommended: Tutorial on VLMs CVPR June 2024</strong>. This tutorial covers the latest approaches and theories on 1) Learning VLMs for multimodal understanding and generation 2) Benchmarking and evaluating VLMs and 3) Agents and other Advanced Systems based on Vision Foundation Model. All the slides and video sessions from the tutorial here: <a href="https://vlp-tutorial.github.io">Recent Advances in Vision Foundation Models</a>.</p><div id="youtube2-bDVbs-fZGUg" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;bDVbs-fZGUg&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/bDVbs-fZGUg?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong>Trend: Small but powerful VLMs</strong>. This an unstoppable trend: we&#8217;re starting to see some amazing, small -even tiny- VLMs that are very powerful. Some are even full open-source, or at least open/open weights, and in some cases achieve SOTA in several benchmarks. Here are 5 small VLMs you should know:</p><p><strong>LLaVA-Next (interleaved)</strong>. Key feature: An image-text interleaved format that unifies multi-image, video, and 3D tasks in one model with excellent performance. Released in 0.5b, 7b, and 7b-dpo versions, it achieves SOTA in many benchmarks, and leads the open source VLMs. Checkout the repo, demo, and blog here: <a href="https://github.com/LLaVA-VL/LLaVA-NeXT?tab=readme-ov-file">LLaVA-NeXT: Open Large Multimodal Models</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rxFP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9769e16-f158-4b08-a502-38d81cb7463a_2710x1870.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rxFP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9769e16-f158-4b08-a502-38d81cb7463a_2710x1870.png 424w, https://substackcdn.com/image/fetch/$s_!rxFP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9769e16-f158-4b08-a502-38d81cb7463a_2710x1870.png 848w, https://substackcdn.com/image/fetch/$s_!rxFP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9769e16-f158-4b08-a502-38d81cb7463a_2710x1870.png 1272w, https://substackcdn.com/image/fetch/$s_!rxFP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9769e16-f158-4b08-a502-38d81cb7463a_2710x1870.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rxFP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9769e16-f158-4b08-a502-38d81cb7463a_2710x1870.png" width="472" height="325.7967032967033" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a9769e16-f158-4b08-a502-38d81cb7463a_2710x1870.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1005,&quot;width&quot;:1456,&quot;resizeWidth&quot;:472,&quot;bytes&quot;:2227529,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!rxFP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9769e16-f158-4b08-a502-38d81cb7463a_2710x1870.png 424w, https://substackcdn.com/image/fetch/$s_!rxFP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9769e16-f158-4b08-a502-38d81cb7463a_2710x1870.png 848w, https://substackcdn.com/image/fetch/$s_!rxFP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9769e16-f158-4b08-a502-38d81cb7463a_2710x1870.png 1272w, https://substackcdn.com/image/fetch/$s_!rxFP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9769e16-f158-4b08-a502-38d81cb7463a_2710x1870.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>PaliGemma</strong>. Key feature: It takes both images and text as inputs and can answer questions about images with detail and context efficiently. PaliGemma is an open, lightweight VLM based on the <a href="https://arxiv.org/abs/2310.09199">more powerful PaLI-3 family of VLMs from Google</a>. You can get the <a href="https://www.kaggle.com/models/google/paligemma">base, pre-trained PaliGemma</a> and <a href="https://www.kaggle.com/models/google/paligemma-ft">PaliGemma-FT fine-tuned version</a>. Sonu posted a nice in-depth review of PaliGemma and how to fine-tune it.</p><div id="youtube2-7TTHT2PHTUk" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;7TTHT2PHTUk&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/7TTHT2PHTUk?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong>Phi-3 Vision</strong>. Key feature: Very strong multi-modal, high quality reasoning trained on dense text and image data. Phi-3 Vision is based on <a href="https://azure.microsoft.com/en-us/blog/new-models-added-to-the-phi-3-family-available-on-microsoft-azure/">the latest family of Phi-3 models released by Microsoft</a>. You can get the latest model version released, <a href="https://huggingface.co/microsoft/Phi-3-vision-128k-instruct">Phi-3-Vision-128K-Instruct</a>, which achieves SOTA in several benchmarks with quite a long context.  Sam recently published a nice review, testing the model with some real world cases.</p><div id="youtube2-iz2rXDLyBHU" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;iz2rXDLyBHU&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/iz2rXDLyBHU?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong>Florence-2</strong>.  Key feature: a unified, prompt-based representation for a variety of vision and vision-language tasks. Published by Microsoft, Florence-2 was designed to take text-prompts as task instructions and generate desirable results in text forms, whether it be captioning, object detection, grounding or segmentation. Paper: <a href="https://www.microsoft.com/en-us/research/publication/florence-2-advancing-a-unified-representation-for-a-variety-of-vision-tasks/">Florence-2: Advancing a Unified Representation for a Variety of Vision Tasks</a>.  The team at Roboflow just released a in-depth tutorial on fine-tuning Florence-2. </p><div id="youtube2-i3KjYgxNH6w" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;i3KjYgxNH6w&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/i3KjYgxNH6w?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong>InternLM-XComposer 2.5</strong>. Key feature: Ultra-high resolution &amp; fine-gained image and video understanding in a small model with long context. This VLM supports 96K long-context input and output. It achieves GPT-4V level capabilities in many benchmarks with just a 7B LLM backend. Repo, demo and technical report: <a href="https://github.com/InternLM/InternLM-XComposer?tab=readme-ov-file">InternLM-XComposer-2.5: A Versatile Large Vision Language Model Supporting Long-Contextual Input and Outpu</a>t. Two days ago, Fahd published a good review on this model and some of its installation pains.</p><div id="youtube2-nl6KGj4eg84" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;nl6KGj4eg84&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/nl6KGj4eg84?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong>NVIDIA VLMs playground</strong>. NVIDIA just released a nice demo-playground for several of these VLMs above. <a href="https://build.nvidia.com/explore/vision">Try it here: NVIDA VLMs</a>. </p><p><strong>A new multi-modal model benchmark</strong>. Reflecting the trend in VLMs, a week ago or so, LMSYS.org -the well known benchmark for AI Models- introduced a new multi-model benchmark that covers vision-language/ multi-modal capabilities. Still early days, but most of the multi-modal models covered are closed, proprietary models. Blogpost: <a href="https://lmsys.org/blog/2024-06-27-multimodal/">The Multi-Modal Arena is here</a>.</p><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://mlops.systems/posts/2024-07-01-full-finetuned-model-evaluation.html">My Fine-tuned Models Beat GPT-4</a></p></li><li><p><a href="https://hallofdreams.org/posts/trackmania-1/">Machine Learning in Trackmania Video Game</a></p></li><li><p><a href="https://readmedium.com/principal-components-analysis-pca-through-a-latent-variable-lens-2c2e5392a3a0">Classical PCA Through a Latent Variable Lens</a></p></li><li><p><a href="https://marc.ai/probabilistic-chess.html">Playing Probabilistic AI Chess (game board, blogpost)</a></p></li><li><p><a href="https://www.databricks.com/blog/announcing-mosaic-ai-agent-framework-and-agent-evaluation">Databricks Mosaic AI Agent Framework &amp; Agent Evaluation</a></p></li><li><p><a href="https://dev.to/mikeyoung44/what-if-we-recaption-billions-of-web-images-with-llama-3-4bkh">What If We Recaption Billions of Web Images with LLaMA-3?</a></p></li><li><p><a href="https://carl-mcbride-ellis.github.io/TOBoML/TOBoML.pdf">[free book] The Orange ML Book: Essentials for Tabular Data</a></p></li><li><p><a href="https://medium.com/towards-data-science/automl-with-autogluon-transform-your-ml-workflow-with-just-four-lines-of-code-1d4b593be129">AutoGluon ML Beats 99% of Data Scientists with 4 Lines of Code</a></p></li><li><p><a href="https://www.youtube.com/watch?v=tsTeEkzO9xc">Berkeley AI Hackathon 2024: All the Winners &amp; Karpathy's Keynote</a></p></li><li><p><a href="https://readmedium.com/time-series-forecasting-in-the-age-of-genai-make-gradient-boosting-behaves-like-llms-674d9e22e1ce">Gradient Boosting like LLMs: Zero-shot Forecasting with ML models</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://pytorch.org/blog/training-moes/">Training Mixture-of-Experts at Scale with PyTorch</a></p></li><li><p><a href="https://github.com/microsoft/graphrag?tab=readme-ov-file">MS GraphRAG - Graph-based Modular RAG (repo, paper)</a></p></li><li><p><a href="https://github.com/mindsdb/mindsdb">MindsDB - A Platform for Customising AI from Real-time Enterprise Data</a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://www.youtube.com/watch?v=Y8ve6-ifp9c">[tutorial] What is Max Out in Deep Learning? </a></p></li><li><p><a href="https://theadamcolton.github.io/image-ssl-on-a-shoestring">Image Self Supervised Learning (SSL) on a Shoestring</a></p></li><li><p><a href="https://udlbook.github.io/udlbook/">[free ebook] Understanding DL, 02/07/24 (+68 notebooks)</a></p></li></ol><h3><strong>AI/ DL ResearchDocs </strong></h3><ol><li><p><a href="https://szc12153.github.io/sparse_meta_tuning/">SMAT: Meta-Tuning for Few-shot Generalisation with Sparse MoEs</a></p></li><li><p><a href="https://github.com/yandex-research/tabred">A Benchmark of Tabular ML in-the-Wild with Real-world Datasets</a></p></li><li><p><a href="https://boyuan.space/diffusion-forcing/">MIT Diffusion Forcing: Next-token Prediction Meets Full-Sequence Diffusion </a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://github.com/ErdemOzgen/blackdagger">BlackDagger- DAG-based Automation for MLOps</a> </p></li><li><p><a href="https://readmedium.com/transforming-mlops-with-kubeflow-kserve-churn-prediction-2b554a3bd356">MLOps Pipeline: Churn Prediction with Kubeflow &amp; KServe</a></p></li><li><p><a href="https://neptune.ai/blog/best-open-source-mlops-tools">Best in Open Source MLOps: Platforms, Frameworks &amp; Tools</a> </p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://huggingface.co/datasets/proj-persona/PersonaHub">PERSONA HUB &#8211; 1 billion Personas Auto-Synth Generated</a></p></li><li><p><a href="https://huggingface.co/datasets/madebyollin/megalith-10m">Megalith-10m Dataset: 10 Million Links to Flickr Images</a> </p></li><li><p><a href="https://nju-pcalab.github.io/projects/openvid/">OpenVid 1M: A Large-Scale Dataset for HQ Text-to-Video Generation</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-260?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-260?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-260?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #259]]></title><description><![CDATA[Prompt Engineering 2.0. Automated Prompt Optimisation. AI Scaling Myths. AGI World Models. What's an AI Agent? GenAI at LinkedIn. Failed AI Projects. Img2Txt2Txt Models. RAGFlow. JEPA Deep Dive.]]></description><link>https://datamachina.substack.com/p/data-machina-259</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-259</guid><dc:creator><![CDATA[Carlos]]></dc:creator><pubDate>Mon, 01 Jul 2024 07:25:10 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/428d7558-3baa-4ec9-8d66-fe6ceb6dcb15_702x858.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Prompt Engineering 2.0. </strong>Prompt engineering is not going anywhere any time soon. The AI Goliaths have invested 10&#8217;s of billions in LLMs &amp; Large Multimodal Models (LMMs), which today -for better or for worse- dominate &#8220;<em>modern AI</em>&#8221; totally. Due to the way these models were designed and developed, inevitably, to get solid output results from these models you need to instruct them with natural language prompts. </p><p><strong>Prompt engineering is like Marmite</strong>. Many of my hardcore s/w engineers friends absolutely hate prompt engineering. They dismiss it as &#8220;<em>random, unreliable pseudo-programming using English language</em>.&#8221; But some love it like Marmite. Regardless, if you are an AI engineer, researcher, dev or business analyst, and you want to stay &#8220;relevant in modern AI,&#8221; you just can&#8217;t ignore LLM/LMM-based R&amp;D. And that involves prompt engineering. So this is my advice to my sceptic friends:</p><p><strong>Understand the fundamentals and mindset of prompt engineering</strong>. A great post by Eugene. His main point: prompt engineering is about conditioning the probabilistic model to generate the desired outputs; and that requires to follow a systematic, thorough, structured approach. Blogpost: <a href="https://eugeneyan.com/writing/prompting/">Prompting Fundamentals and How to Apply them Effectively</a>.</p><p><strong>Sign up for an advanced prompt engineering course, be picky</strong>. There are lots of prompting courses out there. But there aren&#8217;t many comprehensive, hands-on, courses on advanced prompt engineering. This is a good one: <a href="https://www.udemy.com/course/prompt-engineering-for-ai/?couponCode=LETSLEARNNOWPP">The Complete Prompt Engineering for AI Bootcamp (June 2024)</a>. </p><p>And Elvis, the brains behind the great <a href="https://www.promptingguide.ai/">Prompt Engineering Guide</a> (although not fully up to date), recently released an <a href="https://maven.com/dair-ai/prompt-engineering-llms">advanced prompt engineering course</a>. Also checkout the <a href="https://docs.google.com/spreadsheets/d/19jzLgRruG9kjUQNKtCg1ZjdD6l6weA6qRXG5zLIAhC8/edit?gid=150872633#gid=150872633">latest Anthropic's Prompt Engineering Interactive Tutorial</a>, which is free and great.</p><p><strong>Learn the latest prompting techniques</strong>. There are ca. 60 or so well known prompting techniques and patterns. New techniques appear ever week! Written by researchers from OpenAI, Microsoft, Stanford  et al., the <a href="https://trigaten.github.io/Prompt_Survey_Site/">Prompt Report (June 2024)</a> is one of the most comprehensive surveys on prompting techniques. If you don&#8217;t have time to read the 75 pages report, Daniel recently wrote a nice blog with his <a href="https://journal.daniellopes.dev/p/practical-prompt-engineering-notes">summary and notes on all prompting techniques described in the Prompt Report</a>.</p><p><strong>Use specialised tools to orchestrate prompting pipelines. </strong>Prompt engineering is a deeply iterative process. This is a good post on <a href="https://www.mykel.org/notes/llm-prompting-for-software-development">a s/w developer reflecting on the prompting iterations and sharing 10 tips just to build a basic LLM-based app</a>. Orchestrating a prompt engineering pipeline from experimentation to production prompts is hard, and requires specialised tools&#8230; Questions: How do you test &amp; evaluate prompts? Where do you store your test &amp; prod prompts? How do you do prompting version control? There are lots of prompting tools, but here are a few interesting ones that come to mind:</p><ul><li><p><a href="https://github.com/teknium1/Prompt-Engineering-Toolkit">Prompt Engineering Tool</a>. A few days ago, Tecknium -the brains behind the  amazing <a href="https://huggingface.co/NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO">Nous-Hermes-2-Mixtral-8x7B model</a>- just released a tool that enables you to: 1) test prompts across multiple LLM simultaneously 2) save and load prompt templates, 3) manage variables for dynamic prompt generation, and 3) compare prompt outputs from different models side-by-side</p></li><li><p><a href="https://github.com/raphaelmansuy/code2prompt">Code2Prompt</a> is a powerful command-line tool that generates comprehensive prompts from codebases </p></li><li><p><a href="https://prompttools.readthedocs.io/en/latest/index.html">Promtptools</a> is a set of free, open-source tools for testing and experimenting with prompts</p></li><li><p><a href="https://promptmetheus.com">Promptmetheus</a> is a<strong> </strong>prompt engineering IDE that enables you to compose prompts without code, test prompts with different models, an optimise prompts for reliability and cost</p></li><li><p><a href="https://thunlp.github.io/OpenPrompt/index.html">OpenPrompt</a> is a library built upon PyTorch that provides a standard, flexible and extensible framework to deploy the prompt-learning pipeline. </p></li><li><p><a href="https://github.com/promptfoo/promptfoo">promptfoo</a> a tool for building reliable prompts, evaluating them with caching, concurrency, and live reloading, and scoring outputs automatically </p></li></ul><p><strong>Learn the latest jailbreak prompting techniques</strong>. The idea here is that you learn how to protect your LLM-based app against adversarial jailbreak attacks by learning how these jailbreaks are crafted with sophisticated English prompts. The venerable Pliny the Prompter @elder_plinius maintains a repo with <a href="https://github.com/elder-plinius/L1B3RT45">proven, working jailbreak prompts for ALL major foundation models from OpenAI, Cohere, Google, Microsoft and Anthropic</a>,  including &#8220;God Mode&#8221; system prompts.</p><p><strong>Learn prompting techniques that decrease costs and improve performance</strong>. You need to find a way to get accurate prompts without impacting cost, speed, and performance. Jan wrote about 5 techniques to streamline prompts, while decreasing costs without sacrificing accuracy. Blogpost: <a href="https://readmedium.com/en/streamline-your-prompts-to-decrease-llm-costs-and-latency-29591dd0e9e4">Streamline Your Prompts to Decrease LLM Costs and Latency</a>. And Justin, recently posted about <a href="https://medium.com/@flux07/prompt-decomposition-da646f0257f1">how to use Prompt Decomposition to avoid high costs, low latency and low accuracy</a>.</p><p><strong>Get into Automated Prompt Optimisation (APO) soon</strong>. Once you realise that developing reliable, production LLM-based apps requires solid prompt engineering skills, tools and methods, it&#8217;s time to get into automating &amp; optimising prompts. There is a lot of emerging research on this, and several new tools are appearing in the landscape:</p><ul><li><p>The <a href="https://arxiv.org/abs/2211.01910">Automatic Prompt Engineer (APE)</a> and <a href="https://arxiv.org/abs/2309.03409">DeepMind ORPO</a> were one of the first papers on methods for automatic prompt generation, selection and optimisation </p></li><li><p><a href="https://github.com/Eladlev/AutoPrompt">AutoPrompt</a> is a prompt optimisation framework designed to enhance and perfect your prompts for real-world use cases. It automatically generates high-quality, detailed prompts tailored to user intentions, and employs refinement (calibration) process</p></li><li><p><a href="https://readmedium.com/automating-prompt-engineering-with-dspy-and-haystack-926a637a3f43">Automating Prompt Engineering with DSPy and Haystack</a>. An interesting post on how to use DSPy to automate prompt engineering. DSPy separates the flow of your program from the prompts and weights at each step, while it runs optimisers, that tune the prompts and/or the weights of your LM calls </p></li><li><p><a href="https://blog.withmartian.com/post/apo-1">Cracking the Code: Automated Prompt Optimisation</a>. The team at Martian, surveyed several companies using advanced prompting techniques. They argue that Automated Prompt Optimisation (APO) is the way to resolve key issues like model variability, drift, and &#8220;<em>secret prompt handshakes</em>&#8221;. And they also share innovative techniques used to address these challenges, including LLM observers, prompt co-pilots, and human-in-the-loop feedback systems to refine prompts</p></li><li><p><a href="https://arxiv.org/abs/2406.11695v1">Optimising Instructions and Demonstrations for Multi-Stage Language Model</a>. A new paper from researchers at Berkeley, Stanford et al. introducing MIPRO, a new prompt optimisation method for LM programs. MIPRO -implemented in DSPy- outperforms baselines on five of six diverse LM programs using a best-in-class open-source model like Llama-3-8B.</p></li></ul><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://www.aisnakeoil.com/p/ai-scaling-myths">AI Scaling Myths</a></p></li><li><p><a href="https://haydendonnelly.net/blog/thoughts-on-world-models">Thoughts on AGI World Models</a></p></li><li><p><a href="https://blog.langchain.dev/what-is-an-agent/">Musings on What&#8217;s an AI Agent? </a></p></li><li><p><a href="https://www.linkedin.com/blog/engineering/generative-ai/musings-on-building-a-generative-ai-product">Musings on Building a GenAI Product at LinkedIn</a></p></li><li><p><a href="https://www.agenticlabs.com/post/ai-design-before-ai-code-gen">AI Code Design Should Come Before AI Code-Gen</a></p></li><li><p><a href="https://www.sh-reya.com/blog/ai-engineering-short/">Short Musings on AI Engineering &amp; "Failed AI Projects"</a></p></li><li><p><a href="https://huggingface.co/tasks/image-text-to-text">What are Image-Text-to-Text Models? An Intro</a></p></li><li><p><a href="https://www.daily.co/blog/the-worlds-fastest-voice-bot/">How to Build the World&#8217;s Fastest AI Voice Bot</a></p></li><li><p><a href="https://aigents.co/data-science-blog/publication/the-transformers-architecture-in-detail-whats-the-magic-behind-llms">Visualising The Magic of the Transformers Architecture</a></p></li><li><p><a href="https://www.uber.com/en-DE/blog/from-predictive-to-generative-ai/">Uber&#8217;s ML Platform Evolution: From Predictive to Generative AI</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://readmedium.com/en/n-beats-the-first-interpretable-deep-learning-model-that-worked-for-time-series-forecasting-06920daadac2">N-BEATS: 1st DL Model that Works for Time Series Forecasting</a></p></li><li><p><a href="https://github.com/Doriandarko/maestro">Maestro - A Framework to Orchestrate Subagents with Any LLM</a></p></li><li><p><a href="https://github.com/infiniflow/ragflow">RAGFlow: An Open-source RAG Engine for Deep Doc Understanding </a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://readmedium.com/en/why-you-currently-do-not-need-deep-learning-for-time-series-forecasting-0de57f2bc0ed">Why You (Currently) Don&#8217;t Need DL for Time Series Forecasting</a></p></li><li><p><a href="https://www.turingpost.com/p/jepa">A Deep Dive into JEPA: Yann Lecun&#8217;s Alternative to Transformers</a></p></li><li><p><a href="https://weaviate.io/blog/openais-matryoshka-embeddings-in-weaviate">Intro to Matryoshka Representation Learning with OpenAI &amp; Weviate</a></p></li></ol><h3><strong>AI/ DL ResearchDocs </strong></h3><ol><li><p><a href="https://tiger-ai-lab.github.io/LongRAG/">LongRAG: Enhancing RAG with Long-context LLMs</a></p></li><li><p><a href="https://4m.epfl.ch">Apple 4M: An Any-to-Any Vision Model for Tens of Tasks &amp; Modalities</a></p></li><li><p><a href="https://cambrian-mllm.github.io">Cambrian-1: A Family of  Open Vision-Centric Multimodal LLMs (paper, repo)</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://readmedium.com/a-simple-framework-for-evaluating-ml-infra-and-tooling-product-ideas-be2b3b19d989">On Day 1 vs. Day 2 Problems &amp; ML vs. Engineering Problems</a></p></li><li><p><a href="https://readmedium.com/mlops-with-kubeflow-pipeline-v2-mlflow-seldon-core-part4-0fe4814b1fe1">Kubeflow MLOps Pipeline v2: mlflow, Seldon Core (Parts 1-4)</a></p></li><li><p><a href="https://python.langchain.com/v0.2/docs/integrations/providers/wandb_tracking/">How to Track LangChain Experiments with Weights &amp; Biases</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://arxiv.org/abs/2406.17557">How We Created the FineWeb 15-Trillion Token Dataset</a></p></li><li><p><a href="https://github.com/mlfoundations/MINT-1T">MINT-1T: A Open-source Multimodal Dataset with 1 Trillion Tokens</a></p></li><li><p><a href="https://mlops.systems/posts/2024-06-25-evaluation-finetuning-manual-dataset.html">How to Think about Creating a Dataset for Finetuning Evaluation</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-259?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-259?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-259?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #258]]></title><description><![CDATA[AI and While You Were Out IRL. DeepSeek Coder v2. Hermes2+Theta Llama-3 70B. Unique 3D. AutoIF. Infinity Instruct. Florence. Claude 3.5 onnet. Claudette. Agile RL. TexGrad. PlanRAG.]]></description><link>https://datamachina.substack.com/p/data-machina-258</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-258</guid><dc:creator><![CDATA[Carlos]]></dc:creator><pubDate>Mon, 24 Jun 2024 07:30:00 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/d97de0ef-9a36-4ddd-99fb-678f6231a63e_1410x908.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>AI and While You Were Out IRL. </strong>The speed and breadth of AI R&amp;D these days is mind-boggling! This w/e I&#8217;ve been immersed IRL joys, including being trapped in airplanes, trains and automobiles. (Apologies for publishing this a day later than usual.) This issue is a bit like an AP News bulletin on what happened in AI when I was AWK. </p><p><strong>The latest version of DeepSeek-Coder is now the top open model for coding</strong>.  DeepSeek-Coder-v2 is an open-source Mixture-of-Experts (MoE) code language model that achieves performance comparable to GPT4-Turbo in code-specific tasks. Repo &amp; paper: <a href="https://github.com/deepseek-ai/DeepSeek-Coder-V2">DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligence</a>. </p><p><strong>The new Hermes merge model beats Llama-3 70B.</strong> Hermes 2 Theta Llama-3 70B is an Instruct, fine-tuned model that merges Hermes 2 Pro and Meta's Llama-3. The merge model matches GPT-4 on MT Bench and surpasses Llama-3 70B Instruct in all benchmarks. Read more here: <a href="https://huggingface.co/NousResearch/Hermes-2-Theta-Llama-3-70B">Hermes 2 Theta Llama-3 70B</a>. </p><p><strong>This new method generates high-quality 3Ds from one single image</strong>. A novel image-to-3D framework for efficiently generating high-quality 3D meshes from single-view images, featuring state-of-the-art generation fidelity and strong generalisability. Paper, demo &amp; code here&gt; <a href="https://wukailu.github.io/Unique3D/">Unique3D: High-Quality and Efficient 3D Mesh Generation from a Single Image</a>.</p><p><strong>This is the first scalable, reliable method for auto generating instruction-following training data</strong>. The Qwen team at Alibaba introduced AutoIF a new approach that is set to revolutionise, instruction following and the way data is generated for Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF). Paper: <a href="https://arxiv.org/abs/2406.13542">Self-play with Execution Feedback: Improving Instruction-following Capabilities of Large Language Models</a>.</p><p><strong>A new, open source, large-scale instruct dataset to lower barriers of SFT</strong>. Building large scale, high-quality instruct datasets is very expensive and only available to Tech Giants. To break that barrier, the BAAI just announced Infinity Instruct, a project that aims to develop open, large-scale, high-quality instruction datasets. Checkout: <a href="https://huggingface.co/datasets/BAAI/Infinity-Instruct">Infinity Instruct Dataset Project</a>. </p><p><strong>A new method that extends the length of GenAI videos</strong>. Most existing GenAI video models -including Open AI SORA- can only generate short video clips. Researchers at Alibaba just introduced ExVideo, a novel post-tuning method for video synthesis, that allows to produce longer videos up to 128 frames at a lower cost. Paper, demo, tech report: <a href="https://ecnu-cilab.github.io/ExVideoProjectPage/">ExVideo: Extending Video- Enhancing the capability of video generation models</a>.</p><p><strong>MSFT open-sources a new vision foundation model that is small and powerful</strong>. Microsoft just introduced Florence-2, a VLM that has strong zero-shot and fine-tuning capabilities across all vision tasks. Despite its small size, it pars with models many times larger. The  power of the model is not based on the architecture but in the large-scale FLD-5B training dataset. Blog review, paper, and notebooks here: <a href="https://blog.roboflow.com/florence-2/">Florence-2: Open Source Vision Foundation Model by Microsoft</a>.</p><p><strong>MSFT introduces a new method that enhances base model pre-training</strong>. This new method called Instruction Pre-Training  1) enhances generalisation, 2) improves pre-training efficiency, and 3) improves tasks performance. Paper and models: <a href="https://huggingface.co/instruction-pretrain">Instruction Pre-Training: Language Models are Supervised Multitask Learners</a>.</p><p><strong>Antrophic intros Claude 3.5 Sonnet&#8230; people swear it&#8217;s the best model in the planet</strong>. I&#8217;ve been using Claude for a while and really love it. The <a href="https://www.anthropic.com/news/claude-3-5-sonnet">new Sonnet 3.5 </a>is free and super powerful. The vision capabilities look impressive, as well as <a href="https://www.youtube.com/watch?v=A598ESCoC70">the agentic coding capabilities including unit testing</a>. I really like the <em>Artifacts</em> dedicated window alongside the chat, sort of a dynamic workspace. The team at Vellum <a href="https://www.vellum.ai/blog/claude-3-5-sonnet-vs-gpt4o">compared Claude 3.5 Sonnet vs. GPT-4o</a>. In parallel, the awesome Jeremy, just introduced <a href="https://www.answer.ai/posts/2024-06-21-claudette.html">Claudette, a new friend that makes Claude 3.5 Sonnet even nicer</a>. That is cool stuff. </p><p>So much AI stuff happening! Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://thesephist.com/posts/prism/">Mapping Interpretable Features in a Language Latent Space</a></p></li><li><p><a href="https://www.youtube.com/live/c0gcsprsFig">[mega stream] Lessons from a Year of Building with LLMs</a></p></li><li><p><a href="https://dropofahat.zone">I&#8217;m Using AI to Automatically Drop Hats onto New Yorkers</a></p></li><li><p><a href="https://www.octomind.dev/blog/why-we-no-longer-use-langchain-for-building-our-ai-agents?utm_source=substack&amp;utm_medium=email">Why We No Longer Use LangChain for Building AI Agents</a></p></li><li><p><a href="https://www.latent.space/p/hiring">[a new perspective] How to Hire AI Engineers</a></p></li><li><p><a href="https://replicate.com/blog/get-the-best-from-stable-diffusion-3">How to Get the Best Results from Stable Diffusion 3</a></p></li><li><p><a href="https://readmedium.com/en/hyper-relational-graphs-the-key-to-more-intelligent-rag-systems-08d4e64f8f28">Hyper-Relational Graphs: The Key to More Intelligent RAG Systems</a></p></li><li><p><a href="https://deepmind.google/discover/blog/generating-audio-for-video/">DeepMind - V2A Soundtrack AI Generation for Generative Video</a></p></li><li><p><a href="https://www.jerpint.io/blog/diffusion-gol/">[play it] Using ControlNet to Animate the Game of Life</a></p></li><li><p><a href="https://www.bloomberg.com/graphics/2024-ai-data-centers-power-grids/">[interactive viz] How AI is Creating Havoc in Global Power Systems</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://levelup.gitconnected.com/building-an-ai-text-to-video-model-from-scratch-using-python-35b4eb4002de">Building an AI Text-to-Video Model from Scratch</a></p></li><li><p><a href="https://readmedium.com/en/transforming-next-token-prediction-into-classification-with-llms-fb4f33a02637">How to Use Transformers for Classification Label Prediction</a></p></li><li><p><a href="https://github.com/mistralai/cookbook/blob/main/third_party/Neon/neon_text_to_sql.ipynb">[cookbook] Build a Text-to-SQL System with Mistral AI, Neon &amp; LangChain</a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://www.agilerl.com">Agile RL - Easy, Fast, Streamlined RL with RLOps</a></p></li><li><p><a href="https://www.youtube.com/watch?v=CyoQ1FoUWdA">[explainer] What are Highway Networks in Deep Learning?</a></p></li><li><p><a href="https://neuralblog.github.io/logit-prisms/">Decomposing Transformer Outputs for Mechanistic Interpretability</a></p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://github.com/zou-group/textgrad">TextGrad: Automatic ''Differentiation'' via Text (code, paper, tutorials)</a></p></li><li><p><a href="https://github.com/myeon9h/PlanRAG?tab=readme-ov-file">PlanRAG: Plan-then-RAG for LLMs as Decision Makers (repo, paper)</a></p></li><li><p><a href="https://arxiv.org/abs/2406.11695">Stanford et al. - The Largest Study on How to Optimise Prompts in LM Programs</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://medium.com/pinterest-engineering/ray-infrastructure-at-pinterest-0248efe4fd52">The Ray MLOps Infra at Pinterest </a></p></li><li><p><a href="https://readmedium.com/en/mlops-data-validation-with-pytest-749641874871">MLOps&#8202; - Data Validation with PyTest</a></p></li><li><p><a href="https://github.com/EinStack/glide">An Open, Blazing-fast Model Gateway for Rapid Dev of GenAI Apps in Prod</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://v2thegreat.com/2024/06/19/lessons-learned-from-scaling-to-multi-terabyte-datasets/">Lessons Learned from Scaling to Multi-Terabyte Datasets</a></p></li><li><p><a href="https://huggingface.co/datasets/tomg-group-umd/pixelprose">From Pixels to Prose: A Dataset with 16M Dense Image Captions</a></p></li><li><p><a href="https://huggingface.co/datasets/ShareGPT4Video/ShareGPT4Video">ShareGPT4Video: 4.8M Multi-modal Video Captions by GPT4-Vision</a> </p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-258?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-258?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-258?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #257]]></title><description><![CDATA[Compound AI Systems, Txt2SQL & Data Agents. On Apple Intelligence Models. Lessons Building AI Agents. NVIDIA Nemotron-4 340B. New Memory Tuning. agentUniverse. Let's Reproduce GPT-2. Mixture of Agents]]></description><link>https://datamachina.substack.com/p/data-machina-257</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-257</guid><dc:creator><![CDATA[Carlos]]></dc:creator><pubDate>Sun, 16 Jun 2024 10:29:51 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b57b7bc-9ee1-4962-86e3-1cb176ba6b37_1964x1238.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>On Compound AI Systems, Txt2SQL &amp; Data Agents.  </strong>A year ago or so, a client enthusiastically presented us with a long list of &#8220;<em>AI LLM projects</em>.&#8221; Among them, there was one project listed as: &#8220;<em>use text-to-sql to automate all data analysis tasks</em>&#8221;  &#8230; We thought: &#8220;Umm&#8230; this is going to be an <em>interesting</em> project&#8221;&#8230; Months later the client abandoned the project. </p><p><strong>Pioneers in Text-to-SQL at enterprise scale</strong>. afaik, Pinterest was one of the first companies that deployed Tex2SQL at scale in enterprise production. Importantly, they were one of the first ones in sharing their experience. This is an excellent post in which the engineering team describes the whole journey from academic Txt2SQL to production. Blogpost: <a href="https://medium.com/pinterest-engineering/how-we-built-text-to-sql-at-pinterest-30bad30dabff">How we built Text-to-SQL at Pinterest</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!e-G-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fc597df-c52e-4ffd-89ec-5767cfdd6f54_2616x1794.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!e-G-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fc597df-c52e-4ffd-89ec-5767cfdd6f54_2616x1794.png 424w, https://substackcdn.com/image/fetch/$s_!e-G-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fc597df-c52e-4ffd-89ec-5767cfdd6f54_2616x1794.png 848w, https://substackcdn.com/image/fetch/$s_!e-G-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fc597df-c52e-4ffd-89ec-5767cfdd6f54_2616x1794.png 1272w, https://substackcdn.com/image/fetch/$s_!e-G-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fc597df-c52e-4ffd-89ec-5767cfdd6f54_2616x1794.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!e-G-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fc597df-c52e-4ffd-89ec-5767cfdd6f54_2616x1794.png" width="452" height="309.81868131868134" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6fc597df-c52e-4ffd-89ec-5767cfdd6f54_2616x1794.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:998,&quot;width&quot;:1456,&quot;resizeWidth&quot;:452,&quot;bytes&quot;:795366,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!e-G-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fc597df-c52e-4ffd-89ec-5767cfdd6f54_2616x1794.png 424w, https://substackcdn.com/image/fetch/$s_!e-G-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fc597df-c52e-4ffd-89ec-5767cfdd6f54_2616x1794.png 848w, https://substackcdn.com/image/fetch/$s_!e-G-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fc597df-c52e-4ffd-89ec-5767cfdd6f54_2616x1794.png 1272w, https://substackcdn.com/image/fetch/$s_!e-G-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fc597df-c52e-4ffd-89ec-5767cfdd6f54_2616x1794.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Text-to-SQL augmented with RAG: Not easy yet</strong>. Sure! LLMs can write beautiful, syntactically correct SQL statements because there are tons of public SQL code on which LLMs have been trained on. But LLMs have quite a bit of challenges when dealing with real-world relational data problems. <a href="https://blog.getwren.ai/4-key-technical-challenges-using-rag-with-llms-to-query-database-text-to-sql-and-how-to-solve-it-5d5a3d6682e5">Top 4 Challenges using RAG with LLMs to Text-to-SQL and how to solve it</a>.</p><p><strong>Text-to-SQL or human-like AI analysts?</strong> This is an interesting post by the team at Pattern, a startup building a financial analysis agent. Their main idea: Text-to-SQL should be more like Text-to-Analysis that works at the business layer. And the LLM -beyond prompting- should behave like a human analyst by using multiple, specialist AI agents that contribute to the analysis process. Blogpost: <a href="https://patterns.app/blog/text-to-sql-and-its-uncanny-valley">Text to SQL and its uncanny valley.</a> <br><br><strong>Agents for data workflows</strong>. In the real world, data workflows with several data pipelines with messy, dirty, changing data are an absolute nightmare! Enter Meadow: An open source, agentic framework for building multi-agent data workflows with LLMs with interactive user feedback. Meadow&#8217;s approach is to chain several specialised agents like Text-to-SQL, Planner, Executor, Schema Cleaner, Validator, Router agents to perform an end to end data workflow. Blogpost and repo here: <a href="https://numbersstation.ai/introducing-meadow-llm-agents-for-data-tasks/">Introducing Meadow: LLM Agents for Data Tasks</a>. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7yW0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d615d67-74d5-497c-a555-52e0f61d18b2_1514x886.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7yW0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d615d67-74d5-497c-a555-52e0f61d18b2_1514x886.png 424w, https://substackcdn.com/image/fetch/$s_!7yW0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d615d67-74d5-497c-a555-52e0f61d18b2_1514x886.png 848w, https://substackcdn.com/image/fetch/$s_!7yW0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d615d67-74d5-497c-a555-52e0f61d18b2_1514x886.png 1272w, https://substackcdn.com/image/fetch/$s_!7yW0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d615d67-74d5-497c-a555-52e0f61d18b2_1514x886.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7yW0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d615d67-74d5-497c-a555-52e0f61d18b2_1514x886.png" width="540" height="315.989010989011" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4d615d67-74d5-497c-a555-52e0f61d18b2_1514x886.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:852,&quot;width&quot;:1456,&quot;resizeWidth&quot;:540,&quot;bytes&quot;:204938,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!7yW0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d615d67-74d5-497c-a555-52e0f61d18b2_1514x886.png 424w, https://substackcdn.com/image/fetch/$s_!7yW0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d615d67-74d5-497c-a555-52e0f61d18b2_1514x886.png 848w, https://substackcdn.com/image/fetch/$s_!7yW0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d615d67-74d5-497c-a555-52e0f61d18b2_1514x886.png 1272w, https://substackcdn.com/image/fetch/$s_!7yW0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d615d67-74d5-497c-a555-52e0f61d18b2_1514x886.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Compound AI Systems and LLM Data Agents</strong>. In February, researchers at Berkeley AIR published an article <a href="https://bair.berkeley.edu/blog/2024/02/18/compound-ai-systems/">on the rapid Shift from Models to Compound AI Systems.</a> In contrast to a &#8220;classic&#8221; rather static AI model, a Compound AI System interacts with multiple components&#8230; function calls, APIs, search, retrievers, agents&#8230; The researchers argue that you should design and implement an AI system from the perspective of a Compound AI System. </p><p>More recently, Howard at Wren.ai - a  startup offering RAG-Txt2SQL solutions- wrote a great post <a href="https://blog.getwren.ai/the-new-wave-of-composable-data-systems-and-the-interface-to-llm-agents-ec8f0a2e7141">on the new wave and the concept of Composable Data Systems and the Interface to LLM agents</a>. And Mosaic AI (aka Databricks AI) just announced a series of new capabilities <a href="https://www.databricks.com/blog/mosaic-ai-build-and-deploy-production-quality-compound-ai-systems">on building and deploying production-quality Compound AI Systems</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Kecg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b57b7bc-9ee1-4962-86e3-1cb176ba6b37_1964x1238.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Kecg!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b57b7bc-9ee1-4962-86e3-1cb176ba6b37_1964x1238.png 424w, https://substackcdn.com/image/fetch/$s_!Kecg!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b57b7bc-9ee1-4962-86e3-1cb176ba6b37_1964x1238.png 848w, https://substackcdn.com/image/fetch/$s_!Kecg!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b57b7bc-9ee1-4962-86e3-1cb176ba6b37_1964x1238.png 1272w, https://substackcdn.com/image/fetch/$s_!Kecg!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b57b7bc-9ee1-4962-86e3-1cb176ba6b37_1964x1238.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Kecg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b57b7bc-9ee1-4962-86e3-1cb176ba6b37_1964x1238.png" width="472" height="297.5934065934066" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5b57b7bc-9ee1-4962-86e3-1cb176ba6b37_1964x1238.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:918,&quot;width&quot;:1456,&quot;resizeWidth&quot;:472,&quot;bytes&quot;:497875,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Kecg!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b57b7bc-9ee1-4962-86e3-1cb176ba6b37_1964x1238.png 424w, https://substackcdn.com/image/fetch/$s_!Kecg!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b57b7bc-9ee1-4962-86e3-1cb176ba6b37_1964x1238.png 848w, https://substackcdn.com/image/fetch/$s_!Kecg!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b57b7bc-9ee1-4962-86e3-1cb176ba6b37_1964x1238.png 1272w, https://substackcdn.com/image/fetch/$s_!Kecg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b57b7bc-9ee1-4962-86e3-1cb176ba6b37_1964x1238.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>A fully open source NL engine for SQL DBs</strong>. Last month, the team at Dataherald open sourced natural language-to-SQL engine built for enterprise-level question answering over relational data. It allows you to set up an API from your database that can answer questions in plain English. You can do NL Q&amp;A on Prod DBs,  NL queries the DW directly without IT support, or create a ChatGPT plugin. Repo and docs here: <a href="https://github.com/Dataherald/dataherald">Interact with your SQL database, Natural Language to SQL using LLMs</a>.</p><p><strong>Open Source AI Agents for Data Analysis</strong>. PandasAI just open sourced a Python library that makes it easy to ask questions to your data in natural language. Beyond querying, PandasAI offers functionalities to visualize data through graphs, cleanse datasets by addressing missing values, and enhance data quality through feature generation, making it a comprehensive tool for data scientists and analysts. Checkout the repo and docs here: <a href="https://github.com/Sinaptik-AI/pandas-ai">Pandas AI - AI agents for Data Analysis</a>.</p><p><strong>Free course: Building Your Own Database Agent</strong>. In this course, you will develop an AI agent that interacts with databases using natural language, simplifying the process for querying and extracting insights. <a href="https://www.deeplearning.ai/short-courses/building-your-own-database-agent/">To know more and join this free course click here</a>.</p><p></p><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://readmedium.com/en/my-thoughts-on-apple-intelligence-16a793359cb5">My Thoughts on Apple Intelligence Models</a></p></li><li><p><a href="https://yellow-apartment-148.notion.site/AI-Search-The-Bitter-er-Lesson-44c11acd27294f4495c3de778cd09c8d">AI Search: The Bitter-er Lesson</a></p></li><li><p><a href="https://medium.com/@cpdough/building-ai-agents-lessons-learned-over-the-past-year-41dc4725d8e5">Building AI Agents: Lessons Learned over the Past Year</a></p></li><li><p><a href="https://github.com/pratyushmaini/llm_dataset_inference/">[gotcha] LLM Dataset Inference: Did you Train on My Dataset? </a></p></li><li><p><a href="https://trigaten.github.io/Prompt_Survey_Site/">A Systematic Survey on [the latest] Prompting Techniques, 6/2024</a></p></li><li><p><a href="https://readmedium.com/en/the-challenges-of-retrieving-and-evaluating-relevant-context-for-rag-e362f6eaed34">The Challenges of Retrieving &amp; Evaluating Relevant Context for RAG</a></p></li><li><p><a href="https://blogs.nvidia.com/blog/nemotron-4-synthetic-data-generation-llm-training/">NVIDIA Nemotron-4 340B: A SOTA Open Synthetic DataGen Pipeline</a></p></li><li><p><a href="https://www.lamini.ai/blog/lamini-memory-tuning">[new] Memory Tuning: 95% LLM Accuracy, 10x Fewer Hallucinations</a></p></li><li><p><a href="https://microsoft.github.io/generative-ai-for-beginners/#/">[free, very comprehensive] Generative AI for Beginners v2, 18 Lessons</a></p></li><li><p><a href="https://www.youtube.com/watch?v=orDKvo8h71o&amp;list=PLoROMvodv4rNiJRchCzutFw5ItR_Z27CM&amp;index=33">[great] Stanford CS25 v4: A Highly Opinionated View on Transformers</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://www.youtube.com/watch?v=l8pRSuU81PU">[mega session] Karpathy&#8217;s </a><em><a href="https://www.youtube.com/watch?v=l8pRSuU81PU">Let&#8217;s Reproduce GPT-2</a></em></p></li><li><p><a href="https://www.youtube.com/watch?v=p0I-hwZSWMs">Function Calling with OpenAI APIs: A Crash Course</a></p></li><li><p><a href="https://github.com/alipay/agentUniverse">agentUniverse - An Apache 2.0 Framework for Multi-Agent Apps</a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://arxiv.org/pdf/2406.08929">[free] Step-by-Step Diffusion: An Elementary Tutorial (pdf)</a></p></li><li><p><a href="https://machinelearning.apple.com/research/introducing-apple-foundation-models">[official] Intro to Apple&#8217;s On-Device &amp; Server Foundation Models</a></p></li><li><p><a href="https://sakana.ai/llm-squared/">Can LLMs Invent Better Ways to Train LLMs? An Auto-Evolutionary Approach</a></p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://arxiv.org/abs/2406.09308">DeepMind - Transformers Meet Neural Algorithmic Reasoners</a></p></li><li><p><a href="https://arxiv.org/abs/2406.04692">Together.ai - Mixture of Agents (MoAs) Enhances LLMs Capabilities</a></p></li><li><p><a href="https://github.com/microsoft/Samba">MSR - Samba: Mamba SSM + MLP + Sliding Window for Unlimited Context</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://langfuse.com">LangFuse - An Open Source LLM Engineering Platform</a> </p></li><li><p><a href="https://medium.com/nebius/slurm-vs-kubernetes-which-to-choose-for-your-ml-workloads-23e398ce7ece">Choosing Slurm vs Kubernetes for Modern ML Workloads</a></p></li><li><p><a href="https://medium.com/@mlengineering/llm-monitoring-and-observability-tools-tips-and-best-practices-98ea16f533a7">LLM Monitoring and Observability: Tools, Tips &amp; Best Practices</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://www.haqtu.me/Recap-Datacomp-1B/">What If We Recaption Billions of Web Images with LLaMA-3?</a></p></li><li><p><a href="https://arxiv.org/abs/2406.08673">NVIDIA HelpSteer2: An Open Dataset for Training Top Reward Models</a></p></li><li><p><a href="https://huggingface.co/datasets/NousResearch/CharacterCodex">Character Codex: A Dataset of Characters in Comics, Movies, TV Shows for GenAI</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-257?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-257?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-257?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #256]]></title><description><![CDATA[State Space Models (SSMs) An Alt to Transformers? Mamba-2. Chimera SSM Time-series. Audio Mamba. Sonic SSM Gen Voice. mamba.np. OSS Qwen-2 SOTA MLs. OSS LeRobot SOTA Robotics. Buffer of Thoughts.]]></description><link>https://datamachina.substack.com/p/data-machina-256</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-256</guid><dc:creator><![CDATA[Carlos]]></dc:creator><pubDate>Sun, 09 Jun 2024 10:29:24 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612978ed-7ef0-4cfa-a9e4-e195c32ae038_1432x742.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>State Space Models (SSMs): An Alt to Transformers? </strong>SSMs are not something <em>new</em>; they&#8217;ve been successfully applied in many fields like control systems, physics, economics... For now, transformers are the kings in sequence modelling. But recently, some researchers and startups are starting to use a specific type of SSM to solve some of the sequence modelling issues that Transformers suffer from. SSMs as an Alt to Transformers? Let&#8217;s see:</p><p>First, let me share <strong>3 nice intros to SSMs</strong>:</p><ul><li><p><a href="https://freedium.cfd/https://medium.com/thedeephub/gentle-introduction-to-state-space-models-e8cd7501e0cf">A gentle introduction to SSMs</a>. In this post, jorgecadete explains SSMs from a basic point of view. By the end of this post, you will not be an expert, but at least you will have a robust idea about why they are a fundamental concept in ML.</p></li><li><p><a href="https://huggingface.co/blog/lbourdois/get-on-the-ssm-train">Hugging Face introduction to SSMs</a>. There are many types of SSMs. In the context of DL, when we speak of SSMs, we are referring to a subset of existing representations, namely linear invariant (or stationary) systems.</p></li><li><p><a href="https://newsletter.maartengrootendorst.com/p/a-visual-guide-to-mamba-and-state">SSMs and a visual guide to Mamba</a>. This is such a beautiful, clearly structured post! Maaten introduces SSMs in the context of LMs and explores concepts one by one to develop an intuition about the field. Then, he covers how Mamba might challenge the Transformers architecture. Brilliant! </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://newsletter.maartengrootendorst.com/p/a-visual-guide-to-mamba-and-state" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!84Rz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1941c608-c4bd-4a85-b7c1-76eccd02e1af_1218x722.png 424w, https://substackcdn.com/image/fetch/$s_!84Rz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1941c608-c4bd-4a85-b7c1-76eccd02e1af_1218x722.png 848w, https://substackcdn.com/image/fetch/$s_!84Rz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1941c608-c4bd-4a85-b7c1-76eccd02e1af_1218x722.png 1272w, https://substackcdn.com/image/fetch/$s_!84Rz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1941c608-c4bd-4a85-b7c1-76eccd02e1af_1218x722.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!84Rz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1941c608-c4bd-4a85-b7c1-76eccd02e1af_1218x722.png" width="382" height="226.440065681445" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1941c608-c4bd-4a85-b7c1-76eccd02e1af_1218x722.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:722,&quot;width&quot;:1218,&quot;resizeWidth&quot;:382,&quot;bytes&quot;:97403,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://newsletter.maartengrootendorst.com/p/a-visual-guide-to-mamba-and-state&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!84Rz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1941c608-c4bd-4a85-b7c1-76eccd02e1af_1218x722.png 424w, https://substackcdn.com/image/fetch/$s_!84Rz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1941c608-c4bd-4a85-b7c1-76eccd02e1af_1218x722.png 848w, https://substackcdn.com/image/fetch/$s_!84Rz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1941c608-c4bd-4a85-b7c1-76eccd02e1af_1218x722.png 1272w, https://substackcdn.com/image/fetch/$s_!84Rz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1941c608-c4bd-4a85-b7c1-76eccd02e1af_1218x722.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div></li></ul><p><strong>SSMs and the new Mamba-2</strong>. The <a href="https://arxiv.org/abs/2312.00752">Mamba paper (v2 May 2024)</a> was indeed a breakthrough. Now the new Mamba-2 is out. Albert and Tri, the original devs of Mamba, just posted a fantastic blog series that covers the model, the theory, the algo, and the systems behind Mamba-2. Blogpost: <a href="https://tridao.me/blog/2024/mamba2-part1-model/">State Space Duality (Mamba-2) Part I-IV</a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://tridao.me/blog/2024/mamba2-part1-model/" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CRpM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612978ed-7ef0-4cfa-a9e4-e195c32ae038_1432x742.png 424w, https://substackcdn.com/image/fetch/$s_!CRpM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612978ed-7ef0-4cfa-a9e4-e195c32ae038_1432x742.png 848w, https://substackcdn.com/image/fetch/$s_!CRpM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612978ed-7ef0-4cfa-a9e4-e195c32ae038_1432x742.png 1272w, https://substackcdn.com/image/fetch/$s_!CRpM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612978ed-7ef0-4cfa-a9e4-e195c32ae038_1432x742.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!CRpM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612978ed-7ef0-4cfa-a9e4-e195c32ae038_1432x742.png" width="460" height="238.35195530726256" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/612978ed-7ef0-4cfa-a9e4-e195c32ae038_1432x742.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:742,&quot;width&quot;:1432,&quot;resizeWidth&quot;:460,&quot;bytes&quot;:192101,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://tridao.me/blog/2024/mamba2-part1-model/&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!CRpM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612978ed-7ef0-4cfa-a9e4-e195c32ae038_1432x742.png 424w, https://substackcdn.com/image/fetch/$s_!CRpM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612978ed-7ef0-4cfa-a9e4-e195c32ae038_1432x742.png 848w, https://substackcdn.com/image/fetch/$s_!CRpM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612978ed-7ef0-4cfa-a9e4-e195c32ae038_1432x742.png 1272w, https://substackcdn.com/image/fetch/$s_!CRpM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612978ed-7ef0-4cfa-a9e4-e195c32ae038_1432x742.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><p><strong>SSMs as an alternative to Transformers</strong>. This is a recent, fully comprehensive survey on SSMs by researchers at MSR. Although Transformers dominate sequence modelling tasks, they suffer from attention complexity and handling inductive bias for long sequences. SSMs have emerged as a promising alt for sequence modelling paradigms. Read the survey here: <a href="https://github.com/badripatro/mamba360">Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challenges</a>.</p><p><strong>SSMs for time-series forecasting &amp; anomaly detection</strong>. A few days ago researchers at Cornell &amp; NYU introduced Chimera: A new 2-dim SSM, that shows superior performance on extensive and diverse benchmarks, including ECG and speech time series classification, long-term and short-term time series forecasting, and time series anomaly detection. Paper: <a href="https://arxiv.org/abs/2406.04320">Chimera: Effectively Modeling Multivariate Time Series with 2-Dimensional State Space Models</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://arxiv.org/abs/2406.04320" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Oibi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cde3b3e-dfe5-4f46-9317-0215b15adfca_1574x710.png 424w, https://substackcdn.com/image/fetch/$s_!Oibi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cde3b3e-dfe5-4f46-9317-0215b15adfca_1574x710.png 848w, https://substackcdn.com/image/fetch/$s_!Oibi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cde3b3e-dfe5-4f46-9317-0215b15adfca_1574x710.png 1272w, https://substackcdn.com/image/fetch/$s_!Oibi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cde3b3e-dfe5-4f46-9317-0215b15adfca_1574x710.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Oibi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cde3b3e-dfe5-4f46-9317-0215b15adfca_1574x710.png" width="464" height="209.37362637362637" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2cde3b3e-dfe5-4f46-9317-0215b15adfca_1574x710.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:657,&quot;width&quot;:1456,&quot;resizeWidth&quot;:464,&quot;bytes&quot;:483112,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://arxiv.org/abs/2406.04320&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Oibi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cde3b3e-dfe5-4f46-9317-0215b15adfca_1574x710.png 424w, https://substackcdn.com/image/fetch/$s_!Oibi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cde3b3e-dfe5-4f46-9317-0215b15adfca_1574x710.png 848w, https://substackcdn.com/image/fetch/$s_!Oibi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cde3b3e-dfe5-4f46-9317-0215b15adfca_1574x710.png 1272w, https://substackcdn.com/image/fetch/$s_!Oibi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cde3b3e-dfe5-4f46-9317-0215b15adfca_1574x710.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><p><strong>SSMs for real-time voice &amp; speech generation</strong>. Last week, Cartesian.ai - a startup specialised in multimodal intelligence in any device- announced Sonic, a super-low latency voice generation model that uses SSMs. The Chief Scientist at Sonic was one of the original developers of <a href="https://arxiv.org/abs/2111.00396">S4-Structured State Space Sequence model</a> and Mamba. In this blogpost he explains why an SSM inference stack enables low latency and high throughput for voice generation.  <a href="https://cartesia.ai/blog/sonic">Announcing Sonic: A Low-Latency Voice Model for Lifelike Speech</a></p><p><strong>SSMs for audio</strong>. A new paper introducing Audio Mamba, an SSM for learning general-purpose audio representations from randomly masked spectrogram patches through self-supervision. The researchers claim that Audio Mamba consistently outperforms comparable self-supervised audio spectrogram transformer (SSAST) baselines by a considerable margin. Paper: <a href="https://arxiv.org/abs/2406.02178">Audio Mamba: Selective State Spaces for Self-Supervised Audio Representations</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://arxiv.org/abs/2406.02178" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kl1N!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6029c81-3c74-4181-a010-e6ac85e9f93f_1614x450.png 424w, https://substackcdn.com/image/fetch/$s_!kl1N!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6029c81-3c74-4181-a010-e6ac85e9f93f_1614x450.png 848w, https://substackcdn.com/image/fetch/$s_!kl1N!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6029c81-3c74-4181-a010-e6ac85e9f93f_1614x450.png 1272w, https://substackcdn.com/image/fetch/$s_!kl1N!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6029c81-3c74-4181-a010-e6ac85e9f93f_1614x450.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kl1N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6029c81-3c74-4181-a010-e6ac85e9f93f_1614x450.png" width="514" height="143.32692307692307" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d6029c81-3c74-4181-a010-e6ac85e9f93f_1614x450.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:406,&quot;width&quot;:1456,&quot;resizeWidth&quot;:514,&quot;bytes&quot;:155124,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://arxiv.org/abs/2406.02178&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!kl1N!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6029c81-3c74-4181-a010-e6ac85e9f93f_1614x450.png 424w, https://substackcdn.com/image/fetch/$s_!kl1N!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6029c81-3c74-4181-a010-e6ac85e9f93f_1614x450.png 848w, https://substackcdn.com/image/fetch/$s_!kl1N!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6029c81-3c74-4181-a010-e6ac85e9f93f_1614x450.png 1272w, https://substackcdn.com/image/fetch/$s_!kl1N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6029c81-3c74-4181-a010-e6ac85e9f93f_1614x450.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong>A contrarian view to SSMs as an alt to Transformers</strong>. Two days ago, researchers at AllenAI &amp; NYU, published the latest update of a paper downplaying SSMs as an alt to Transformers. &#8220;<em>Do SSMs truly have an advantage over transformers in expressive power for state tracking? Surprisingly, the answer is no</em>.&#8221; The researchers claim that SSMs have similar limitations to non-recurrent models like transformers, which may fundamentally limit their ability to solve real-world state-tracking problems. <a href="https://arxiv.org/abs/2404.08819">Paper: The Illusion of State in State-Space Models</a>.</p><p><strong>Bonus: Mamba in NumPy</strong>. mamba.np is <a href="https://github.com/idoh/mamba.np">a new, pure NumPy implementation of Mamba</a> </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://github.com/idoh/mamba.np" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!RPgj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9975cacd-01fc-4d2f-b2fa-ff037e12a9d6_1024x1024.jpeg 424w, https://substackcdn.com/image/fetch/$s_!RPgj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9975cacd-01fc-4d2f-b2fa-ff037e12a9d6_1024x1024.jpeg 848w, https://substackcdn.com/image/fetch/$s_!RPgj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9975cacd-01fc-4d2f-b2fa-ff037e12a9d6_1024x1024.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!RPgj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9975cacd-01fc-4d2f-b2fa-ff037e12a9d6_1024x1024.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!RPgj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9975cacd-01fc-4d2f-b2fa-ff037e12a9d6_1024x1024.jpeg" width="156" height="156" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9975cacd-01fc-4d2f-b2fa-ff037e12a9d6_1024x1024.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:156,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;mamba.np&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://github.com/idoh/mamba.np&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="mamba.np" title="mamba.np" srcset="https://substackcdn.com/image/fetch/$s_!RPgj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9975cacd-01fc-4d2f-b2fa-ff037e12a9d6_1024x1024.jpeg 424w, https://substackcdn.com/image/fetch/$s_!RPgj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9975cacd-01fc-4d2f-b2fa-ff037e12a9d6_1024x1024.jpeg 848w, https://substackcdn.com/image/fetch/$s_!RPgj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9975cacd-01fc-4d2f-b2fa-ff037e12a9d6_1024x1024.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!RPgj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9975cacd-01fc-4d2f-b2fa-ff037e12a9d6_1024x1024.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://www.parcha.com/blog/agents-arent-all-you-need">Lessons Learned: AI Agents is Not All you Need</a></p></li><li><p><a href="https://research.google/blog/ai-in-software-engineering-at-google-progress-and-the-path-ahead/">How We Use AI in Software Engineering at Google</a></p></li><li><p><a href="https://openai.com/index/extracting-concepts-from-gpt-4/">A New Way to Extract Interpretable Features from GPT-4</a></p></li><li><p><a href="https://www.youtube.com/watch?v=TxhhMTOTMDg">What is AI Mechanistic Interpretability? An Intro by Anthropic</a></p></li><li><p><a href="https://qwenlm.github.io/blog/qwen2/">Hello Qwen2 Family? The New SOTA in Open Source LMs</a></p></li><li><p><a href="https://www.shaped.ai/blog/is-this-the-chatgpt-moment-for-recommendation-systems">Generative Recommenders: A New, Powerful Paradigm for RecSys</a></p></li><li><p><a href="https://github.com/huggingface/lerobot">Hugging Face LeRobot: A New, SOTA E2E for Real-world Robotics</a></p></li><li><p><a href="https://blog.nomic.ai/posts/nomic-embed-vision">Nomic Embed Vision &amp; Opensource Multi-Modal Embedding Models</a> </p></li><li><p><a href="https://www.oranlooney.com/post/gpt-cnn/">A Picture is Worth 170 Tokens: How Does GPT-4o Encode Images?</a></p></li><li><p><a href="https://docs.aws.amazon.com/solutions/latest/qnabot-on-aws/aws-well-architected-pillars.html">A Super Detailed Guide to implement a QnABot on AWS (June 2024)</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://mlx-graphs.github.io/mlx-graphs/">Apple MLX-graphs - A Fast, Scalable Opensource Lib for GraphNNs</a></p></li><li><p><a href="https://docs.cohere.com/page/cookbooks#agents">The Cohere AI Agents Cookbook - A Collection of 10 iPynbs</a></p></li><li><p><a href="https://github.com/Lightning-AI/litgpt">LitGPT- Pretrain, finetune, evaluate, and deploy 20+ LLMs on your own data with SOTA Techniques</a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://robotchinwag.com/posts/the-tensor-calculus-you-need-for-deep-learning/">The Tensor Calculus You Need for Deep Learning</a></p></li><li><p><a href="https://www.youtube.com/watch?v=TLHYwbrhGJc">[lecture] Statistical Physics of Machine Learning, May 2024</a></p></li><li><p><a href="https://proceedings.mlr.press/v241/">PMLR Vol. 241 Machine Learning with Imbalanced Domains</a></p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://arxiv.org/abs/2406.02528">[trending] Scalable MatMul-free Language Modelling (paper &amp; repo)</a></p></li><li><p><a href="https://arxiv.org/abs/2406.04271v1">Buffer of Thoughts: Thought-Augmented Reasoning with LLMs</a></p></li><li><p><a href="https://arxiv.org/abs/2405.20445">GraphAny: A Foundation Model for Node Classification on Any Graph</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://www.youtube.com/watch?v=mlU26_cObcA">Testing Models In Production Using Interleaving Experiments</a></p></li><li><p><a href="https://medium.com/cyberark-engineering/an-llm-journey-from-poc-to-production-6c5ec6a172fb">The LLM Journey: From POC to Production in the Real-World</a></p></li><li><p><a href="https://medium.com/@opelliusai/owl-ml-streamlining-mlflow-for-automated-building-training-and-validation-of-models-d6ad1c62bc12">Adapting MLflow to Automate Building, Training, &amp; Validation of Models</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://www.zyphra.com/zyda">Zyda: 1.3T Trillion-token Open Dataset for Language Modelling</a></p></li><li><p><a href="https://grouplens.org/datasets/movielens/ml_belief_2024/">MovieLens Belief 2024 Dataset for Movie Recommendations</a></p></li><li><p><a href="https://juanmontesinos.com/Solos/">Solos: A Dataset for Audio-Visual Music Analysis - Experiments</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-256?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-256?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-256?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #255]]></title><description><![CDATA[New Trends in AI-RAG and Graphs. GRAG. GNN-RAG. Property Graph. Unified RAG+LangGraph. GenAI Mindset. Transformer Agents 2.0. Falcon 2.0 11B LLMS/ VLMS. ToonCrafter. MusePose. ColdFusion. SymbCoT.]]></description><link>https://datamachina.substack.com/p/data-machina-255</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-255</guid><dc:creator><![CDATA[Carlos]]></dc:creator><pubDate>Sun, 02 Jun 2024 10:29:17 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbc52ff5-43eb-4239-8ab4-fe3f812599aa_2120x940.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>New Trends in AI-RAG and Graphs.</strong> I&#8217;ve been doing a bit of research on how to improve RAG with graphs. I&#8217;m especially interested in augmenting agentic-RAG with the knowledge graph. A while back, Maya @Neo4j wrote a nice article on <a href="https://neo4j.com/blog/future-ai-machine-learning-knowledge-graphs/">The Future of AI: Machine Learning and Knowledge Graphs</a>. I think that makes sense to me. Let me share some new, interesting stuff on RAG and Graphs:</p><p><strong>Graph RAG</strong>. Unlike RAG approaches that focus solely on text-based entity retrieval, GRAG maintains an acute awareness of graph topology, which is crucial for generating contextually and factually coherent responses. The researchers claim that GRAG significantly outperforms current SOTA RAG methods while effectively mitigating hallucinations. Paper: <a href="https://arxiv.org/abs/2405.16506">GRAG: Graph Retrieval-Augmented Generation</a>. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2405.16506" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cC5W!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79437ffc-47b7-475f-b830-efa3df1ba6ee_2318x1004.png 424w, https://substackcdn.com/image/fetch/$s_!cC5W!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79437ffc-47b7-475f-b830-efa3df1ba6ee_2318x1004.png 848w, https://substackcdn.com/image/fetch/$s_!cC5W!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79437ffc-47b7-475f-b830-efa3df1ba6ee_2318x1004.png 1272w, https://substackcdn.com/image/fetch/$s_!cC5W!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79437ffc-47b7-475f-b830-efa3df1ba6ee_2318x1004.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cC5W!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79437ffc-47b7-475f-b830-efa3df1ba6ee_2318x1004.png" width="576" height="249.62637362637363" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/79437ffc-47b7-475f-b830-efa3df1ba6ee_2318x1004.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:631,&quot;width&quot;:1456,&quot;resizeWidth&quot;:576,&quot;bytes&quot;:815876,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://arxiv.org/abs/2405.16506&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!cC5W!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79437ffc-47b7-475f-b830-efa3df1ba6ee_2318x1004.png 424w, https://substackcdn.com/image/fetch/$s_!cC5W!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79437ffc-47b7-475f-b830-efa3df1ba6ee_2318x1004.png 848w, https://substackcdn.com/image/fetch/$s_!cC5W!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79437ffc-47b7-475f-b830-efa3df1ba6ee_2318x1004.png 1272w, https://substackcdn.com/image/fetch/$s_!cC5W!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79437ffc-47b7-475f-b830-efa3df1ba6ee_2318x1004.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Graph NNs+RAG</strong>. This paper introduces a novel method for combining language understanding abilities of LLMs with the reasoning abilities of Graph Neural Nets (GNNs) in a retrieval-augmented generation (RAG) style. The researches claim that GNN-RAG achieves SOTA performance in two widely used KGQA benchmarks, outperforming or matching GPT-4. In addition, the researches say that GNN-RAG excels on multi-hop and multi-entity questions outperforming other approaches by 8.9 - 15.5%. Paper: <a href="https://arxiv.org/abs/2405.20139">GNN-RAG: Graph Neural Retrieval for LLM Reasoning</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2405.20139" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!M7g7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbc52ff5-43eb-4239-8ab4-fe3f812599aa_2120x940.png 424w, https://substackcdn.com/image/fetch/$s_!M7g7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbc52ff5-43eb-4239-8ab4-fe3f812599aa_2120x940.png 848w, https://substackcdn.com/image/fetch/$s_!M7g7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbc52ff5-43eb-4239-8ab4-fe3f812599aa_2120x940.png 1272w, https://substackcdn.com/image/fetch/$s_!M7g7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbc52ff5-43eb-4239-8ab4-fe3f812599aa_2120x940.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!M7g7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbc52ff5-43eb-4239-8ab4-fe3f812599aa_2120x940.png" width="594" height="263.5467032967033" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cbc52ff5-43eb-4239-8ab4-fe3f812599aa_2120x940.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:646,&quot;width&quot;:1456,&quot;resizeWidth&quot;:594,&quot;bytes&quot;:293654,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://arxiv.org/abs/2405.20139&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!M7g7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbc52ff5-43eb-4239-8ab4-fe3f812599aa_2120x940.png 424w, https://substackcdn.com/image/fetch/$s_!M7g7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbc52ff5-43eb-4239-8ab4-fe3f812599aa_2120x940.png 848w, https://substackcdn.com/image/fetch/$s_!M7g7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbc52ff5-43eb-4239-8ab4-fe3f812599aa_2120x940.png 1272w, https://substackcdn.com/image/fetch/$s_!M7g7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbc52ff5-43eb-4239-8ab4-fe3f812599aa_2120x940.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>LlamaIndex+Neo4j: The Property Graph Index</strong>. Traditional knowledge graph representations like knowledge triples (subject, predicate, object) are limited. They lack the ability to: 1) Assign labels and properties to nodes and relationships, 2) Represent text nodes as vectors, and 3) Perform both vector and symbolic retrieval embeddings. The Property Graph Index solves these issues. By using a labelled property graph representations, it enables far richer modelling, storage and querying of your knowledge graph. Blogpost:<a href="https://www.llamaindex.ai/blog/introducing-the-property-graph-index-a-powerful-new-way-to-build-knowledge-graphs-with-llms"> Introducing the Property Graph Index: A Powerful New Way to Build Knowledge Graphs with LLMs</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://www.llamaindex.ai/blog/introducing-the-property-graph-index-a-powerful-new-way-to-build-knowledge-graphs-with-llms" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZugU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b91fa2d-b668-4270-992c-b5a9f0f8ba2e_1784x1044.png 424w, https://substackcdn.com/image/fetch/$s_!ZugU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b91fa2d-b668-4270-992c-b5a9f0f8ba2e_1784x1044.png 848w, https://substackcdn.com/image/fetch/$s_!ZugU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b91fa2d-b668-4270-992c-b5a9f0f8ba2e_1784x1044.png 1272w, https://substackcdn.com/image/fetch/$s_!ZugU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b91fa2d-b668-4270-992c-b5a9f0f8ba2e_1784x1044.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZugU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b91fa2d-b668-4270-992c-b5a9f0f8ba2e_1784x1044.png" width="438" height="256.3021978021978" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6b91fa2d-b668-4270-992c-b5a9f0f8ba2e_1784x1044.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:852,&quot;width&quot;:1456,&quot;resizeWidth&quot;:438,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://www.llamaindex.ai/blog/introducing-the-property-graph-index-a-powerful-new-way-to-build-knowledge-graphs-with-llms&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!ZugU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b91fa2d-b668-4270-992c-b5a9f0f8ba2e_1784x1044.png 424w, https://substackcdn.com/image/fetch/$s_!ZugU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b91fa2d-b668-4270-992c-b5a9f0f8ba2e_1784x1044.png 848w, https://substackcdn.com/image/fetch/$s_!ZugU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b91fa2d-b668-4270-992c-b5a9f0f8ba2e_1784x1044.png 1272w, https://substackcdn.com/image/fetch/$s_!ZugU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b91fa2d-b668-4270-992c-b5a9f0f8ba2e_1784x1044.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Unifying RAG frameworks with LangGraph</strong>. In think this is one of the best, practical implementations of advanced RAG I&#8217;ve seen. The idea is to combine three of the most advanced RAG frameworks using LangGraph: Corrective Retrieval Augmented Generation (CRAG), Self-Reflective Retrieval-Augmented Generation (Self-RAG) , and an Adaptive QA framework. A great read! Blogpost: <a href="https://freedium.cfd/https://ai.gopubby.com/unifying-rag-frameworks-harnessing-the-power-of-adaptive-routing-corrective-fallback-and-1af2545fbfb3?gi=4add0bb2eb42">Unifying RAG Frameworks: Harnessing the Power of Adaptive Routing, Corrective Fallback, and Self-Correction using Langchain&#8217;s LangGraph</a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://freedium.cfd/https://ai.gopubby.com/unifying-rag-frameworks-harnessing-the-power-of-adaptive-routing-corrective-fallback-and-1af2545fbfb3?gi=4add0bb2eb42" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!k_Zg!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806a3b6d-23b8-4d3c-954a-31159e5865f5_700x167.png 424w, https://substackcdn.com/image/fetch/$s_!k_Zg!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806a3b6d-23b8-4d3c-954a-31159e5865f5_700x167.png 848w, https://substackcdn.com/image/fetch/$s_!k_Zg!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806a3b6d-23b8-4d3c-954a-31159e5865f5_700x167.png 1272w, https://substackcdn.com/image/fetch/$s_!k_Zg!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806a3b6d-23b8-4d3c-954a-31159e5865f5_700x167.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!k_Zg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806a3b6d-23b8-4d3c-954a-31159e5865f5_700x167.png" width="674" height="160.79714285714286" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/806a3b6d-23b8-4d3c-954a-31159e5865f5_700x167.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:167,&quot;width&quot;:700,&quot;resizeWidth&quot;:674,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;None&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://freedium.cfd/https://ai.gopubby.com/unifying-rag-frameworks-harnessing-the-power-of-adaptive-routing-corrective-fallback-and-1af2545fbfb3?gi=4add0bb2eb42&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="None" title="None" srcset="https://substackcdn.com/image/fetch/$s_!k_Zg!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806a3b6d-23b8-4d3c-954a-31159e5865f5_700x167.png 424w, https://substackcdn.com/image/fetch/$s_!k_Zg!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806a3b6d-23b8-4d3c-954a-31159e5865f5_700x167.png 848w, https://substackcdn.com/image/fetch/$s_!k_Zg!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806a3b6d-23b8-4d3c-954a-31159e5865f5_700x167.png 1272w, https://substackcdn.com/image/fetch/$s_!k_Zg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806a3b6d-23b8-4d3c-954a-31159e5865f5_700x167.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><p><strong>Multi-Agent Collaboration with LangGraph</strong>. If you're building AI agents, this article will show you how to build an optimal autonomous research multi-agent assistant using LangGraph. Blogpost: <a href="https://blog.langchain.dev/how-to-build-the-ultimate-ai-automation-with-multi-agent-collaboration/">How to Build the Ultimate AI Automation with Multi-Agent Collaboration</a>. </p><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://hugobowne.github.io/hugo-blog/posts/gen-ai-atomic-units/">The GenAI Mindset: Combining Atomic Units</a></p></li><li><p><a href="https://www.oreilly.com/radar/what-we-learned-from-a-year-of-building-with-llms-part-ii/">What We Learned from a Year of Building with LLMs (Part II &amp; I)</a></p></li><li><p><a href="https://huggingface.co/blog/agents">[deep dive] Intro to the New Transformer Agents 2.0</a></p></li><li><p><a href="https://events.openai.com/openaibuildhourfunctioncalling">OpenAI Build Hour: An In-Depth Intro to Function Calling</a></p></li><li><p><a href="https://arxiv.org/abs/2405.17247">[mega paper] An Introduction to Vision-Language Modelling</a></p></li><li><p><a href="https://www.nannyml.com/blog/data-drift-estimate-model-performance">Better Ways to Detect ML Model Degradation than Data Drift</a></p></li><li><p><a href="https://www.philschmid.de/cost-generative-ai">Understanding the Cost of Generative AI Models in Production</a></p></li><li><p><a href="https://huggingface.co/blog/falcon2-11b">[overview] New Falcon 2.0 11B: Next-gen Open-source LLMs &amp; VLMs</a></p></li><li><p><a href="https://huggingface.co/spaces/Doubiiu/tooncrafter">ToonCrafter: A New, OSS Generative Cartoons Model (demo, repo, paper)</a></p></li><li><p><a href="https://huggingface.co/spaces/HuggingFaceFW/blogpost-fineweb-v1">[interactive] FineWeb: Decanting The Web for the Finest Text Data at Scale</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://github.com/Nixtla/nixtla/tree/main/experiments/foundation-time-series-arena">Benchmarking Foundation Models for Time Series</a></p></li><li><p><a href="https://github.com/stanfordnlp/dspy/blob/main/examples/agents/multi_agent.ipynb">How to Bootstrap &amp; Aggregate Multiple ReAct Agents with DSPy</a></p></li><li><p><a href="https://github.com/TMElyralab/MusePose">MusePose: A Pose-Driven Img-2-Vid Framework for Virtual Human Generation</a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://mlcollective.org/dlct/">ML Collective - DL Classics &amp; Trends (slides &amp; papers)</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/towards-data-science/n-hits-making-deep-learning-for-time-series-forecasting-more-efficient-d00956fc3e93">N-HiTS&#8202;&#8212;&#8202;Making DL for Time Series Forecasting More Efficient</a></p></li><li><p><a href="https://huggingface.co/blog/train-sentence-transformers">How to Train &amp; Finetune Embedding Models with Sentence Transformers v3</a></p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://arxiv.org/abs/2405.20341v1">ColdFusion: Zero-shot Anomaly Detection (paper &amp; repo)</a></p></li><li><p><a href="https://arxiv.org/abs/2405.18357">SymbCoT: Faithful Logical Reasoning via Symbolic Chain-of-Thought</a></p></li><li><p><a href="https://arxiv.org/abs/2405.15613">Automatic Data Curation for S-S Learning: A Clustering-Based Approach</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://www.deeplearning.ai/short-courses/llmops/">[free course] LLMOps for Supervised Instruction Tuning</a></p></li><li><p><a href="https://neptune.ai/blog/scaling-machine-learning-experiments-with-neptune-kubernetes">Scaling ML Experiments with neptune.ai and Kubernetes </a></p></li><li><p><a href="https://www.youtube.com/playlist?list=PLw-i55H2Io6i7oaSoQSfMNGibiXtfr1Mn">[free course] Modern MLOps with MLFlow (16 video sessions)</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://wandb.ai/byyoung3/mlnews3/reports/How-to-fine-tune-Phi-3-vision-on-a-custom-dataset--Vmlldzo4MTEzMTg3">How to Fine-tune Phi-3 Vision Model on a Custom Dataset</a></p></li><li><p><a href="https://duckdb.org/2024/05/29/access-150k-plus-datasets-from-hugging-face-with-duckdb">How to Access +150K Datasets in Hugging Face with DuckDB</a></p></li><li><p><a href="https://huggingface.co/datasets/TIGER-Lab/MMLU-Pro">MMLU-Pro: 12K Complex Questions Answered Across 14 Disciplines</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-255?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-255?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-255?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #254]]></title><description><![CDATA[State of AI Coding Agents. SWE-Agent. Amazon Q. Devin. OpenDevin. Devika. Blackbox AI. GPT-Engineer. ChatDev. KHOJ Personal AI Agents. Perplexica. CogVLM2. World Models.]]></description><link>https://datamachina.substack.com/p/data-machina-254</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-254</guid><pubDate>Sun, 26 May 2024 11:37:40 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdef668b8-2e6d-485b-b194-03d06b8eb579_1000x720.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>On the State of AI Coding Agents. </strong>&#8220;<em>How could we start using AI to migrate years of messy, flimsy legacy code to a modern stack? </em>...  Perhaps <em>an AI Code Migration Agent ???</em>&#8221; </p><p>We&#8217;re doing AI chat &amp; espresso at Level 39, One Canada Square. James -a veteran CTO with all the scars- is asking these rather funny, rhetorical questions. There is a deep silence in the room, pensive faces around. Everyone is staring through the massive windows overlooking The City skyline as the sunset strikes. We wonder in perplexity -in the very philosophical and information theory sense- whether AI Coding Agents are fully ready for such tasks in prod, or not and if yes when&#8230; </p><p><strong>Are AI Coding agents any good at solving real-world coding issues autonomously?</strong> The team at Princeton Language &amp; Intelligence (PL&amp;I) has come up with <a href="https://www.swebench.com">SWE-bench, a benchmark for evaluating AI coding agents (paper, code, benchmark)</a>.  It turns out that current AI Agents are not achieving very good scores in this benchmark yet.</p><p>The PL&amp;I team also <a href="https://swe-agent.com">open sourced SWE-agent</a> an agent that turns LMs (e.g. GPT-4) into software engineering agents that can fix bugs and issues in real GitHub repositories. Checkout the video below with a good hands-on, deep dive.</p><div id="youtube2-RJ6NN8Y-xok" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;RJ6NN8Y-xok&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/RJ6NN8Y-xok?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong>Amazon Q</strong>. The SWE-bench leaderboard is constantly changing but it seems that <a href="https://aws.amazon.com/q/">Amazon Q Developer Agent</a> is for now leading the pack. Amazon Q is a closed model and not very popular in the AI community. It was able to successfully solve only 13.8% out of 2294 tasks. Not a lot really! Here is a vid with a deep dive on Amazon Q.</p><div id="youtube2-sm19L6P-WvQ" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;sm19L6P-WvQ&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/sm19L6P-WvQ?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong>Devin the 1st Autonomous AI Engineer? </strong> In March, Cognition Labs announced <a href="https://www.cognition.ai/blog/introducing-devin">Devin, the world&#8217;s first fully autonomous AI software engineer.</a> Cognition Labs claimed they were setting a new state of the art on the SWE-bench coding benchmark. Devin went viral but then people in the AI community exposed some tricks used in Devin&#8217;s demo. Watch the video below to understand the good, the bad and the ugly of Devin.</p><div id="youtube2-iVbN95ica_k" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;iVbN95ica_k&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/iVbN95ica_k?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong>Open source AI community to the rescue: OpenDevin</strong>. This started as a small side project and has quickly become one of the most popular AI Coding agents projects. <a href="https://github.com/OpenDevin/OpenDevin">OpenDevin agents</a> collaborate with human developers to write code, fix bugs, and ship features. Probably, one of the best open source AI software engineer for developing apps. OpenDevin is now achieving 21% in the swe-bench, the highest score. Checkout the overview below:</p><div id="youtube2-F0Ro4xd5Xas" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;F0Ro4xd5Xas&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/F0Ro4xd5Xas?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong>Devika MIT licensed</strong>. <a href="https://github.com/stitionai/devika">Devika is an Agentic AI Software Engineer</a> that can understand high-level human instructions, break them down into steps, research relevant information, and write code to achieve the given objective. Checkout the vid below.</p><div id="youtube2-eLiMpEIRBzY" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;eLiMpEIRBzY&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/eLiMpEIRBzY?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong>Blackbox AI Coding Agents IDE</strong>. This is a -still free- pretty amazing AI Coding Agents IDE that comes packed with agents specialised in+30 development languages. The agents can perform natural language to code, chat to code, image to code, plus many s/w engineering tasks like: bug fixing, unit testing, code translation, API integration, coding docs, coding optimisation&#8230; Apparently millions of devs use it. <a href="https://www.blackbox.ai/?explore=true">Checkout Blackbox AI&#8217;s playground, agents and features here</a>. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Pt-S!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0f34d73-de3f-4227-814c-d7a059639fce_3612x2370.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Pt-S!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0f34d73-de3f-4227-814c-d7a059639fce_3612x2370.png 424w, https://substackcdn.com/image/fetch/$s_!Pt-S!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0f34d73-de3f-4227-814c-d7a059639fce_3612x2370.png 848w, https://substackcdn.com/image/fetch/$s_!Pt-S!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0f34d73-de3f-4227-814c-d7a059639fce_3612x2370.png 1272w, https://substackcdn.com/image/fetch/$s_!Pt-S!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0f34d73-de3f-4227-814c-d7a059639fce_3612x2370.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Pt-S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0f34d73-de3f-4227-814c-d7a059639fce_3612x2370.png" width="534" height="350.2541208791209" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f0f34d73-de3f-4227-814c-d7a059639fce_3612x2370.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:955,&quot;width&quot;:1456,&quot;resizeWidth&quot;:534,&quot;bytes&quot;:548274,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!Pt-S!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0f34d73-de3f-4227-814c-d7a059639fce_3612x2370.png 424w, https://substackcdn.com/image/fetch/$s_!Pt-S!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0f34d73-de3f-4227-814c-d7a059639fce_3612x2370.png 848w, https://substackcdn.com/image/fetch/$s_!Pt-S!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0f34d73-de3f-4227-814c-d7a059639fce_3612x2370.png 1272w, https://substackcdn.com/image/fetch/$s_!Pt-S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0f34d73-de3f-4227-814c-d7a059639fce_3612x2370.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>GPT-Engineer</strong>. Another popular open source AI engineer, <a href="https://github.com/gpt-engineer-org/gpt-engineer">gpt-engineer</a> lets you: 1) Specify software in natural language, 2) sit back and watch as an AI writes and executes the code, and 3) Ask the AI to implement improvements. Somehow, not sure, but it seems this project perhaps is starting to fall behind other similar projects. In this video Arjan asks: &#8220;<em>Is GPT Engineer Actually Useful?</em>&#8221;</p><div id="youtube2-NLgw19X8p7I" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;NLgw19X8p7I&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/NLgw19X8p7I?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong>ChatDev Virtual Software Company</strong>. This is an amazing, OSS virtual software company that operates through various intelligent agents holding different roles, including CEP, CPO , CTO, programmer, reviewer , tester, art designer&#8230; These agents form a multi-agent organisational structure and are united by a mission to "revolutionise the digital world through programming." The agents within ChatDev collaborate by participating in specialised functional seminars, including tasks such as designing, coding, testing, and documenting. Checkout the repo and paper: <a href="https://github.com/OpenBMB/ChatDev">ChatDev Multi-Agent Collaborative Software Development</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!HqtS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdef668b8-2e6d-485b-b194-03d06b8eb579_1000x720.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HqtS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdef668b8-2e6d-485b-b194-03d06b8eb579_1000x720.png 424w, https://substackcdn.com/image/fetch/$s_!HqtS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdef668b8-2e6d-485b-b194-03d06b8eb579_1000x720.png 848w, https://substackcdn.com/image/fetch/$s_!HqtS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdef668b8-2e6d-485b-b194-03d06b8eb579_1000x720.png 1272w, https://substackcdn.com/image/fetch/$s_!HqtS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdef668b8-2e6d-485b-b194-03d06b8eb579_1000x720.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HqtS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdef668b8-2e6d-485b-b194-03d06b8eb579_1000x720.png" width="480" height="345.6" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/def668b8-2e6d-485b-b194-03d06b8eb579_1000x720.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:720,&quot;width&quot;:1000,&quot;resizeWidth&quot;:480,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;AI Chatbots Transform Software Development&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="AI Chatbots Transform Software Development" title="AI Chatbots Transform Software Development" srcset="https://substackcdn.com/image/fetch/$s_!HqtS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdef668b8-2e6d-485b-b194-03d06b8eb579_1000x720.png 424w, https://substackcdn.com/image/fetch/$s_!HqtS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdef668b8-2e6d-485b-b194-03d06b8eb579_1000x720.png 848w, https://substackcdn.com/image/fetch/$s_!HqtS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdef668b8-2e6d-485b-b194-03d06b8eb579_1000x720.png 1272w, https://substackcdn.com/image/fetch/$s_!HqtS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdef668b8-2e6d-485b-b194-03d06b8eb579_1000x720.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Other less ambitious AI Coding Agents for specific s/w engineering tasks.</strong></p><ul><li><p><a href="https://github.com/Codium-ai/pr-agent">PR-Agent</a> automates the review and analysis of pull requests, and generates feedback and suggestions. </p></li><li><p><a href="https://whatthediff.ai">What The Diff </a>automatically writes pull request descriptions, sends out summarised notifications to non-technical stakeholders in the loop, and helps you to refactor minor issues during the review.</p></li><li><p><a href="https://github.com/Codium-ai/cover-agent">Cover Agent</a> automatically generates qualified tests to enhance existing test suites to help efficiently increasing code coverage. </p><p></p></li></ul><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://mindfront.ai/articles/sixth-sense-for-ai/#fnref:2">An Evolving Sixth Sense for AI</a></p></li><li><p><a href="https://www.youtube.com/watch?v=USTG6sQlB6s">How to Build Terrible AI Systems</a></p></li><li><p><a href="https://www.jasonwei.net/blog/evals">Successful LMs Evals and 7 Mistakes</a></p></li><li><p><a href="https://sweet-hall-e72.notion.site/Automated-LoRA-Discovery-and-Teaching-Neural-Networks-to-make-Neural-Networks-22aa3b5ad66e4bc985ff2c93896538d2">Teaching Neural Nets to Make Neural Nets &amp; Auto LoRA</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/gitconnected/can-a-llm-really-learn-new-things-d926b4502522">On Fine-tuning: Can a LLM Really Learn New Things?</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/@ignacio.de.gregorio.noblejas/the-kan-revolution-arriving-at-ai-a13ff540d4e0">The KAN Revolution Arriving at AI: Death of DL?</a></p></li><li><p><a href="https://huggingface.co/blog/falcon2-11b">An Overview of the new OSS Falcon 2 Family of Models</a> </p></li><li><p><a href="https://github.com/ItzCrazyKns/Perplexica">Perplexica - An OSS AI Search Egine Alt to Perplexity AI</a></p></li><li><p><a href="https://github.com/THUDM/CogVLM2">CogVLM2 - An OSS VL Model with Chat Skills that Beats GPT-4V</a></p></li><li><p><a href="https://www.youtube.com/playlist?list=PL86eLlsPNfygWBnJZ7AXSeHECJrpCdKtu">Meta Tutorials: How to Run Llama-3 on Linux, Windows &amp; MacOS</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://github.com/khoj-ai/khoj?tab=readme-ov-file">KHOJ v1.12 - An OSS App that Creates Personal AI Agents</a></p></li><li><p><a href="https://www.databricks.com/blog/optimizing-databricks-llm-pipelines-dspy">Building a Multi-Tool AI Agent with Databricks DBRX &amp; DSPy</a></p></li><li><p><a href="https://github.com/naklecha/llama3-from-scratch">Implementing Llama-3 from Scratch, One Tensor and MatMul at a Time</a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://drive.google.com/file/d/1s1QqxmUkF7A_tBtiQx4nN-bO2ipFSaoj/view">[tutorial] Diffusion Models in Image &amp; Vision</a></p></li><li><p><a href="https://transformer-circuits.pub/2024/scaling-monosemanticity/index.html">Extracting Millions of Interpretable Features from AI Models in Prod</a></p></li><li><p><a href="https://github.com/rasbt/pycon2024">[tutorial] PyCon US2024 The Fundamentals of Modern DL with PyTorch</a></p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://arxiv.org/abs/2405.03520">Is Sora a World Simulator? A Survey on General World Models and Beyond</a></p></li><li><p><a href="https://world-model.maitrix.org">Pandora: On-the-fly World Model VideoGen with NL (paper, code, demo</a>)</p></li><li><p><a href="https://github.com/eloialonso/diamond">An Atari RL Agent Trained in a Diffusion World Model (paper, code, game)</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://medium.com/@alice-sh-wong/tests-for-topic-drift-in-mlops-and-llmops-6dac0eefc3d4">How to Test for Topics &amp; Embeddings Drift</a></p></li><li><p><a href="https://metaflow.org">OSS Netflix Metaflow v 2.11 - Easily Build &amp; Manage AI/ML Projects</a></p></li><li><p><a href="https://www.youtube.com/watch?v=UKk8EzVaUvg">Breaking Down Workflow Orchestration and Pipeline Authoring in MLOps</a> </p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://bhabhaai.notion.site/Synthetic-Data-Resources-f5d90477f42f484e9b61af16f2fe5e9a">An Awesome Collection of Resources on Synthetic Data</a></p></li><li><p><a href="https://behavior-vision-suite.github.io">BEHAVIOR Vision Suite: Customizable Dataset Generation via Simulation</a></p></li><li><p><a href="https://developer.nvidia.com/blog/curating-custom-datasets-for-llm-training-with-nvidia-nemo-curator/">Curating Custom Datasets for LLM Training with OSS NVIDIA NeMo Curator</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-254?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-254?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-254?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #253]]></title><description><![CDATA[The Google AI Blast. Gemini Pro 1.5. Gemini 1.5 Flash. PaliGemma. Project Astra. Delegation to AI Agents. NVIDIA ChatQA 1.5. Parler-TTS Mini:Expresso. DeepMind CAT3D. Meta AI Chameleon. KANs Explained]]></description><link>https://datamachina.substack.com/p/data-machina-253</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-253</guid><pubDate>Sun, 19 May 2024 10:51:15 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ef0e227-8c76-4f0c-b4c0-ba8e0a428a05_1012x880.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>The Google AI Blast . </strong>This week OpenAI released a new closed model called GPT-4o (as in omni): <a href="https://openai.com/index/hello-gpt-4o/">Hello GPT-4o, a model that can reason across audio, vision, and text in real time</a>. It seems the model performance in many benchmarks wasn&#8217;t as good as many AI pundits expected.</p><p>And while many people in the AI community were befuddled and discussing the &#8220;flirtatiousness&#8221; aspects of GPT-4o, then Google came in and blasted a massive AI storm including SOTA models, new powerful open models, and pretty amazing tools. Here&#8217;s my summary on what Google released: </p><p><strong>Gemini 1.5 Pro model updates:</strong> Lots of improvements in coding, reasoning, translation, multimodality and much more. Some key updates include:</p><ul><li><p><a href="https://ai.google.dev/gemini-api/docs/prompting_with_media?lang=python">multimodal prompting</a> to prompt the model with any text, image, audio, and video data</p></li><li><p><a href="https://ai.google.dev/gemini-api/docs/function-calling">custom function calling</a> to enable real-time interactions with external world</p></li><li><p><a href="https://ai.google.dev/gemini-api/docs/system-instructions">systems instructions</a> to steer the behaviour of the model based on specific requirements or use cases </p></li><li><p><a href="https://ai.google.dev/gemini-api/docs/caching">context caching</a> to reduce the cost of requests that contain repeat content with high input token counts</p></li><li><p>Notably, an extended context size to 2 million tokens! Google researchers say Gemini Pro 1.5 has perfect retrieval (&gt;99%) up to at least 10M tokens, massively beating Claude 3.0 (200k) and GPT-4 Turbo (128k). </p></li></ul><p>If you&#8217;re interested to know more read the technical report: <a href="https://storage.googleapis.com/deepmind-media/gemini/gemini_v1_5_report.pdf">Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context</a></p><p>Also checkout this video demoing Gemini&#8217;s new extended long context</p><div id="youtube2-3N-_lLMDcbs" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;3N-_lLMDcbs&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/3N-_lLMDcbs?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong>New Gemini 1.5 Flash model:</strong> The new, smaller <a href="https://deepmind.google/technologies/gemini/flash/">Gemini 1.5 Flash model </a>is optimised for high-volume, high-frequency tasks at scale, is more cost-efficient to serve. Use it when narrower or high-frequency tasks require fast model&#8217;s response and time matters the most. It features a 1 million a long context window. Check this video on Getting started with Gemini Flash.</p><div id="youtube2-ISWNMBY5-o8" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;ISWNMBY5-o8&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/ISWNMBY5-o8?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong>A new, open Vision-Language Model</strong>. <a href="https://ai.google.dev/gemma/docs/paligemma">PaliGemma</a> is a powerful open VLM inspired by <a href="https://arxiv.org/abs/2310.09199">PaLI-3 model</a>. Built on open components including the SigLIP vision model and the Gemma language model, PaliGemma is designed for class-leading fine-tune performance on a wide range of vision-language tasks. This includes image and short video captioning, visual question answering, understanding text in images, object detection, and object segmentation. Checkout this review by the Hugging Face team: <a href="https://huggingface.co/blog/paligemma">PaliGemma &#8211; Google's Cutting-Edge Open Vision Language Model</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!3J0a!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ef0e227-8c76-4f0c-b4c0-ba8e0a428a05_1012x880.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3J0a!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ef0e227-8c76-4f0c-b4c0-ba8e0a428a05_1012x880.png 424w, https://substackcdn.com/image/fetch/$s_!3J0a!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ef0e227-8c76-4f0c-b4c0-ba8e0a428a05_1012x880.png 848w, https://substackcdn.com/image/fetch/$s_!3J0a!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ef0e227-8c76-4f0c-b4c0-ba8e0a428a05_1012x880.png 1272w, https://substackcdn.com/image/fetch/$s_!3J0a!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ef0e227-8c76-4f0c-b4c0-ba8e0a428a05_1012x880.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3J0a!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ef0e227-8c76-4f0c-b4c0-ba8e0a428a05_1012x880.png" width="348" height="302.60869565217394" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1ef0e227-8c76-4f0c-b4c0-ba8e0a428a05_1012x880.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:880,&quot;width&quot;:1012,&quot;resizeWidth&quot;:348,&quot;bytes&quot;:108442,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!3J0a!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ef0e227-8c76-4f0c-b4c0-ba8e0a428a05_1012x880.png 424w, https://substackcdn.com/image/fetch/$s_!3J0a!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ef0e227-8c76-4f0c-b4c0-ba8e0a428a05_1012x880.png 848w, https://substackcdn.com/image/fetch/$s_!3J0a!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ef0e227-8c76-4f0c-b4c0-ba8e0a428a05_1012x880.png 1272w, https://substackcdn.com/image/fetch/$s_!3J0a!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ef0e227-8c76-4f0c-b4c0-ba8e0a428a05_1012x880.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Announced new Gemma 2 open  model. </strong>A 27 billion parameter model that delivers performance comparable to Mistral and Llama 3 70B at less than half the size. According to Google, this breakthrough efficiency sets a new standard in the open model landscape. <a href="https://techcrunch.com/2024/05/14/google-announces-gemma-2-a-27b-parameter-version-of-its-open-model-launching-in-june/">Gemma 2, a 27B-parameter open model, launching in June</a>.</p><p><strong>Project Astra: Universal interactive AI Agents</strong>. An advanced seeing-and-talking responsive AI agent. The agent uses real-time multi-modality, remembers what it sees and hears to understand context and takes action. It&#8217;s also quite proactive, teachable and personal, and has few delays. Checkout this amazing video demo:</p><div id="youtube2-nXVvvRhiGjI" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;nXVvvRhiGjI&quot;,&quot;startTime&quot;:&quot;5&quot;,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/nXVvvRhiGjI?start=5&amp;rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong>New ML Model Explorer</strong>, a powerful graph visualisation tool that helps one understand, debug, and optimise ML models. It specializes in visualizing large graphs in an intuitive, hierarchical format, but works well for smaller models as well. Blogpost: <a href="https://research.google/blog/model-explorer/">Model Explorer: Graph visualization for large model development</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!yGa4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ab36fc7-1f8b-4f6d-992c-93c65087aa8a_1780x1122.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!yGa4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ab36fc7-1f8b-4f6d-992c-93c65087aa8a_1780x1122.png 424w, https://substackcdn.com/image/fetch/$s_!yGa4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ab36fc7-1f8b-4f6d-992c-93c65087aa8a_1780x1122.png 848w, https://substackcdn.com/image/fetch/$s_!yGa4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ab36fc7-1f8b-4f6d-992c-93c65087aa8a_1780x1122.png 1272w, https://substackcdn.com/image/fetch/$s_!yGa4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ab36fc7-1f8b-4f6d-992c-93c65087aa8a_1780x1122.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!yGa4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ab36fc7-1f8b-4f6d-992c-93c65087aa8a_1780x1122.png" width="506" height="319.0302197802198" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2ab36fc7-1f8b-4f6d-992c-93c65087aa8a_1780x1122.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:918,&quot;width&quot;:1456,&quot;resizeWidth&quot;:506,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!yGa4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ab36fc7-1f8b-4f6d-992c-93c65087aa8a_1780x1122.png 424w, https://substackcdn.com/image/fetch/$s_!yGa4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ab36fc7-1f8b-4f6d-992c-93c65087aa8a_1780x1122.png 848w, https://substackcdn.com/image/fetch/$s_!yGa4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ab36fc7-1f8b-4f6d-992c-93c65087aa8a_1780x1122.png 1272w, https://substackcdn.com/image/fetch/$s_!yGa4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ab36fc7-1f8b-4f6d-992c-93c65087aa8a_1780x1122.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>A new AI Safety framework</strong>. A set of protocols for proactively identifying future AI capabilities that could cause severe harm and putting in place mechanisms to detect and mitigate them. The focus is on severe risks resulting from powerful capabilities at the model level, such as exceptional agency or sophisticated cyber capabilities. Blogpost: <a href="https://deepmind.google/discover/blog/introducing-the-frontier-safety-framework/">Introducing the Frontier Safety Framework</a>. </p><p><strong>A new Generative AI Toolkit</strong> that includes a series of tools to develop and evaluate robust, safe AI apps. It includes an LLM comparator and an interpretability tool. See: <a href="https://ai.google.dev/responsible">Responsible Generative AI Toolkit</a>. </p><p><strong>A new AI Developer competition</strong>.  Build an AI App that integrates with Gemini API. Compete for your share of $1 million in cash prizes. Read more about the competition rules, submission guidelines, prizes, and timeline here: <a href="https://ai.google.dev/competition">Google Gemini API Developer Competition</a>.</p><p><strong>Alice&#8217;s Adventures in Wonderland reimagined by GenAI</strong>.  A set of beautiful interactive stories created by 5 artists using GenAI. Link: <a href="https://infinitewonderland.withgoogle.com">Infinite Wonderland</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!dt-6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa29feee-366c-468a-a6f1-03894a2a1f26_2074x926.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!dt-6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa29feee-366c-468a-a6f1-03894a2a1f26_2074x926.png 424w, https://substackcdn.com/image/fetch/$s_!dt-6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa29feee-366c-468a-a6f1-03894a2a1f26_2074x926.png 848w, https://substackcdn.com/image/fetch/$s_!dt-6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa29feee-366c-468a-a6f1-03894a2a1f26_2074x926.png 1272w, https://substackcdn.com/image/fetch/$s_!dt-6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa29feee-366c-468a-a6f1-03894a2a1f26_2074x926.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!dt-6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa29feee-366c-468a-a6f1-03894a2a1f26_2074x926.png" width="500" height="223.21428571428572" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aa29feee-366c-468a-a6f1-03894a2a1f26_2074x926.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:650,&quot;width&quot;:1456,&quot;resizeWidth&quot;:500,&quot;bytes&quot;:2205175,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!dt-6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa29feee-366c-468a-a6f1-03894a2a1f26_2074x926.png 424w, https://substackcdn.com/image/fetch/$s_!dt-6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa29feee-366c-468a-a6f1-03894a2a1f26_2074x926.png 848w, https://substackcdn.com/image/fetch/$s_!dt-6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa29feee-366c-468a-a6f1-03894a2a1f26_2074x926.png 1272w, https://substackcdn.com/image/fetch/$s_!dt-6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa29feee-366c-468a-a6f1-03894a2a1f26_2074x926.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://stream.thesephist.com/updates/1715912318">On Chat Interfaces &amp; Full Delegation to an AI Agent</a></p></li><li><p><a href="https://phillipi.github.io/prh/">All Neural Nets are Converging to a Platonic Model of Reality</a></p></li><li><p><a href="https://www.sabrina.dev/p/test-driving-chatgpt4o-part-4">Test Driving the AI Capabilities of ChatGPT-4o </a></p></li><li><p><a href="https://www.deeplearning.ai/short-courses/multi-ai-agent-systems-with-crewai/">[free course] Multi AI Agent Systems with crewAI</a></p></li><li><p><a href="https://www.youtube.com/watch?v=byH-ARJA4gk">Embeddings, Transfer Learning &amp; RecSys at Spotify</a></p></li><li><p><a href="https://github.com/davanstrien/awesome-synthetic-datasets">Awesome Synthetic (Text) Datasets</a> </p></li><li><p>&#8202;<a href="https://freedium.cfd/https://medium.com/towards-data-science/n-beats-the-first-interpretable-deep-learning-model-that-worked-for-time-series-forecasting-06920daadac2">The 1st Interpretable DL Model that Works for Time Series Forecasting</a></p></li><li><p><a href="https://chatqa-project.github.io">NVIDIA ChatQA-1.5 Surpasses GPT-4 on Conversational QA &amp; RAG</a></p></li><li><p><a href="https://chessdream.ai/?dreamId=4f1434b7-b917-4aec-aaa4-35e1e14c1344">Chessdream - A Free AI that Generates Realistic Chess Positions</a> </p></li><li><p><a href="https://www.facebook.com/thedailyshow/videos/new-chatgpt-is-sounding-really-horny/984712913179450/">[comedy] The Daily Show: &#8220;</a><em><a href="https://www.facebook.com/thedailyshow/videos/new-chatgpt-is-sounding-really-horny/984712913179450/">New GPT-4o is Sounding Really Horny&#8221;</a></em></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://github.com/likejazz/llama3.np">llama3.np - Llama 3 Implemented in Pure NumPy</a></p></li><li><p><a href="https://huggingface.co/parler-tts/parler-tts-mini-expresso">Parler-TTS Mini: Expresso - Natural, Consistent, AI Speech with Emotions</a></p></li><li><p><a href="https://github.com/Efficient-Large-Model/VILA">VILA- An OSS Vision-Language Model for Video &amp; Multi-image Understanding</a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://www.youtube.com/watch?v=7zpz_AlFW2w">KANs Paper Explained - An Exciting New, DL Paradigm?</a> </p></li><li><p><a href="https://yochan-lab.github.io/tutorial/LLMs-Planning/index.html">[free tutorial] Planning &amp; Reasoning in LLMs (videos &amp; slides)</a></p></li><li><p><a href="https://www.youtube.com/watch?v=N6Piou4oYx8">MAMBA from  Scratch: RNNs are Better and Faster than Transformers</a></p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://arxiv.org/abs/2405.09818">Meta AI - Chameleon: Mixed-Modal Early-Fusion FMs that Beat GPT4-V</a></p></li><li><p><a href="https://cat3d.github.io">DeepMind - CAT3D: Create Anything in 3D with Multi-View Diffusion Models</a></p></li><li><p><a href="https://arxiv.org/abs/2405.09673">DataBricks AI - LoRA Learns Less and Forgets Less (Underperforms Fine-tuning) </a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://stripe.com/blog/shepherd-how-stripe-adapted-chronon-to-scale-ml-feature-development">Scalable, Next-gen ML Feature Engineering at Stripe </a></p></li><li><p><a href="https://www.youtube.com/watch?v=jodNnvBFYws">Streamlining AI Model Deployment &amp; Dynamic Routing</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/towards-data-science/common-causes-of-data-leakage-and-how-to-spot-them-17113406f9f8">Common Causes of ML Models Data Leakage: How to  Deal with Them</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://ruchitrawal.github.io/cinepile/">CinePile: A Long Video Question Answering Dataset</a></p></li><li><p><a href="https://huggingface.co/datasets/Replete-AI/code_bagel">Code Bagel: 800 Million Tokens of Unique Coding Data</a></p></li><li><p><a href="https://arxiv.org/abs/2405.07425">Sakuga-42M Dataset: Scaling Up Cartoon Research</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-253?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-253?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-253?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #252]]></title><description><![CDATA[Diffusion, FM & Pre-Trained AI Models for Time-Series. TinyTimeMixers. MambaFormer. TimesFM. Frankenstein Prompts. BabyAGI. KANs Explained. GPT Researcher. xLSTM. Visualisation-of-Thought.]]></description><link>https://datamachina.substack.com/p/data-machina-252</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-252</guid><pubDate>Sun, 12 May 2024 10:29:06 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ec44890-50da-4d3b-8f69-3667a2db7756_1186x824.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Diffusion, FM &amp; Pre-Trained AI models for Time-Series. </strong>DeepNN-based models are starting to match or even outperform statistical time-series analysis &amp; forecasting methods in some scenarios. Yet, DeepNN-based models for time-series suffer from 4 key issues: 1) complex architecture 2) enormous amount of time required for training 3) high inference costs, and 4) poor context sensitivity.</p><p><strong>Latest innovative approaches</strong>. To address those issues, a new breed of foundation or pre-trained AI models for time-series is emerging. Some of these new AI models use hybrid approaches borrowing from NLP, vision/ image, or physics modelling, like: transformers, diffusion models, KANs and state space models. Despite the scepticism in the hard-core statistics community, some of these new AI models for time-series are producing some surprisingly good results. Let&#8217;s see&#8230;</p><p><strong>Foundation Models for Time-series</strong>. This new survey examines the effectiveness, efficiency and explainability (3Es) of pre-training foundation models from scratch for time series, and adapting large language foundation models for time series. The survey comes with an accompanying repo loaded with awesome papers, code and resources. Paper, repo: <a href="https://github.com/start2020/Awesome-TimeSeries-LLM-FM">A Survey of Time Series Foundation Models &amp; Awesome-Time Series-LLM&amp;FM</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://github.com/start2020/Awesome-TimeSeries-LLM-FM" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Zs3D!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e2e144d-1fc5-42a9-8743-a202143a9f6d_1312x642.png 424w, https://substackcdn.com/image/fetch/$s_!Zs3D!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e2e144d-1fc5-42a9-8743-a202143a9f6d_1312x642.png 848w, https://substackcdn.com/image/fetch/$s_!Zs3D!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e2e144d-1fc5-42a9-8743-a202143a9f6d_1312x642.png 1272w, https://substackcdn.com/image/fetch/$s_!Zs3D!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e2e144d-1fc5-42a9-8743-a202143a9f6d_1312x642.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Zs3D!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e2e144d-1fc5-42a9-8743-a202143a9f6d_1312x642.png" width="580" height="283.8109756097561" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7e2e144d-1fc5-42a9-8743-a202143a9f6d_1312x642.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:642,&quot;width&quot;:1312,&quot;resizeWidth&quot;:580,&quot;bytes&quot;:394396,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://github.com/start2020/Awesome-TimeSeries-LLM-FM&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Zs3D!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e2e144d-1fc5-42a9-8743-a202143a9f6d_1312x642.png 424w, https://substackcdn.com/image/fetch/$s_!Zs3D!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e2e144d-1fc5-42a9-8743-a202143a9f6d_1312x642.png 848w, https://substackcdn.com/image/fetch/$s_!Zs3D!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e2e144d-1fc5-42a9-8743-a202143a9f6d_1312x642.png 1272w, https://substackcdn.com/image/fetch/$s_!Zs3D!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e2e144d-1fc5-42a9-8743-a202143a9f6d_1312x642.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Diffusion Models for Time-Series</strong>. A recent, comprehensive survey and systematic summary of the latest advances in Diffusion Models for time series, spatiotemporal data and tabular data with more awesome resources (paper, code, application, review, survey, etc.).  The paper also provides a great taxonomy of diffusion models for time series. Paper, repo: <a href="https://github.com/yyysjz1997/Awesome-TimeSeries-SpatioTemporal-Diffusion-Model?tab=readme-ov-file">Diffusion Model for Time Series and Spatio-Temporal Data</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://github.com/yyysjz1997/Awesome-TimeSeries-SpatioTemporal-Diffusion-Model?tab=readme-ov-file" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!II23!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374f3011-07ef-42e1-b4e2-fdeace95b5f2_2750x1252.png 424w, https://substackcdn.com/image/fetch/$s_!II23!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374f3011-07ef-42e1-b4e2-fdeace95b5f2_2750x1252.png 848w, https://substackcdn.com/image/fetch/$s_!II23!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374f3011-07ef-42e1-b4e2-fdeace95b5f2_2750x1252.png 1272w, https://substackcdn.com/image/fetch/$s_!II23!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374f3011-07ef-42e1-b4e2-fdeace95b5f2_2750x1252.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!II23!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374f3011-07ef-42e1-b4e2-fdeace95b5f2_2750x1252.png" width="578" height="263.19642857142856" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/374f3011-07ef-42e1-b4e2-fdeace95b5f2_2750x1252.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:663,&quot;width&quot;:1456,&quot;resizeWidth&quot;:578,&quot;bytes&quot;:858343,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://github.com/yyysjz1997/Awesome-TimeSeries-SpatioTemporal-Diffusion-Model?tab=readme-ov-file&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!II23!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374f3011-07ef-42e1-b4e2-fdeace95b5f2_2750x1252.png 424w, https://substackcdn.com/image/fetch/$s_!II23!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374f3011-07ef-42e1-b4e2-fdeace95b5f2_2750x1252.png 848w, https://substackcdn.com/image/fetch/$s_!II23!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374f3011-07ef-42e1-b4e2-fdeace95b5f2_2750x1252.png 1272w, https://substackcdn.com/image/fetch/$s_!II23!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374f3011-07ef-42e1-b4e2-fdeace95b5f2_2750x1252.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>TinyTimeMixers (TTMs)</strong>. A new family of compact pre-trained models for Multivariate Time-Series Forecasting, open-sourced by IBM Research. With less than 1 Million parameters, TTM introduces the notion of the first-ever &#8220;tiny&#8221; pre-trained models for Time-Series Forecasting. Checkout the <a href="https://huggingface.co/ibm-granite/granite-timeseries-ttm-v1">TTMs model card, paper and getting started notebook here</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://huggingface.co/ibm-granite/granite-timeseries-ttm-v1" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!yQUo!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ec44890-50da-4d3b-8f69-3667a2db7756_1186x824.png 424w, https://substackcdn.com/image/fetch/$s_!yQUo!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ec44890-50da-4d3b-8f69-3667a2db7756_1186x824.png 848w, https://substackcdn.com/image/fetch/$s_!yQUo!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ec44890-50da-4d3b-8f69-3667a2db7756_1186x824.png 1272w, https://substackcdn.com/image/fetch/$s_!yQUo!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ec44890-50da-4d3b-8f69-3667a2db7756_1186x824.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!yQUo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ec44890-50da-4d3b-8f69-3667a2db7756_1186x824.png" width="456" height="316.8161888701518" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1ec44890-50da-4d3b-8f69-3667a2db7756_1186x824.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:824,&quot;width&quot;:1186,&quot;resizeWidth&quot;:456,&quot;bytes&quot;:1745178,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://huggingface.co/ibm-granite/granite-timeseries-ttm-v1&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!yQUo!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ec44890-50da-4d3b-8f69-3667a2db7756_1186x824.png 424w, https://substackcdn.com/image/fetch/$s_!yQUo!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ec44890-50da-4d3b-8f69-3667a2db7756_1186x824.png 848w, https://substackcdn.com/image/fetch/$s_!yQUo!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ec44890-50da-4d3b-8f69-3667a2db7756_1186x824.png 1272w, https://substackcdn.com/image/fetch/$s_!yQUo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ec44890-50da-4d3b-8f69-3667a2db7756_1186x824.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>MambaFormer for Time-series.</strong>  MambaFormer is a new hybrid model that for the first time combines Mamba (a state space model) for long-range dependency, and the Transformer for short range dependency, for long-short range forecasting.<strong> </strong>The researchers claim the MambaFormer outperforms both Mamba and Transformer in long-short range time series forecasting. Paper: <a href="https://arxiv.org/abs/2404.14757v1">Integrating Mamba and Transformer for Long-Short Range Time Series Forecasting</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!CYoT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb67326d8-b294-44f0-a12d-a906da895aa1_1786x1598.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CYoT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb67326d8-b294-44f0-a12d-a906da895aa1_1786x1598.png 424w, https://substackcdn.com/image/fetch/$s_!CYoT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb67326d8-b294-44f0-a12d-a906da895aa1_1786x1598.png 848w, https://substackcdn.com/image/fetch/$s_!CYoT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb67326d8-b294-44f0-a12d-a906da895aa1_1786x1598.png 1272w, https://substackcdn.com/image/fetch/$s_!CYoT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb67326d8-b294-44f0-a12d-a906da895aa1_1786x1598.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!CYoT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb67326d8-b294-44f0-a12d-a906da895aa1_1786x1598.png" width="458" height="409.87225274725273" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b67326d8-b294-44f0-a12d-a906da895aa1_1786x1598.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1303,&quot;width&quot;:1456,&quot;resizeWidth&quot;:458,&quot;bytes&quot;:291188,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!CYoT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb67326d8-b294-44f0-a12d-a906da895aa1_1786x1598.png 424w, https://substackcdn.com/image/fetch/$s_!CYoT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb67326d8-b294-44f0-a12d-a906da895aa1_1786x1598.png 848w, https://substackcdn.com/image/fetch/$s_!CYoT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb67326d8-b294-44f0-a12d-a906da895aa1_1786x1598.png 1272w, https://substackcdn.com/image/fetch/$s_!CYoT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb67326d8-b294-44f0-a12d-a906da895aa1_1786x1598.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Google TimesFM</strong> is a new forecasting model, pre-trained on a large time-series corpus of 100 billion real world time-points, that displays impressive zero-shot performance on a variety of public benchmarks from different domains and granularities. Paper, repo: <a href="https://research.google/blog/a-decoder-only-foundation-model-for-time-series-forecasting/">A decoder-only foundation model for time-series forecasting</a>. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!of15!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d5f07cf-31fe-416c-b322-06e1fe2ba4e6_1896x1128.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!of15!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d5f07cf-31fe-416c-b322-06e1fe2ba4e6_1896x1128.png 424w, https://substackcdn.com/image/fetch/$s_!of15!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d5f07cf-31fe-416c-b322-06e1fe2ba4e6_1896x1128.png 848w, https://substackcdn.com/image/fetch/$s_!of15!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d5f07cf-31fe-416c-b322-06e1fe2ba4e6_1896x1128.png 1272w, https://substackcdn.com/image/fetch/$s_!of15!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d5f07cf-31fe-416c-b322-06e1fe2ba4e6_1896x1128.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!of15!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d5f07cf-31fe-416c-b322-06e1fe2ba4e6_1896x1128.png" width="540" height="321.18131868131866" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1d5f07cf-31fe-416c-b322-06e1fe2ba4e6_1896x1128.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:866,&quot;width&quot;:1456,&quot;resizeWidth&quot;:540,&quot;bytes&quot;:653581,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!of15!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d5f07cf-31fe-416c-b322-06e1fe2ba4e6_1896x1128.png 424w, https://substackcdn.com/image/fetch/$s_!of15!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d5f07cf-31fe-416c-b322-06e1fe2ba4e6_1896x1128.png 848w, https://substackcdn.com/image/fetch/$s_!of15!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d5f07cf-31fe-416c-b322-06e1fe2ba4e6_1896x1128.png 1272w, https://substackcdn.com/image/fetch/$s_!of15!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d5f07cf-31fe-416c-b322-06e1fe2ba4e6_1896x1128.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>DeepKAN</strong>. This is a very new approach that combines a neural network with Kolmogorov-Arnold Networks (see link #7 below on KANs.) The researchers say that KANs outperform MLP (Multi-Layer Perceptron)-based methods in time-series prediction tasks when applied to the Air Passengers dataset (although not a very exciting/complex dataset.) <a href="https://github.com/sidhu2690/Deep-KAN?tab=readme-ov-file">DeepKAN: Deep Kolmogorov-Arnold-Networks-KAN</a>.</p><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://www.youtube.com/watch?v=9j6WPiJhvd0">BabyAGI, AI Agents &amp; AI Investing</a></p></li><li><p><a href="https://d-v-dlee.github.io/god-damn/2024/05/05/prompting.html">Avoiding the Frankenstein Prompt</a></p></li><li><p><a href="https://blog.iclr.cc/2024/05/06/iclr-2024-outstanding-paper-awards/">The ICLR 2024 Outstanding Paper Awards</a></p></li><li><p><a href="https://www.youtube.com/watch?v=Gt4Z7YxW7Q8">How to Create AI Agents that Don't Suck</a></p></li><li><p><a href="https://jxnl.co/writing/2024/05/11/low-hanging-fruit-for-rag-search/">Seven Low-Hanging Fruits for RAG Search</a></p></li><li><p><a href="https://gradientscience.org/contextcite/">What is Context Attribution in Generative AI?</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/towards-data-science/kolmogorov-arnold-networks-kan-e317b1b4d075">Understanding Kolmogorov&#8211;Arnold Networks (KANs)</a></p></li><li><p><a href="https://www.youtube.com/watch?v=9kM98GC3fNE">A Review of S/W Engineering (SWE) AI Agent Tech Report</a></p></li><li><p><a href="https://www.refuel.ai/blog-posts/announcing-refuel-llm-2">A New SOTA Model for Data Labelling, Enrich. &amp; Cleaning</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/@Ed_Forson/why-im-building-my-own-ai-agent-library-e20ec9aa3647">Why I'm Building My Own AI Agent Library (blogpost &amp; repo)</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://github.com/VinciGit00/Scrapegraph-ai">ScrapeGraphAI: You Only Scrape Once with AI (repo, demo)</a></p></li><li><p><a href="https://github.com/cpacker/MemGPT">Create LLM Agents with Long-term Memory and Custom Tools</a></p></li><li><p><a href="https://github.com/assafelovic/gpt-researcher/blob/master/README.md">GPT Researcher - An Autonomous Agent for Online Research (repo, demo)</a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://github.com/alessiodm/drl-zh">[free hands-on] Deep Reinforcement Learning: Zero to Hero!</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/towards-data-science/courage-to-learn-ml-tackling-vanishing-and-exploding-gradients-part-2-d0b8aed1ce7a">Tackling Vanishing and Exploding Gradients in DeepNNs</a></p></li><li><p><a href="https://www.youtube.com/playlist?list=PLofp2YXfp7TZZ5c7HEChs0_wfEfewLDs7">[free course] UT Austin CS388-  Modern  NLP, Masters-level </a></p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://arxiv.org/abs/2405.04517">xLSTM: Extended LSTM by Leveraging Transformers Concept</a></p></li><li><p><a href="https://arxiv.org/abs/2405.03547">Google AI - Leverage Foundational Models for Black-Box Optimisation</a></p></li><li><p><a href="https://arxiv.org/abs/2404.03622">MS Research - Visualization-of-Thought Elicits Spatial Reasoning in LLMs</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://freedium.cfd/https://medium.com/ai-advances/building-machine-learning-models-through-automated-augmented-tuning-667ae6e3f219">Building ML Models Through Automated Augmented Tuning</a></p></li><li><p><a href="https://freedium.cfd/https://pub.towardsai.net/7-best-machine-learning-workflow-and-pipeline-orchestration-tools-56825eed6b72">[review] 7 Best ML Workflow &amp; Pipeline Orchestration Tools</a></p></li><li><p><a href="https://www.substratus.ai/blog/lingo-weaviate-private-rag">How to Deploy an End-to-End Private RAG App on Kubernetes</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://huggingface.co/datasets/EleutherAI/lichess-puzzles">Lichess Puzzles -  A Collection of ~1.5M Chess Puzzles</a></p></li><li><p> <a href="https://huggingface.co/datasets/H-D-T/Buzz">Buzz - An Instruction-Following Dataset, 85 Million Conversations</a></p></li><li><p><a href="https://google.github.io/imageinwords/">Google ImageInWords: Hyper-Detailed Image Descriptions &amp; Annotations</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-252?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-252?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-252?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #251]]></title><description><![CDATA[Six Nerdy AI Activities for the Long W/E. StoryDiffusion. AI Agents Stack. AI Town Game. Latest on In-Context Learning. KANs Alt to MLP. Amazon Q Assitant. Agentic RAG with llama3. WildChat Dataset.]]></description><link>https://datamachina.substack.com/p/data-machina-251-aed</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-251-aed</guid><pubDate>Sun, 05 May 2024 10:28:01 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/427d06cf-cbed-425a-80ca-e3882e667249_1572x794.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Six Nerdy AI Activities for the Long W/E. </strong> I&#8217;ve just read that<strong> </strong>lots of <a href="https://archive.ph/iKVJC#selection-2251.0-2251.97">AI engineers in the US are running the rate race, feeling burnout</a>. Here in the European AI scene things are innately a bit more relaxed.</p><p>Aah&#8230; A long bank holiday in London; so much stuff to do in this amazing city! But if you are feeling the AI FOMO kick and can&#8217;t survive a long weekend IRL, here are six AI activities for you:</p><ol><li><p><strong>Generate comics with AI</strong>. I gave it a go, generated a few short comics, and having fun so far. The AI team at Bytedance just introduced an impressive diffusion-based, zero-shot, text-to-image and image-to-video model that generates amazing videos and comics. Checkout the demo, paper and repo here: <a href="https://github.com/HVision-NKU/StoryDiffusion">StoryDiffusion: Consistent Self-Attention for Long-Range Image and Video Generation</a>. Make sure you click the Comic Generation Demo link and be patient.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ousp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7426a55-864d-4690-a765-ca659dc6321b_1760x1044.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ousp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7426a55-864d-4690-a765-ca659dc6321b_1760x1044.png 424w, https://substackcdn.com/image/fetch/$s_!Ousp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7426a55-864d-4690-a765-ca659dc6321b_1760x1044.png 848w, https://substackcdn.com/image/fetch/$s_!Ousp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7426a55-864d-4690-a765-ca659dc6321b_1760x1044.png 1272w, https://substackcdn.com/image/fetch/$s_!Ousp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7426a55-864d-4690-a765-ca659dc6321b_1760x1044.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ousp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7426a55-864d-4690-a765-ca659dc6321b_1760x1044.png" width="584" height="346.54945054945057" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d7426a55-864d-4690-a765-ca659dc6321b_1760x1044.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:864,&quot;width&quot;:1456,&quot;resizeWidth&quot;:584,&quot;bytes&quot;:3229472,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Ousp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7426a55-864d-4690-a765-ca659dc6321b_1760x1044.png 424w, https://substackcdn.com/image/fetch/$s_!Ousp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7426a55-864d-4690-a765-ca659dc6321b_1760x1044.png 848w, https://substackcdn.com/image/fetch/$s_!Ousp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7426a55-864d-4690-a765-ca659dc6321b_1760x1044.png 1272w, https://substackcdn.com/image/fetch/$s_!Ousp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7426a55-864d-4690-a765-ca659dc6321b_1760x1044.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li><li><p><strong>Learn how to build and use a robust AI Agents stack</strong>. I absolutely believe that the future is going to be about millions of AI Agents working and generating income for the people. In this vid, Tony shows how to create an AI agent that fetches all the comments of a YouTube video and generates insights to improve video content. Tony uses an AI Agent stack that looks very solid: 1) <a href="https://www.crewai.com/">CrewAI agent framework</a>,  2) <a href="https://ollama.com/library">the nifty Ollama</a> 3) <a href="https://wow.groq.com/why-groq/">Groq the super fast AI inference engine</a>, and 4) <a href="https://www.agentops.ai/">AgentOps the observability tool for AI agents</a></p><div id="youtube2-SFXlvPo-CEs" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;SFXlvPo-CEs&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/SFXlvPo-CEs?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div></li><li><p><strong>Play </strong><em><strong>AI Town</strong></em><strong> game in your computer</strong>. I&#8217;ve played this game and it&#8217;s quite addictive! <em>AI Town</em> is a MIT-licensed game -developed by a16z- in which AI characters live, chat and socialise in a virtual town. <a href="https://www.convex.dev/ai-town">You can play AI Town online here</a>. But if you hate cloud signups like me, and want to create your own custom AI Town, check this out: How to create your own <em>AI Town</em> with Llama-3 based agents in your local environment using the nifty <a href="https://ollama.com/library">Ollama</a> and the <a href="https://pinokio.computer/item?uri=https://github.com/cocktailpeanutlabs/aitown">one-click deployment with the amazing Pinokio AI browser.</a> The video below provides more details on deploying AI Town locally with Pinokio.</p><div id="youtube2-4HBRh1hMoXQ" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;4HBRh1hMoXQ&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/4HBRh1hMoXQ?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div></li><li><p><strong>Read the latest on In-Context Learning (ICL.) </strong>There is a debate among AI researchers on whether In-Context Learning within a long-context window size can fully beat fine-tuning done with highly-curated data, in terms of domain knowledge and accuracy of model outputs. Let&#8217;s see&#8230;</p><ol><li><p>This is a great post on that: <a href="https://hamel.dev/blog/posts/fine_tuning_valuable.html">Is Fine-Tuning Still Valuable? A reaction to a recent trend of disillusionment with fine-tuning</a></p></li><li><p>Ethan, a well known AI researcher is more assertive: <a href="https://twitter.com/ethanCaballero/status/1384548232076959745">Fine-tuning is dead. Prompts have closed the gap</a>.</p></li><li><p><a href="https://arxiv.org/abs/2404.11018">DeepMind: Many-Shot In-Context Learning</a>. Many-shot in-context learning works very well and can be applied universally. &#8220;<em>We find that both Reinforced and Unsupervised ICL can be quite effective in the many-shot regime, particularly on complex reasoning tasks</em>.&#8221;</p></li><li><p><a href="https://arxiv.org/abs/2405.00200">In-Context Learning with Long-Context Models: An In-Depth Exploration</a>. &#8220;<em>We conclude that although long-context ICL can be surprisingly effective, most of this gain comes from attending back to similar examples rather than task learning</em>.&#8221;</p></li><li><p><a href="https://arxiv.org/abs/2404.16811">MSR: Make Your LLM Fully Utilize the Context</a>. In this paper, Microsoft proposes a solution to the <a href="https://arxiv.org/abs/2307.03172">"lost-in-the-middle" long context problem</a>, in which LLMs struggle using information located in the middle section within the long context.</p></li></ol></li><li><p><strong>Read the 2024 State of AI Readiness Report. </strong>Nice report with good insights and cool charts. The research team at Scale AI interviewed 1,800 AI/ ML practitioners on the latest AI trends, applied AI, and what it takes beyond &#8220;adopting AI.&#8221; Link to the report: <a href="https://go.scale.com/hubfs/Content/Scale%20Zeitgeist%20AI%20Readiness%20Report%202024%204-29%20final.pdf?utm_campaign=FY2406-BRAND-WC-Zeitgeist2024&amp;utm_medium=email&amp;_hsmi=304859802&amp;utm_content=304859802&amp;utm_source=hs_automation">Scale Zeitgeist 2024 AI Readiness Report, 3r ed (pdf, 47 pages)</a></p></li><li><p><strong>Read this free book and fall down the rabbit hole of designing Neural Nets</strong> &#8220;<em>This primer is an introduction to this fascinating field [of differentiable programming applied to NNs] as imagined for someone, like Alice, who has just ventured into this strange differentiable wonderland.</em>&#8221; Link: <a href="https://www.sscardapane.it/alice-book">Alice&#8217;s Adventures in a Differentiable Wonderland</a></p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UJKc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdaa98f-58f5-4191-87c0-64987a7a8c34_706x898.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UJKc!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdaa98f-58f5-4191-87c0-64987a7a8c34_706x898.png 424w, https://substackcdn.com/image/fetch/$s_!UJKc!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdaa98f-58f5-4191-87c0-64987a7a8c34_706x898.png 848w, https://substackcdn.com/image/fetch/$s_!UJKc!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdaa98f-58f5-4191-87c0-64987a7a8c34_706x898.png 1272w, https://substackcdn.com/image/fetch/$s_!UJKc!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdaa98f-58f5-4191-87c0-64987a7a8c34_706x898.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UJKc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdaa98f-58f5-4191-87c0-64987a7a8c34_706x898.png" width="242" height="307.8130311614731" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/efdaa98f-58f5-4191-87c0-64987a7a8c34_706x898.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:898,&quot;width&quot;:706,&quot;resizeWidth&quot;:242,&quot;bytes&quot;:162670,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!UJKc!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdaa98f-58f5-4191-87c0-64987a7a8c34_706x898.png 424w, https://substackcdn.com/image/fetch/$s_!UJKc!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdaa98f-58f5-4191-87c0-64987a7a8c34_706x898.png 848w, https://substackcdn.com/image/fetch/$s_!UJKc!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdaa98f-58f5-4191-87c0-64987a7a8c34_706x898.png 1272w, https://substackcdn.com/image/fetch/$s_!UJKc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdaa98f-58f5-4191-87c0-64987a7a8c34_706x898.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://www.deeplearning.ai/the-batch/building-models-that-learn-from-themselves/">Agentic Workflows and Building Models that Self-Learn</a></p></li><li><p><a href="https://ai.stanford.edu/~kzliu/blog/unlearning">Stanford - Machine Unlearning in 2024</a></p></li><li><p><a href="https://github.com/KindXiaoming/pykan">KANs: A New [better?] Alternative to the Multi-Layer Perceptron</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/towards-data-science/moment-a-foundation-model-for-time-series-forecasting-classification-anomaly-detection-1e35f5b6ca76">[deep dive] MOMENT: A Foundation Model for Time-series Tasks</a></p></li><li><p><a href="https://research.google/blog/scaling-hierarchical-agglomerative-clustering-to-trillion-edge-graphs/">Google TeraHAC: A New Algo for Clustering Trillion-Edge Graphs</a></p></li><li><p><a href="https://github.com/huggingface/data-is-better-together/blob/main/domain-specific-datasets/README.md">How to Build Domain-specific Datasets for Training AI Models</a></p></li><li><p><a href="https://www.aboutamazon.com/news/aws/amazon-q-generative-ai-assistant-aws">Amazon Q: A Generative AI Assistant for Biz &amp; Devs</a></p></li><li><p><a href="https://www.youtube.com/watch?v=u5Vcrwpzoz8">Advanced RAG 101 - How to Build Agentic RAG with llama3</a></p></li><li><p><a href="https://www.primeintellect.ai/blog/fast-compute-grants">$100-$500K Fast Compute Grants for AI Researchers</a></p></li><li><p><a href="https://lmsys.org/blog/2024-05-02-kaggle-competition/">LMSYS Kaggle Chatbot Competition &#8211; Predicting Human Preference</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://microsoft.github.io/autogen/docs/Examples/">[notebooks] Examples of Automated Multi Agent Chat with Autogen</a></p></li><li><p><a href="https://github.com/VRSEN/agency-swarm">AgencySwarm- An Opensource Agent Orchestration Framework</a></p></li><li><p><a href="https://huggingface.co/blog/asr-diarization">Powerful Automatic Speech Recognition + Diarisastion + Speculative Decoding </a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://freedium.cfd/https://medium.com/towards-data-science/the-math-behind-recurrent-neural-networks-2de4e0098ab8">Diving into The Math Behind RNNs</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/towards-data-science/bitcn-multivariate-time-series-forecasting-with-convolutional-networks-1471347c1bcc">Multivariate Time-series Forecasting with CNNs</a></p></li><li><p><a href="https://www.youtube.com/watch?v=w6Pw4MOzMuo">Geometric Deep Learning: The Erlangen Programme of ML</a></p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://arxiv.org/abs/2402.05120">Tencent AI: More Agents is All You Need</a></p></li><li><p><a href="https://arxiv.org/abs/2404.19733">Meta AI: A Simple Recipe to Improve CoT Reasoning with DPO+NLL</a></p></li><li><p><a href="https://arxiv.org/abs/2404.19296">Octopus v4: A Graph of LMs to Integrate Multiple Specialised Open Models</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://freedium.cfd/https://medium.com/decodingml/how-to-ensure-your-deep-learning-stack-is-fail-safe-in-production-2673c0e3b03d">How to Monitor a Deep Learning Stack in Production</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/@miguel.arquez12/automatic-model-deployment-with-mlflow-and-github-actions-535c0e8336a1">Automatic Model Deployment with MLflow &amp; GitHub Actions</a></p></li><li><p><a href="https://github.com/mlrun/mlrun">MLRun -An Opensource MLOps Platform for Continuous ML Apps</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://github.com/microsoft/MS-MARCO-Web-Search">MS Marco Search: 10 Billion High-quality Web Pages</a></p></li><li><p><a href="https://wildchat.allen.ai">WildChat Dataset: 1 Million Real-world User-ChatGPT Interactions</a></p></li><li><p><a href="http://imagine.enpc.fr/~ioannis.siglidis/osv5m/">OpenStreetView-5M: 5.1 Million Geo-referenced Street View Images</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-251-aed?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-251-aed?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-251-aed?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #251]]></title><description><![CDATA[Three New Powerful Open AI Models. Snowflake Artic. Apple OpenELM. Microsoft Phi-3. OpenVoicev2.Open-Sora. JAT Agent. GTE SOTA Embeddings. Maestro Subagents. Cohere RAG Toolkit. Diffusion GenAI Video.]]></description><link>https://datamachina.substack.com/p/data-machina-251</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-251</guid><pubDate>Sun, 28 Apr 2024 10:29:30 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!YqLq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0220bee-80b3-4878-bea9-c0eec0c3cbfe_1478x920.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Three New Powerful Open AI Models. </strong>I&#8217;m told by colleagues at Hugging Face that just a week since LLama-3 was released, more than +10,000 model derivatives have been developed! The pressure on black-box, closed AI models is huge, and achieving GPT-4 performance with open, smallish models is upon us. Which is great. </p><p>In the last few days, three new, smallish, powerful open AI models were released. Interestingly enough, the power of these 3 models is based on a combination of:  1) Innovative training architectures and optimisation techniques, and 2) Data quality for different types of data (synthetic, public or private). Let&#8217;s see&#8230;</p><p><strong>Snowflake Artic 17B</strong>:  A new, truly open source (Apache 2.0) model that has been modelled for enterprise intelligence. Snowflake Artic 17B is based on a Dense - MoE Hybrid Transformer architecture. It outperforms all other open models in three areas that are the most demanded in enterprise AI : 1) conversational SQL (Text-to-SQL), 2) coding copilots and 3) RAG chatbots. The model is also supper efficient in terms of training and low cost, two things much valued in enterprise too. Checkout the official blogpost: <a href="https://www.snowflake.com/blog/arctic-open-efficient-foundation-language-models-snowflake/">Snowflake Arctic: The Best LLM for Enterprise AI &#8212; Efficiently Intelligent, Truly Open</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YqLq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0220bee-80b3-4878-bea9-c0eec0c3cbfe_1478x920.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YqLq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0220bee-80b3-4878-bea9-c0eec0c3cbfe_1478x920.png 424w, https://substackcdn.com/image/fetch/$s_!YqLq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0220bee-80b3-4878-bea9-c0eec0c3cbfe_1478x920.png 848w, https://substackcdn.com/image/fetch/$s_!YqLq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0220bee-80b3-4878-bea9-c0eec0c3cbfe_1478x920.png 1272w, https://substackcdn.com/image/fetch/$s_!YqLq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0220bee-80b3-4878-bea9-c0eec0c3cbfe_1478x920.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YqLq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0220bee-80b3-4878-bea9-c0eec0c3cbfe_1478x920.png" width="536" height="333.5274725274725" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d0220bee-80b3-4878-bea9-c0eec0c3cbfe_1478x920.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:906,&quot;width&quot;:1456,&quot;resizeWidth&quot;:536,&quot;bytes&quot;:648079,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!YqLq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0220bee-80b3-4878-bea9-c0eec0c3cbfe_1478x920.png 424w, https://substackcdn.com/image/fetch/$s_!YqLq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0220bee-80b3-4878-bea9-c0eec0c3cbfe_1478x920.png 848w, https://substackcdn.com/image/fetch/$s_!YqLq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0220bee-80b3-4878-bea9-c0eec0c3cbfe_1478x920.png 1272w, https://substackcdn.com/image/fetch/$s_!YqLq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0220bee-80b3-4878-bea9-c0eec0c3cbfe_1478x920.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The release of Snowflake Artic 17B also comes with a Cookbook series starting with:</p><ul><li><p><a href="https://freedium.cfd/https://medium.com/snowflake/snowflake-arctic-cookbook-series-building-an-efficient-training-system-for-arctic-6658b9bdfcae">Building an Efficient Training System for Arctic</a> A review on how the DeepSpeed library was used to optimise efficient large MoE training using several optimisation techniques like ZeRO-2 and expert-parallelism. </p></li><li><p><a href="https://freedium.cfd/https://medium.com/snowflake/snowflake-arctic-cookbook-series-exploring-mixture-of-experts-moe-c7d6b8f14d16">Exploring Mixture of Experts (MoE)</a> A review on why and how the Snowflake AI team decided to develop and train a model with a Dense-MoE Hybrid Architecture. </p></li></ul><p>You can try and run <a href="https://replicate.com/snowflake/snowflake-arctic-instruct">Snowflake-arctic-instruct on Replicate and Streamlit</a></p><p><strong>Apple OpenELM</strong>. OpenELM, a new family of eight SOTA open language models. The model has been released in both pretrained and instruction tuned versions with 270M, 450M, 1.1B and 3B parameters. <a href="https://huggingface.co/apple/OpenELM">You can get the OpenELM models card and model versions in HugginFace</a>.</p><p>OpenELM was inspired by <a href="https://huggingface.co/allenai/OLMo-7B">Allen AI OLMo</a>, which is one of most performant, truly open models. OpenELM outperforms OLMo by using an innovative layer-wise scaling strategy to efficiently allocate parameters within each layer of the transformer model, which enhances accuracy in a more efficient way, using 2&#215; fewer pre-training tokens. The original paper is an excellent read: <a href="https://arxiv.org/abs/2404.14619v1">OpenELM: An Efficient Language Model Family with Open-source Training and Inference Framework</a></p><p>OpenELM was developed using <a href="https://github.com/apple/corenet">the new Apple CoreNet library.</a> You can <a href="https://huggingface.co/models?library=mlx&amp;sort=trending&amp;search=OpenELm">run OpenELM quantised models in your MacBook using Apple MLX framework</a>. Also checkout this iPynb to <a href="https://gist.github.com/Norod/4f11bb36bea5c548d18f10f9d7ec09b0">run an OpenELM 3B demo on Gradio</a>.</p><p><strong>Microsoft Phi-3</strong>. This is a new family of open AI models developed by Microsoft. Microsoft claims that the Phi-3 models are the most capable and cost-effective small language models (SLMs). </p><p>Here is the official blogpost with the technical report, model card and deployable environments on Microsoft Azure AI Studio, Hugging Face, and Ollama: <a href="https://azure.microsoft.com/en-us/blog/introducing-phi-3-redefining-whats-possible-with-slms/">Introducing Phi-3: Redefining what&#8217;s possible with SLMs</a></p><p>The innovation here perhaps is the way specific data training was used to achieve such high performance in such a small model which also comes with a big 128K context window size. You can expect Phi-3 running on smart phone devices an delivering great output.</p><p>Check-out the powerful <a href="https://huggingface.co/microsoft/Phi-3-mini-128k-instruct">Phi-3-Mini-128K-Instruct</a> version, a 3.8B model that uses the Phi-3 datasets. Also sees this great post on <a href="https://huggingface.co/blog/abhishek/phi3-finetune-macbook">How to Finetune phi-3 on MacBook Pro</a>. </p><p><strong>OpenVoice v2</strong>. Although not exactly a &#8220;new&#8221; model, I added this as a fourth bonus model :-) as I think it&#8217;s worth mentioning an important update. The very latest April v2 comes with 1) Free commercial use MIT license, 2) Native multi-lingual support in English, Spanish, French, Chinese, Japanese and Korean, and 3) Much better audio quality due to new audio data training strategy. Checkout the original paper, demos and repo here: <a href="https://research.myshell.ai/open-voice">OpenVoice: Versatile Instant Voice Cloning</a>.</p><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://reasoning-tokens.ghost.io/reasoning-tokens/">Self-Reasoning Tokens, Teaching Models to Think Ahead</a></p></li><li><p><a href="https://lunaverus.com/programLikelihoods">The Probabilities of Unsupervised ML Models</a> </p></li><li><p><a href="https://huggingface.co/blog/jat">Jack of All Trades: A Multi-Purpose Transformer Agent</a></p></li><li><p><a href="https://lilianweng.github.io/posts/2024-04-12-diffusion-video/">Deep Dive: Diffusion Models for Video Generation</a></p></li><li><p><a href="https://devpost.com/software/interviewpilot-ai">How We Built a Personal AI Agent Interviewer</a></p></li><li><p><a href="https://github.com/cohere-ai/cohere-toolkit">Cohere Toolkit - Open Pre-built Components for RAG Apps</a></p></li><li><p><a href="https://eval.ai/web/challenges/challenge-page/2099/overview">Brain_to_Text AI Competition (repo, dataset, FAQs)</a></p></li><li><p><a href="https://github.com/janhq/awesome-local-ai">Awesome Local AI: A Repo of Local AI Tools</a></p></li><li><p><a href="https://huggingface.co/Alibaba-NLP/gte-large-en-v1.5">Alibaba GTE - A New Family of SOTA Embeddings Models</a></p></li><li><p><a href="https://www.accenture.com/content/dam/accenture/final/accenture-com/document-2/Accenture-Work-Can-Become-Era-Generative-AI.pdf">Accenture Report on GenAI and the Future of Work</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://github.com/apple/corenet">Apple CoreNet - A New Toolkit for Training DeepNNs</a> </p></li><li><p><a href="https://github.com/hpcaitech/Open-Sora">Open-Sora: Democratising Efficient GenAI Video for All</a></p></li><li><p><a href="https://github.com/Doriandarko/maestro">Maestro - Super-fast, Intelligent Orchestration of Agents with LMs</a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://arxiv.org/pdf/2404.14928">Enhancing LLMs with Graph ML (pdf)</a></p></li><li><p><a href="https://balacoon.com/blog/streaming_inference/">Tutorial: How to Build Streaming ML Apps with ConvNets</a></p></li><li><p><a href="https://blog.arcee.ai/tutorial-tutorial-how-to-get-started-with-evolutionary-model-merging/">Tutorial: How to Get Started with Evolutionary Model Merging</a></p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://arxiv.org/abs/2404.07084v1">Dynamic Generation of Personalities with LLMs</a></p></li><li><p><a href="https://multimodal-interpretability.csail.mit.edu/maia/">MIT CSAIL - A Multimodal Automated Interpretability Agent</a></p></li><li><p><a href="https://arxiv.org/abs/2404.14662">DeepMind NExT: Teaching LLMs to Reason about Code Execution</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://tembo.io/blog/operationalizing-vectordbs-on-postgres">Embeddings and Operationalising Vector DBs on Postgres</a></p></li><li><p><a href="https://docs.openlit.io/latest/introduction">OpenLit: Observability Tool for GenAI and LLMs</a></p></li><li><p><a href="https://unstructured.io/blog/understanding-what-matters-for-llm-ingestion-and-preprocessing">Understanding What Matters for LLM Ingestion &amp; Preprocessing</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://huggingface.co/datasets/HuggingFaceFW/fineweb">[!!] HuggingFace FineWeb: 15 Trillion Tokens of the Finest Web Data</a></p></li><li><p><a href="https://utd19.ethz.ch">UTD19 - The Largest, Public Traffic Dataset, 40 Cities, 170M Rows</a> </p></li><li><p><a href="https://3lc.ai">3LC - An AI Tool That Lets You See Your Dataset Through Your Model&#8217;s Eyes</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-251?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-251?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-251?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #250]]></title><description><![CDATA[Llama-3 Watershed Moment. Multi AI Agent Collaboration. AI Agents Planning. Idefics2-8B V-L Model. Google Gemini Cookbook. Quantisation Intro. torchtune. DeepMind Penzai. Youtube Commons Dataset.]]></description><link>https://datamachina.substack.com/p/data-machina-250</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-250</guid><pubDate>Sun, 21 Apr 2024 10:37:38 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/1bbce75f-d870-4563-acf4-4409477aafe6_982x718.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Llama 3: A Watershed AI moment?</strong> I reckon that the release of Llama 3 is perhaps one of the most important moments in AI development so far. The Llama 3 stable is already giving birth to all sorts of amazing animals and model derivatives. You can expect Llama 3 will unleash the mother of all battles against closed AI models like GPT-4.</p><p>Meta AI just posted: &#8221;<em>Our largest Llama 3 models are over 400B parameters. And they are still being trained.</em>&#8221; The upcoming Llama-400B will change the playing field for many independent researchers, little AI startups, one-man AI developers, and also enterprise AI apps. For now, The Zuck and Yan LeCunn are the bastions of &#8220;open AI.&#8221;</p><p><strong>Quick Llama 3 Summary:</strong></p><ul><li><p>A family of SOTA, open models available in both 8B &amp; 70B parameter sizes, in pre-trained base and instruction-tuned versions</p></li><li><p>License. Open but not fully Apache 2.0 open-source. Free license for research and commercial applications but with limitations. <a href="https://llama.meta.com/llama3/license/">Read Llama 3 license here</a>. </p></li><li><p>Open models and weights upon request. <a href="https://llama.meta.com/llama-downloads/">Get them here</a>.</p></li><li><p>Trained on 24k GPUs!! and +15 trillion tokens. Massive for such model sizes.</p></li><li><p>Context window expanded to 8192 length. People expected 128K at least</p></li><li><p>New tokeniser with 128K words vocabulary built on tope of OpenAI TikToken</p></li><li><p>Meta AI official blogpost:  <a href="https://ai.meta.com/blog/meta-llama-3/">Introducing Meta Llama 3: The most capable openly available LLM to date</a></p></li><li><p>Nathan&#8217;s great overview of all the tech details:  <a href="https://www.interconnects.ai/p/llama-3-and-scaling-open-llms">Llama 3: Scaling open LLMs to AGI</a></p></li></ul><p><strong>Run Llama 3 with Meta AI intelligent assistant</strong>. Llama 3 has been integrated with Meta AI. <a href="https://www.meta.ai">Try it for chat, coding tasks, and problem solving here</a>. It also runs on Facebook, WhatsApp and Instagram. If you&#8217;re not in the US, try with a VPN. </p><p><strong>Easily deploy Llama 3 on cloud AI stacks</strong>. Using HuggingFace Deploy, you can now deploy Llama 3 on Azure ML, Google Vertex, Amazon SageMaker or HuggingFace hosting. Checkout: <a href="https://huggingface.co/meta-llama/Meta-Llama-3-8B">HuggingFace Meta-LLama-3-8B click deploy</a>.</p><p><strong>Run Llama 3 at blazing speed, super cheap cost</strong>.  </p><ul><li><p>Run it on Together AI inference engine. Use Together 2.0 Inference Engine, to get up to 350 tokens per second for Llama 3 8B and up to 150 tokens per second for Llama 3 70B, running in full FP16 precision. Blogpost: <a href="https://www.together.ai/blog/together-ai-partners-with-meta-to-release-meta-llama-3-for-inference-and-fine-tuning">Together AI releases Meta Llama 3 for inference and fine-tuning</a>.</p></li><li><p>Run it on Groq AI h/w. Groq is an innovative AI hardware stack optimised for super efficient, super fast, cheap AI compute. Researchers at ChatLabs show how running Llama 3 on Grow blows GPT-4 Turbo, Claude 3 Opuso, and Gemini Pro out of the water. Blogpost: <a href="https://writingmate.ai/blog/meta-ai-llama-3-with-groq-outperforms-private-models-on-speed-price-quality-dimensions">Meta AI Llama 3 With Groq Outperforms Private Models on Speed/Price/Quality Dimensions?</a></p></li></ul><p><strong>Run Llama 3-Instruct-8B GGUF for efficient chat</strong>. GGUF is a binary format that is optimised for quick loading and saving of models.  Llama 3 instruction tuned models are optimised for dialogue and outperform most open source chat models. <a href="https://huggingface.co/NousResearch/Meta-Llama-3-8B-Instruct-GGUF">Get Meta-Llama-3-8B-Instruct-GGUF here</a>. Thanks to the great @nousresearch and @ggerganov.</p><p><strong>Run  Llama 3 on Apple silicon devices</strong>. You can now run any <a href="https://huggingface.co/collections/mlx-community/llama-3-662156b069a5d33b3328603c">Lllama-3 model quantised in 4 bit or 8bit on your local Apple silicon device</a> using Apple MLX framework. Thanks to the awesome @Prince_Canuma.</p><p><strong>See how Llama 3 was jailbroken</strong>. The researchers at Meta AI team say that they spent a lot of time safeguarding and redteaming Llama 3. Well, I&#8217;m not so sure about that because -inevitably- lots of jailbreaks are starting to pop up. Checkout <a href="https://github.com/haizelabs/llama3-jailbreak">A Trivial Jailbreak Against Llama 3</a> or <a href="https://www.youtube.com/watch?v=VCuZ5vhnKws">Jailbreaking Llama 3 for education purposes</a>.</p><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://www.deeplearning.ai/the-batch/issue-245/">AI Agentic Design Patterns: Multi-Agent Collaboration</a></p></li><li><p><a href="https://gradientscience.org/modelcomponents/">Decomposing Predictions by Modeling Model Computation</a></p></li><li><p><a href="https://huggingface.co/blog/idefics2">Open-sourcing </a><em><a href="https://huggingface.co/blog/idefics2">Idefics2</a></em><a href="https://huggingface.co/blog/idefics2">: A Powerful 8B Vision-Language Model</a></p></li><li><p><a href="https://github.com/google-gemini/cookbook?tab=readme-ov-file">Cookbook &amp; Tutorials for the Google Gemini Models</a></p></li><li><p><a href="https://docs.google.com/presentation/d/1quMyI4BAx4rvcDfk8jjv063bmHg4RxZd9mhQloXpMn0/mobilepresent?slide=id.g2ca00c5c0f9_0_0">[tutorial] Overview of LM Model Alignment Methods (77 slides)</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/towards-data-science/quantizing-the-ai-colossi-017e121a27c5">AI Model Compression: A Deep Guide to Quantisation</a></p></li><li><p><a href="https://github.com/elicit/machine-learning-list">A Great Reading List on [Modern] Machine Learning</a></p></li><li><p><a href="https://www.youtube.com/watch?v=W31UMLHcqc4">My Thoughts on AI Agents: Looping vs. Planning</a></p></li><li><p><a href="https://aiindex.stanford.edu/wp-content/uploads/2024/04/HAI_AI-Index-Report-2024.pdf">Standford 2024 AI Index Report (pdf, 500 pages)</a></p></li><li><p><a href="https://www.microsoft.com/en-us/research/project/vasa-1/">[amazing] MSR VASA-1: Lifelike Audio-Driven Talking Faces in Real Time</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://github.com/pytorch/torchtune">torchtune - A PyTorch Lib for LLM Finetuning + Recipes</a></p></li><li><p><a href="https://jina-ai-gmbh.ghost.io/content/files//2024/04/DSPy-Not-Your-Average-Prompt-Engineering--1-.pdf">DSPY: Not Your Average Prompt Engineering</a></p></li><li><p><a href="https://github.com/google-deepmind/penzai">[opensource] DeepMind Penzai: Build, Edit &amp; Visualise Neural Nets </a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://www.youtube.com/watch?v=D_jt-xO_RmI">[free] MIT Lectures: Learning Deep Representations</a></p></li><li><p><a href="https://www.deeplearning.ai/short-courses/quantization-fundamentals-with-hugging-face/">[free course] Quantization Fundamentals with Hugging Face</a></p></li><li><p><a href="https://www.youtube.com/watch?v=qk6oRhAB1AU">Efficient, Large-scale Clustering &amp; Visualisation for NLP and Vision</a></p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://github.com/stanford-oval/storm">Stanford STORM: Writing Wikipedia-like Articles from Scratch with LLMs</a></p></li><li><p><a href="https://arxiv.org/abs/2404.11018">DeepMind: The Limits of Token Prediction &amp; Many-shot In-context Learning</a></p></li><li><p><a href="https://mini-gemini.github.io">Mini-Gemini: Enhancing Muti-Modality in Vision-Language Models (repo, etc)</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://freedium.cfd/https://medium.com/towards-data-science/scaling-ai-models-like-you-mean-it-3afa56c1e14b">Scaling AI Models Like You Mean It</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/@andrewpmcmahon629/some-architecture-design-principles-for-mlops-llmops-a505628a903e">Architecture &amp; Design Principles for LLMOps</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/apache-airflow/orchestrating-the-training-of-online-ml-models-with-airflow-at-x3m-353c9c451275">Orchestrating Online ML Model Training with Airflow</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://huggingface.co/datasets/PleIAs/YouTube-Commons">YouTube-Commons - 15M Transcripts, 2M Videos</a></p></li><li><p><a href="https://thefllood.github.io/HQEdit_web/">HQ-Edit: A HQ Dataset for Instruction-based Image Editing</a></p></li><li><p><a href="https://xdeng7.github.io/coconut.github.io/">COCONut - 383K  Images, 5.1M Human-verified Segmentations</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-250?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-250?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-250?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #249]]></title><description><![CDATA[GenAI Music. MusicGen. MusicFX. Stable Audio 2. Suno V3. Udio. Rerank3 Model. Parler TTS. nanoLLaVA VL Model. Text2SQL DuckDB-NSQL-7B. aiXcoder-7B]]></description><link>https://datamachina.substack.com/p/data-machina-249</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-249</guid><pubDate>Sun, 14 Apr 2024 10:29:55 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5e85843-d41d-4bd5-9eb6-da7fd26068d2_1944x618.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Generative AI Music.  </strong>In the last year or so, Generative AI Music has improved massively. Although early days, today you can generate some pretty decent, short duration music of all kinds with AI. If you like creating music and AI, here is a list of interesting Generative AI music stuff.</p><p><strong>Facebook AIR MusicGen. </strong>Probably one of the pioneering models in AI quality music generation. MusicGen has sparked a whole <a href="https://huggingface.co/models?other=musicgen">universe of MusicGen derivative models of all kinds</a>, and it&#8217;s the model behind many musicgen apps. The model is based on a single stage auto-regressive Transformer model, and unlike Google LM, MusicGen doesn't require a self-supervised semantic representation. Repo and demos here: <a href="https://github.com/facebookresearch/audiocraft/blob/main/docs/MUSICGEN.md">MusicGen: Simple and Controllable AI Music Generation</a></p><p><strong>Mulbert. </strong>One of the early AI musicgen startups, Mulbert is an app for generating high-quality, royalty-free music with AI. <a href="https://github.com/MubertAI">Thy this Mulbert text-to-music notebook and get the app here</a>. </p><p><strong>Stable Audio 2.0</strong>. Recently introduced by Stability AI, Stable Audio 2.0 lets you generate high-quality, full tracks from text &amp; audio with coherent musical structure up to three minutes in length at 44.1kHz stereo. <a href="https://stability-ai.squarespace.com/news/stable-audio-2-0">Checkout the blogpost, demos, trial: Introducing Stable Audio 2.0</a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://stability-ai.squarespace.com/news/stable-audio-2-0" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BhM2!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae3bb62-862e-443e-8bd8-7351c469f013_1516x588.png 424w, https://substackcdn.com/image/fetch/$s_!BhM2!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae3bb62-862e-443e-8bd8-7351c469f013_1516x588.png 848w, https://substackcdn.com/image/fetch/$s_!BhM2!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae3bb62-862e-443e-8bd8-7351c469f013_1516x588.png 1272w, https://substackcdn.com/image/fetch/$s_!BhM2!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae3bb62-862e-443e-8bd8-7351c469f013_1516x588.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BhM2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae3bb62-862e-443e-8bd8-7351c469f013_1516x588.png" width="508" height="197.12912087912088" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4ae3bb62-862e-443e-8bd8-7351c469f013_1516x588.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:565,&quot;width&quot;:1456,&quot;resizeWidth&quot;:508,&quot;bytes&quot;:58517,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://stability-ai.squarespace.com/news/stable-audio-2-0&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!BhM2!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae3bb62-862e-443e-8bd8-7351c469f013_1516x588.png 424w, https://substackcdn.com/image/fetch/$s_!BhM2!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae3bb62-862e-443e-8bd8-7351c469f013_1516x588.png 848w, https://substackcdn.com/image/fetch/$s_!BhM2!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae3bb62-862e-443e-8bd8-7351c469f013_1516x588.png 1272w, https://substackcdn.com/image/fetch/$s_!BhM2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ae3bb62-862e-443e-8bd8-7351c469f013_1516x588.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p><strong>MusicLang</strong> is an app for controllable music generation with AI, mostly oriented to artists and music producers. The MusicLang team recently released <a href="https://github.com/MusicLang/musiclang_predict">MusicLang Predict, your controllable music copilot (repo)</a>.  You can <a href="https://huggingface.co/spaces/musiclang/musiclang-predict">Try MusicLang here</a>. </p><p><strong>The MusicLang Tokeniser</strong>.  An interesting post explaining how tokenization works inside MusicLang and its capacity to afford users profound control over the musical content generated by transformer models. <a href="https://musiclang.github.io/tokenizer/">The MusicLang tokenizer : Toward controllable symbolic music generation</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://musiclang.github.io/tokenizer/" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LhLj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5e85843-d41d-4bd5-9eb6-da7fd26068d2_1944x618.png 424w, https://substackcdn.com/image/fetch/$s_!LhLj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5e85843-d41d-4bd5-9eb6-da7fd26068d2_1944x618.png 848w, https://substackcdn.com/image/fetch/$s_!LhLj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5e85843-d41d-4bd5-9eb6-da7fd26068d2_1944x618.png 1272w, https://substackcdn.com/image/fetch/$s_!LhLj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5e85843-d41d-4bd5-9eb6-da7fd26068d2_1944x618.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!LhLj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5e85843-d41d-4bd5-9eb6-da7fd26068d2_1944x618.png" width="458" height="145.6414835164835" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f5e85843-d41d-4bd5-9eb6-da7fd26068d2_1944x618.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:463,&quot;width&quot;:1456,&quot;resizeWidth&quot;:458,&quot;bytes&quot;:202084,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://musiclang.github.io/tokenizer/&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!LhLj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5e85843-d41d-4bd5-9eb6-da7fd26068d2_1944x618.png 424w, https://substackcdn.com/image/fetch/$s_!LhLj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5e85843-d41d-4bd5-9eb6-da7fd26068d2_1944x618.png 848w, https://substackcdn.com/image/fetch/$s_!LhLj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5e85843-d41d-4bd5-9eb6-da7fd26068d2_1944x618.png 1272w, https://substackcdn.com/image/fetch/$s_!LhLj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5e85843-d41d-4bd5-9eb6-da7fd26068d2_1944x618.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><p><strong>Glycol</strong>. A foundation for some specialised musicgen model. If you love coding and music this is pretty cool. Glycol is an open source, next-gen language for generating music with code.  <a href="https://github.com/chaosprint/glicol">Get Glycol from this repo.</a> </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://github.com/chaosprint/glicol" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ny7o!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef2e109b-94f8-4e19-a33c-06befc4dfaf5_1402x648.png 424w, https://substackcdn.com/image/fetch/$s_!Ny7o!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef2e109b-94f8-4e19-a33c-06befc4dfaf5_1402x648.png 848w, https://substackcdn.com/image/fetch/$s_!Ny7o!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef2e109b-94f8-4e19-a33c-06befc4dfaf5_1402x648.png 1272w, https://substackcdn.com/image/fetch/$s_!Ny7o!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef2e109b-94f8-4e19-a33c-06befc4dfaf5_1402x648.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ny7o!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef2e109b-94f8-4e19-a33c-06befc4dfaf5_1402x648.png" width="424" height="195.97146932952924" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ef2e109b-94f8-4e19-a33c-06befc4dfaf5_1402x648.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:648,&quot;width&quot;:1402,&quot;resizeWidth&quot;:424,&quot;bytes&quot;:163195,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://github.com/chaosprint/glicol&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Ny7o!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef2e109b-94f8-4e19-a33c-06befc4dfaf5_1402x648.png 424w, https://substackcdn.com/image/fetch/$s_!Ny7o!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef2e109b-94f8-4e19-a33c-06befc4dfaf5_1402x648.png 848w, https://substackcdn.com/image/fetch/$s_!Ny7o!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef2e109b-94f8-4e19-a33c-06befc4dfaf5_1402x648.png 1272w, https://substackcdn.com/image/fetch/$s_!Ny7o!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef2e109b-94f8-4e19-a33c-06befc4dfaf5_1402x648.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong>RaveForce Agent</strong> is a Python package under MIT license that allows you to define your musical tasks in Python with Glicol syntax, and train an agent to do the task with APIs similar to the OpenAI Gym.  <a href="https://github.com/chaosprint/RaveForce">Get ReveForce here</a>. </p><p><strong>Google MusicFX</strong> is powered by <a href="https://google-research.github.io/seanet/musiclm/musicfx/">Google MusicLM and AudioLM</a>. Simple with no frills but good quality. A neat feature is DJ Mode, that enables you to generate a real-time stream of music by adding and adjusting musical prompts to evolve the music live. <a href="https://aitestkitchen.withgoogle.com/tools/music-fx">You can try Google MusicFX here</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://aitestkitchen.withgoogle.com/tools/music-fx" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XfQ_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4986e2d7-b62c-4a7e-be13-df9f6c5e7ae4_916x624.png 424w, https://substackcdn.com/image/fetch/$s_!XfQ_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4986e2d7-b62c-4a7e-be13-df9f6c5e7ae4_916x624.png 848w, https://substackcdn.com/image/fetch/$s_!XfQ_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4986e2d7-b62c-4a7e-be13-df9f6c5e7ae4_916x624.png 1272w, https://substackcdn.com/image/fetch/$s_!XfQ_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4986e2d7-b62c-4a7e-be13-df9f6c5e7ae4_916x624.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XfQ_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4986e2d7-b62c-4a7e-be13-df9f6c5e7ae4_916x624.png" width="396" height="269.764192139738" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4986e2d7-b62c-4a7e-be13-df9f6c5e7ae4_916x624.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:624,&quot;width&quot;:916,&quot;resizeWidth&quot;:396,&quot;bytes&quot;:91208,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://aitestkitchen.withgoogle.com/tools/music-fx&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!XfQ_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4986e2d7-b62c-4a7e-be13-df9f6c5e7ae4_916x624.png 424w, https://substackcdn.com/image/fetch/$s_!XfQ_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4986e2d7-b62c-4a7e-be13-df9f6c5e7ae4_916x624.png 848w, https://substackcdn.com/image/fetch/$s_!XfQ_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4986e2d7-b62c-4a7e-be13-df9f6c5e7ae4_916x624.png 1272w, https://substackcdn.com/image/fetch/$s_!XfQ_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4986e2d7-b62c-4a7e-be13-df9f6c5e7ae4_916x624.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Suno AI V3</strong> The latest version of Suno enables you to generate two-minute, radio-quality music from text prompts in just a few seconds. The model behind Suno combines a proprietary AI musicgen model and <a href="https://aihabit.net/chatgpt-prompts-for-lyrics-songwriting/">ChatGPT for the lyrics</a>. Sun has some cool features and you can get some decent outputs. <a href="https://suno.com">Try Suno.ai  V3 here</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://suno.com" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IoFE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa92d3fee-2ba4-454a-8b46-8f8367009738_2254x1120.png 424w, https://substackcdn.com/image/fetch/$s_!IoFE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa92d3fee-2ba4-454a-8b46-8f8367009738_2254x1120.png 848w, https://substackcdn.com/image/fetch/$s_!IoFE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa92d3fee-2ba4-454a-8b46-8f8367009738_2254x1120.png 1272w, https://substackcdn.com/image/fetch/$s_!IoFE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa92d3fee-2ba4-454a-8b46-8f8367009738_2254x1120.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IoFE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa92d3fee-2ba4-454a-8b46-8f8367009738_2254x1120.png" width="508" height="252.2554945054945" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a92d3fee-2ba4-454a-8b46-8f8367009738_2254x1120.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:723,&quot;width&quot;:1456,&quot;resizeWidth&quot;:508,&quot;bytes&quot;:732537,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://suno.com&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IoFE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa92d3fee-2ba4-454a-8b46-8f8367009738_2254x1120.png 424w, https://substackcdn.com/image/fetch/$s_!IoFE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa92d3fee-2ba4-454a-8b46-8f8367009738_2254x1120.png 848w, https://substackcdn.com/image/fetch/$s_!IoFE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa92d3fee-2ba4-454a-8b46-8f8367009738_2254x1120.png 1272w, https://substackcdn.com/image/fetch/$s_!IoFE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa92d3fee-2ba4-454a-8b46-8f8367009738_2254x1120.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Udio</strong>. Recently released, it&#8217;s super trending in the musicgen scene now. Suno enables you to create music from simple text prompts by specifying topics, genres, and other descriptors which are then transformed into professional quality tracks. Udio it&#8217;s pretty impressive and you can generate some amazing music output. I really like it! <a href="https://www.udio.com">Try Udio here</a>.  You can also watch this tutorial on how to use Audio.</p><div id="youtube2-wcDTr9GuSMc" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;wcDTr9GuSMc&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/wcDTr9GuSMc?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>.Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://eugeneyan.com/writing/ai-coach/">Building an AI Coach to Tame My Monkey Mind</a></p></li><li><p><a href="https://naklecha.notion.site/explained-latent-consistency-models-13a9290c0fd3427d8d1a1e0bed97bde2">Diffusion &amp; Latent Consistency Models, Explained</a></p></li><li><p><a href="https://www.rainforestqa.com/blog/building-reliable-systems-out-of-unreliable-agents">Building Reliable Systems Out of Unreliable AI Agents</a></p></li><li><p><a href="https://www.youtube.com/watch?v=eMlx5fFNoYc">Attention in Transformers, Visually Explained</a></p></li><li><p><a href="https://www.markovml.com/blog/multimodal-models">Understanding Multimodal AI Models</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/the-generator/the-perfect-prompt-prompt-engineering-cheat-sheet-d0b9c62a2bba">The Perfect Prompt: A Prompt Engineering Cheat Sheet</a></p></li><li><p> <a href="https://huggingface.co/blog/duckdb-nsql-7b">How to: Text2SQL Tasks with DuckDB-NSQL-7B Model</a></p></li><li><p><a href="https://kenkantzer.com/lessons-after-a-half-billion-gpt-tokens/">&#8220;Surprising&#8221; Lessons after Churning Half-billion GPT Tokens</a></p></li><li><p><a href="https://developers.googleblog.com/2024/04/gemma-family-expands.html">An Overview of the Latest Google Gemma Family of Models</a></p></li><li><p><a href="https://txt.cohere.com/rerank-3/">Rerank 3: A New Foundation Model for Efficient Enterprise Search &amp; Retrieval</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://github.com/huggingface/parler-tts">Parler- An Open TTS Model for HQ Natural Sounding Speech</a></p></li><li><p><a href="https://huggingface.co/qnguyen3/nanoLLaVA">nanoLLaVA- A "Small but Mighty" 1B Vision-Language Model</a></p></li><li><p><a href="https://github.com/aixcoder-plugin/aiXcoder-7B">aiXcoder-7B - A New SOTA LM Model for All Things Coding</a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://horace.io/brrr_intro.html">Making Deep Learning Go Brrrr From First Principles</a></p></li><li><p><a href="https://snap-stanford.github.io/cs224w-notes/">Notes on Stanford CS224 ML with Large-scale Graphs</a></p></li><li><p><a href="https://www.vikas.sh/post/how-i-got-into-deep-learning?utm_source=pocket_saves">How I Got into Deep Learning from Knowing Nothing</a> </p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://arxiv.org/abs/2404.05427v1">AutoCodeRover: Autonomous Program Improvement</a></p></li><li><p><a href="https://github.com/microsoft/rho">MS Rho-1: Not All Tokens Are What You Need (paper, repo)</a></p></li><li><p><a href="https://mcgill-nlp.github.io/llm2vec/">LLM2Vec: LLMs are Secretly Powerful Text Encoders (paper, repo, tutorial)</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://github.com/anovv/volga">Volga - An Opensource Feature Engine for Real-time AI/ML </a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/airbnb-engineering/chronon-airbnbs-ml-feature-platform-is-now-open-source-d9c4dba859e8">Airbnb Opensources Chronon ML Feature Platform</a></p></li><li><p><a href="https://github.com/CVxTz/llm-serve-tutorial/tree/master">LLMOps Tutorial: Five Ways to Serve LLMs</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://audiodialogues.github.io">NVIDIA Audio Dialogues Dataset for Audio &amp; Music</a></p></li><li><p><a href="https://huggingface.co/datasets/Anthropic/persuasion">Anthropic Persuasion Dataset: Human vs AI Claims</a></p></li><li><p><a href="https://github.com/virattt/financial-datasets">Generate Financial Q&amp;A Datasets with AI</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-249?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-249?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-249?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #248]]></title><description><![CDATA[Jailbreaking AI Models is Easy. 4 New LLM Jailbreaking Methods. Mamba Model Primer. AI Agent Beats Humans on Kaggle. SWE-agent. RAGFlow. Stable Audio 2.0. VoiceCraft. AniPortrait. VAR SOTA ImageGen.]]></description><link>https://datamachina.substack.com/p/data-machina-248</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-248</guid><pubDate>Sun, 07 Apr 2024 10:30:13 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff370637e-f98d-4624-8444-807a6931e0cc_2128x1210.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Jailbreaking AI Models: It&#8217;s easy. </strong>Hundreds of millions of dollars have been thrown at AI Safety &amp; Alignment over the years. Despite that, jailbreaking LLMs in April 2024 is easy. </p><p>Oddly enough, as the LLM models become more capable and sophisticated, the jailbreaking attacks are becoming easier to perform, more effective, and frequent. Gary Marcus - who is hypercritical about LLMs and current AI trends- just published this very opinionated post: <a href="https://garymarcus.substack.com/p/an-unending-array-of-jailbreaking">An unending array of jailbreaking attacks could be the death of LLMs</a>.</p><p>I often speak to colleagues and clients about the &#8220;LLM jailbreaking elephant in the room.&#8221; And they all agree that this is a serious concern, and a deterrent to deploying LLMs in enterprise production. </p><p>I suppose that stuff like the attention mechanism, tokenisation, next token prediction, and prompting are the strengths but also the weaknesses of LLMs. Thus developing anti-jailbreaking methods, defences for LLMs is really hard and like a moving target. Checkout this new free seminar on <a href="https://www.youtube.com/watch?v=CoWz0xEKIdo">Robustness in the Era of LLMs: Jailbreaking Attacks and Defenses </a></p><div id="youtube2-CoWz0xEKIdo" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;CoWz0xEKIdo&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/CoWz0xEKIdo?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>I believe that is a good thing that the AI community, researchers and startups share jailbreaking methods for advancing the AI Safety &amp; Alignment field. So in light of that, here are <strong>4 new, very efficient LLM jailbreaking methods published in the last 10 days</strong>:</p><p><strong>Simple adaptive attacks</strong>. In this paper, researchers at EPFL show that even the most recent safety-aligned LLMs like Claude or GPT-4 can&#8217;t resist simple adaptive jailbreaking attacks. The researchers demonstrate how to successfully leverage the logprobs for jailbreaking by initially designing an adversarial prompt template, and then applying random search on a suffix to maximise the target logprob. In the case of models that don&#8217;t expose logprobs (e.g. Claude) a 100% success jailbreak is achieved via either a transfer or pre-filling attack. Paper and repo: <a href="https://github.com/tml-epfl/llm-adaptive-attacks">Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!J49S!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b1fed5-4344-463a-acb4-dd43e8a9dca7_1598x670.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!J49S!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b1fed5-4344-463a-acb4-dd43e8a9dca7_1598x670.png 424w, https://substackcdn.com/image/fetch/$s_!J49S!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b1fed5-4344-463a-acb4-dd43e8a9dca7_1598x670.png 848w, https://substackcdn.com/image/fetch/$s_!J49S!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b1fed5-4344-463a-acb4-dd43e8a9dca7_1598x670.png 1272w, https://substackcdn.com/image/fetch/$s_!J49S!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b1fed5-4344-463a-acb4-dd43e8a9dca7_1598x670.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!J49S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b1fed5-4344-463a-acb4-dd43e8a9dca7_1598x670.png" width="566" height="237.12912087912088" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/42b1fed5-4344-463a-acb4-dd43e8a9dca7_1598x670.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:610,&quot;width&quot;:1456,&quot;resizeWidth&quot;:566,&quot;bytes&quot;:315071,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!J49S!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b1fed5-4344-463a-acb4-dd43e8a9dca7_1598x670.png 424w, https://substackcdn.com/image/fetch/$s_!J49S!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b1fed5-4344-463a-acb4-dd43e8a9dca7_1598x670.png 848w, https://substackcdn.com/image/fetch/$s_!J49S!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b1fed5-4344-463a-acb4-dd43e8a9dca7_1598x670.png 1272w, https://substackcdn.com/image/fetch/$s_!J49S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b1fed5-4344-463a-acb4-dd43e8a9dca7_1598x670.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p><strong>Faux dialogues in the context window</strong>. Researchers at Anthropic - who are well known for their leadership in AI Alignment &amp; Safety- published a long blogpost explaining how to use the context window to jailbreak any model. The basis of many-shot jailbreaking is to include a faux dialogue between a human and an AI assistant <em>within a single prompt for the LLM</em>. That faux dialogue portrays the AI Assistant readily answering potentially harmful queries from a user. At the end of the dialogue, one adds a final target query to which one wants the answer. Blogpost: <a href="https://www.anthropic.com/research/many-shot-jailbreaking">Many-shot jailbreaking</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!RVCQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff370637e-f98d-4624-8444-807a6931e0cc_2128x1210.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!RVCQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff370637e-f98d-4624-8444-807a6931e0cc_2128x1210.png 424w, https://substackcdn.com/image/fetch/$s_!RVCQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff370637e-f98d-4624-8444-807a6931e0cc_2128x1210.png 848w, https://substackcdn.com/image/fetch/$s_!RVCQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff370637e-f98d-4624-8444-807a6931e0cc_2128x1210.png 1272w, https://substackcdn.com/image/fetch/$s_!RVCQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff370637e-f98d-4624-8444-807a6931e0cc_2128x1210.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!RVCQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff370637e-f98d-4624-8444-807a6931e0cc_2128x1210.png" width="504" height="286.61538461538464" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f370637e-f98d-4624-8444-807a6931e0cc_2128x1210.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:828,&quot;width&quot;:1456,&quot;resizeWidth&quot;:504,&quot;bytes&quot;:586840,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!RVCQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff370637e-f98d-4624-8444-807a6931e0cc_2128x1210.png 424w, https://substackcdn.com/image/fetch/$s_!RVCQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff370637e-f98d-4624-8444-807a6931e0cc_2128x1210.png 848w, https://substackcdn.com/image/fetch/$s_!RVCQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff370637e-f98d-4624-8444-807a6931e0cc_2128x1210.png 1272w, https://substackcdn.com/image/fetch/$s_!RVCQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff370637e-f98d-4624-8444-807a6931e0cc_2128x1210.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Expert debates with Tree of Thoughts</strong>. The lead researcher at <a href="https://agora-codex.readthedocs.io/en/latest/">Agora - an opensource multimodal AI collective</a>- introduced a clever and simple jailbreak method that uses Tree of Thoughts prompts. Using ToT, you split your malicious agent into three multiple agents, each one with a different personality. Then you instruct the agent experts to engage in a debate until they conclude at finding a solution to a problem. <a href="https://github.com/kyegomez/tree-of-thoughts/blob/main/prompts.txt">Checkout the full ToT jailbreak prompt in a raw repo here</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!PUYE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bcc9214-ae55-4724-8136-35a37b161b18_706x484.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PUYE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bcc9214-ae55-4724-8136-35a37b161b18_706x484.png 424w, https://substackcdn.com/image/fetch/$s_!PUYE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bcc9214-ae55-4724-8136-35a37b161b18_706x484.png 848w, https://substackcdn.com/image/fetch/$s_!PUYE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bcc9214-ae55-4724-8136-35a37b161b18_706x484.png 1272w, https://substackcdn.com/image/fetch/$s_!PUYE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bcc9214-ae55-4724-8136-35a37b161b18_706x484.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PUYE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bcc9214-ae55-4724-8136-35a37b161b18_706x484.png" width="364" height="249.54107648725213" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3bcc9214-ae55-4724-8136-35a37b161b18_706x484.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:484,&quot;width&quot;:706,&quot;resizeWidth&quot;:364,&quot;bytes&quot;:304463,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!PUYE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bcc9214-ae55-4724-8136-35a37b161b18_706x484.png 424w, https://substackcdn.com/image/fetch/$s_!PUYE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bcc9214-ae55-4724-8136-35a37b161b18_706x484.png 848w, https://substackcdn.com/image/fetch/$s_!PUYE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bcc9214-ae55-4724-8136-35a37b161b18_706x484.png 1272w, https://substackcdn.com/image/fetch/$s_!PUYE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bcc9214-ae55-4724-8136-35a37b161b18_706x484.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Progressive chat steering</strong>. Researchers at MS Research introduced Crescendo, a multi-turn attack that starts with harmless chat and progressively steers the conversation toward the intended, prohibited objective. In less than 5 interactions, Crescendo can jailbreak GPT-4 and similar models by progressively prompting it to generate related content until the model has produced enough material to essentially override its safety alignment. Paper and examples here: <a href="https://crescendo-the-multiturn-jailbreak.github.io">Great, Now Write an Article About That: The Crescendo Multi-Turn LLM Jailbreak Attack</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!porv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F862ddc77-06c4-4c58-be08-4f117a1a218c_1944x810.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!porv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F862ddc77-06c4-4c58-be08-4f117a1a218c_1944x810.png 424w, https://substackcdn.com/image/fetch/$s_!porv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F862ddc77-06c4-4c58-be08-4f117a1a218c_1944x810.png 848w, https://substackcdn.com/image/fetch/$s_!porv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F862ddc77-06c4-4c58-be08-4f117a1a218c_1944x810.png 1272w, https://substackcdn.com/image/fetch/$s_!porv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F862ddc77-06c4-4c58-be08-4f117a1a218c_1944x810.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!porv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F862ddc77-06c4-4c58-be08-4f117a1a218c_1944x810.png" width="576" height="240.13186813186815" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/862ddc77-06c4-4c58-be08-4f117a1a218c_1944x810.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:607,&quot;width&quot;:1456,&quot;resizeWidth&quot;:576,&quot;bytes&quot;:1111022,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!porv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F862ddc77-06c4-4c58-be08-4f117a1a218c_1944x810.png 424w, https://substackcdn.com/image/fetch/$s_!porv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F862ddc77-06c4-4c58-be08-4f117a1a218c_1944x810.png 848w, https://substackcdn.com/image/fetch/$s_!porv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F862ddc77-06c4-4c58-be08-4f117a1a218c_1944x810.png 1272w, https://substackcdn.com/image/fetch/$s_!porv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F862ddc77-06c4-4c58-be08-4f117a1a218c_1944x810.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://www.youtube.com/watch?v=dVH1dRoMPBc&amp;t=10s&amp;pp=2AEKkAIB">Do We Need Attention? A Technical Mamba Model Primer</a></p></li><li><p><a href="https://www.codium.ai/blog/tandem-development-agent-plan-aware-auto-complete-with-automatic-review/">Tandem Coding with My AI Agent</a></p></li><li><p><a href="https://www.weco.ai/blog/technical-report">AIDE: An AI Agent that Beats Humans on Kaggle</a> </p></li><li><p><a href="https://www.mayerowitz.io/blog/mario-meets-pareto">[interactive dataviz] Mario Kart Meets The Pareto Frontier</a></p></li><li><p><a href="https://zilliz.com/learn/optimize-rag-with-rerankers-the-role-and-tradeoffs">Optimising RAG with Rerankers: The Pros &amp; Cons</a></p></li><li><p><a href="https://stability.ai/news/stable-audio-2-0?">Stable Audio 2.0: Generating HQ Music with AI</a></p></li><li><p><a href="https://www.youtube.com/watch?v=6s9Y5fgP3dg">The State of Production ML in 2024</a></p></li><li><p><a href="https://www.ycombinator.com/blog/building-ai-models">YCombinator: 25 Startups Building AI Models in &lt;3 Months</a></p></li><li><p><a href="https://serre-lab.github.io/Lens/">A Visual Exploration on How Large Vision Models Use Concepts</a></p></li><li><p><a href="https://web.stanford.edu/class/cs25/">[free course] Stanford CS25 Transformers United v4 Spring 2024</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://swe-agent.com">SWE-agent: Turn Any LM into S/W Engineering Agents</a></p></li><li><p><a href="https://github.com/infiniflow/ragflow">RAGFlow - Opensource, Local RAG Engine for Deep Doc Understanding</a></p></li><li><p><a href="https://www.philschmid.de/sagemaker-awq-medusa">How to Accelerate Mixtral 8x7B MoE with Speculative Decoding and Quantisation</a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://github.com/facebookresearch/schedule_free">Facebook AI: </a><em><a href="https://github.com/facebookresearch/schedule_free">Schedule-Free Learning</a></em><a href="https://github.com/facebookresearch/schedule_free"> - A New Way to Train Models</a></p></li><li><p><a href="https://github.com/hkuds/awesome-sslrec-papers">Awesome Self-Supervised Learning for Recommendations</a></p></li><li><p><a href="https://www.youtube.com/watch?v=wqJH7EMOHrg">Instruction Tuning: Lessons from Building the Stanford Alpaca Model</a></p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://jasonppy.github.io/VoiceCraft_web/">VoiceCraft: SOTA Zero-Shot Text-to-Speech in the Wild (demo, paper, repo)</a></p></li><li><p><a href="https://github.com/Zejun-Yang/AniPortrait">AniPortrait: Auto HQ Portrait Animation from Audio (demo, paper, repo)</a></p></li><li><p><a href="https://github.com/FoundationVision/VAR">VAR: SOTA Autoregressive Scalable Image Generation (demo, paper, repo)</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://medium.com/@jasoncorso/observations-on-mlops-a-fragmented-mosaic-of-mismatched-expectations-3488685ec0b6">MLOps Tools are a Fragmented Mess</a></p></li><li><p><a href="https://aws.amazon.com/blogs/industries/accelerating-industrialization-of-machine-learning-at-bmw-group-using-the-machine-learning-operations-mlops-solution/">Industrial ML with MLOps at BMW</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/towards-data-science/hitchhikers-guide-to-mlops-for-time-series-forecasting-with-sklearn-d5d9728095a7">Hitchhiker's Guide to MLOps for Time Series Forecasting</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://gretel.ai/blog/synthetic-text-to-sql-dataset">World's Largest Synthetic Opensource Text-to-SQL Dataset</a></p></li><li><p><a href="https://grocery-vision.github.io/cvpr2024.html">Grocery Vision Dataset Challenge 2024 CVPR</a></p></li><li><p><a href="https://huggingface.co/datasets/Salesforce/lotsa_data">LOTSA - Large-scale Open Time Series Datasets</a>  </p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-248?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-248?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-248?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #247]]></title><description><![CDATA[New Open Mixture-of-Experts Models. Jamba SSM-MoE. Qwen1.5-MoE-A2.7B. DBRX 132B MoE. frankenMoEs. AI Agentic Workflows. 1-bit ML Models. OpenDevin. AgentStudio.]]></description><link>https://datamachina.substack.com/p/data-machina-247</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-247</guid><pubDate>Sun, 31 Mar 2024 10:29:04 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!oXNa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff68c047d-e6e1-47e9-85c6-1372a420e33d_1966x1060.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>The New Breed of Open Mixture-of-Experts (MoE) Models.  </strong>In a push to beat the closed-box AI models from the AI Titans, many startups and research orgs have embarked in releasing open MoE-based models. These new breed of MoE-based models introduce many clever architectural tricks, and seek to balance training cost efficiency, output quality, inference performance and much more. For an excellent introduction to MoEs, checkout this long post by the Hugging Face team: <a href="https://huggingface.co/blog/moe">Mixture of Experts Explained</a></p><p>We&#8217;re starting to see several open MoE-based models achieving near-SOTA or SOTA performance as compared to e.g. OpenAI GPT-4 and Google Gemini 1.5 Pro. And this is great! Here&#8217;s a brief summary about four open, powerful MoE-based models introduced in the last ten days.</p><p><strong>AI21Labs Jamba</strong>. Jamba is a model built on top of an SSM-Transformer MoE architecture. The innovation here is to build the model by hybrid interleaving Transformer &amp; SSM layers. Jamba was designed to combinedly address the limitations and benefits of both Transformer and SSM architectures; 1) High quality output, 2) High throughput and 2) low memory requirements. Read more here: <a href="https://www.ai21.com/jamba">Introducing Jamba</a>. Also checkout <a href="https://github.com/Pleias/Various-Finetuning/blob/main/finetuning_jamba.py">this iPynb on How to Finetune Jamba</a>. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!oXNa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff68c047d-e6e1-47e9-85c6-1372a420e33d_1966x1060.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!oXNa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff68c047d-e6e1-47e9-85c6-1372a420e33d_1966x1060.png 424w, https://substackcdn.com/image/fetch/$s_!oXNa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff68c047d-e6e1-47e9-85c6-1372a420e33d_1966x1060.png 848w, https://substackcdn.com/image/fetch/$s_!oXNa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff68c047d-e6e1-47e9-85c6-1372a420e33d_1966x1060.png 1272w, https://substackcdn.com/image/fetch/$s_!oXNa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff68c047d-e6e1-47e9-85c6-1372a420e33d_1966x1060.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!oXNa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff68c047d-e6e1-47e9-85c6-1372a420e33d_1966x1060.png" width="566" height="305.157967032967" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f68c047d-e6e1-47e9-85c6-1372a420e33d_1966x1060.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:785,&quot;width&quot;:1456,&quot;resizeWidth&quot;:566,&quot;bytes&quot;:654357,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!oXNa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff68c047d-e6e1-47e9-85c6-1372a420e33d_1966x1060.png 424w, https://substackcdn.com/image/fetch/$s_!oXNa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff68c047d-e6e1-47e9-85c6-1372a420e33d_1966x1060.png 848w, https://substackcdn.com/image/fetch/$s_!oXNa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff68c047d-e6e1-47e9-85c6-1372a420e33d_1966x1060.png 1272w, https://substackcdn.com/image/fetch/$s_!oXNa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff68c047d-e6e1-47e9-85c6-1372a420e33d_1966x1060.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Alibaba Qwen1.5-MoE-A2.7B</strong>. A small MoE model with only 2.7B activated parameters that yet matches the performance of SOTA 7B models like Mistral 7B. The model introduces several architecture innovations -as compared to standard MoE models- for example:  combined fine-grained experts, initialisation upcycling, and shared &amp; routing experts. As a result, the model achieves a 75% decrease in training costs and accelerates inference speed by a factor of 1.74, as compared to larger open 7B models, while remaining competitive in most benchmarks. Checkout the paper, repo and demo here: <a href="https://qwenlm.github.io/blog/qwen-moe/">Qwen1.5-MoE: Matching 7B Model Performance with 1/3 Activated Parameters</a>.</p><p><strong>MetaAI BTX method</strong>. Similar to Qwen1.5-MoE&#8217;s architecture that combines multiple fine-tuned expert LLMs, Meta AI recently introduced a new method called Branch-Train-MiX (BTX). BTX starts from a seed model, which is branched to train experts in embarrassingly parallel fashion with high throughput and reduced communication cost. This produces a super efficient MoE architecture. Paper: <a href="https://arxiv.org/abs/2403.07816">Branch-Train-MiX: Mixing Expert LLMs into a Mixture-of-Experts LLM</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!trQI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ac55ae8-bf33-41d7-bfca-25893d8f7330_1298x488.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!trQI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ac55ae8-bf33-41d7-bfca-25893d8f7330_1298x488.png 424w, https://substackcdn.com/image/fetch/$s_!trQI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ac55ae8-bf33-41d7-bfca-25893d8f7330_1298x488.png 848w, https://substackcdn.com/image/fetch/$s_!trQI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ac55ae8-bf33-41d7-bfca-25893d8f7330_1298x488.png 1272w, https://substackcdn.com/image/fetch/$s_!trQI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ac55ae8-bf33-41d7-bfca-25893d8f7330_1298x488.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!trQI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ac55ae8-bf33-41d7-bfca-25893d8f7330_1298x488.png" width="616" height="231.59322033898306" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3ac55ae8-bf33-41d7-bfca-25893d8f7330_1298x488.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:488,&quot;width&quot;:1298,&quot;resizeWidth&quot;:616,&quot;bytes&quot;:207845,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!trQI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ac55ae8-bf33-41d7-bfca-25893d8f7330_1298x488.png 424w, https://substackcdn.com/image/fetch/$s_!trQI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ac55ae8-bf33-41d7-bfca-25893d8f7330_1298x488.png 848w, https://substackcdn.com/image/fetch/$s_!trQI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ac55ae8-bf33-41d7-bfca-25893d8f7330_1298x488.png 1272w, https://substackcdn.com/image/fetch/$s_!trQI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ac55ae8-bf33-41d7-bfca-25893d8f7330_1298x488.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><p><strong>Databricks DBRX 132B MoE</strong>. DBRX model uses a fine-grained MoE architecture with 132B parameters of which 36B parameters are active on any input. It was pre-trained on 12T tokens of text and code data. The weights of <a href="https://huggingface.co/databricks/dbrx-instruct">the base model (DBRX Base) and the finetuned model (DBRX Instruct) are available on Hugging Face</a> under an open license. According to Databricks, DBRX achieves SOTA in performance, cost efficiency, and output quality across open model benchmarks, and beats closed models like GPT-3.5 and Gemini 1.0 Pro. To read more about how DBRX was built its performance, and how to start using it see: <a href="https://www.databricks.com/blog/introducing-dbrx-new-state-art-open-llm">Introducing DBRX: A New State-of-the-Art Open LLM</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!_hQx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3269185e-a913-463c-9532-5f9c82e6ff00_1480x918.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_hQx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3269185e-a913-463c-9532-5f9c82e6ff00_1480x918.png 424w, https://substackcdn.com/image/fetch/$s_!_hQx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3269185e-a913-463c-9532-5f9c82e6ff00_1480x918.png 848w, https://substackcdn.com/image/fetch/$s_!_hQx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3269185e-a913-463c-9532-5f9c82e6ff00_1480x918.png 1272w, https://substackcdn.com/image/fetch/$s_!_hQx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3269185e-a913-463c-9532-5f9c82e6ff00_1480x918.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_hQx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3269185e-a913-463c-9532-5f9c82e6ff00_1480x918.png" width="548" height="339.86538461538464" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3269185e-a913-463c-9532-5f9c82e6ff00_1480x918.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:903,&quot;width&quot;:1456,&quot;resizeWidth&quot;:548,&quot;bytes&quot;:252238,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!_hQx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3269185e-a913-463c-9532-5f9c82e6ff00_1480x918.png 424w, https://substackcdn.com/image/fetch/$s_!_hQx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3269185e-a913-463c-9532-5f9c82e6ff00_1480x918.png 848w, https://substackcdn.com/image/fetch/$s_!_hQx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3269185e-a913-463c-9532-5f9c82e6ff00_1480x918.png 1272w, https://substackcdn.com/image/fetch/$s_!_hQx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3269185e-a913-463c-9532-5f9c82e6ff00_1480x918.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://labs.perplexity.ai">You can try DBRX-Instruct model for free at Perplexity Labs Playground</a>. (Make sure you select the model in the pull down menu.) And if you are interested in running DBRX in a local MacBook environment checkout <a href="https://github.com/ml-explore/mlx-examples/pull/628">this repo thread on how to 4-bit quantise DBRX with Apple MLX framework</a>.</p><p><strong>xAI Grok-1.5</strong>. A few days ago, the xAI team announced Grok-1.5, which is an open model built on top of <a href="https://github.com/xai-org/grok-1">Grok-1 base MoE model (repo)</a>. The model comes with a 128K context window and is very powerful in coding, RAG, and reasoning tasks. Grok-1.5 was built on a custom distributed training framework based on JAX, Rust, and Kubernetes. According to xAI researchers, Grok-1.5 beats most open models, and achieves near SOTA performance as compared to the likes of Gemini 1.5 Pro or GPT-4.  Grok-1.5 will be available in X (formerly Twitter.) In the meantime you can read the blogpost: <a href="https://x.ai/blog/grok-1.5">Announcing Grok-1.5</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!eWOL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb86a198-b797-49af-bf09-988062fb6a2a_2160x720.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!eWOL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb86a198-b797-49af-bf09-988062fb6a2a_2160x720.png 424w, https://substackcdn.com/image/fetch/$s_!eWOL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb86a198-b797-49af-bf09-988062fb6a2a_2160x720.png 848w, https://substackcdn.com/image/fetch/$s_!eWOL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb86a198-b797-49af-bf09-988062fb6a2a_2160x720.png 1272w, https://substackcdn.com/image/fetch/$s_!eWOL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb86a198-b797-49af-bf09-988062fb6a2a_2160x720.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!eWOL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb86a198-b797-49af-bf09-988062fb6a2a_2160x720.png" width="636" height="211.8543956043956" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cb86a198-b797-49af-bf09-988062fb6a2a_2160x720.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:485,&quot;width&quot;:1456,&quot;resizeWidth&quot;:636,&quot;bytes&quot;:124566,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!eWOL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb86a198-b797-49af-bf09-988062fb6a2a_2160x720.png 424w, https://substackcdn.com/image/fetch/$s_!eWOL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb86a198-b797-49af-bf09-988062fb6a2a_2160x720.png 848w, https://substackcdn.com/image/fetch/$s_!eWOL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb86a198-b797-49af-bf09-988062fb6a2a_2160x720.png 1272w, https://substackcdn.com/image/fetch/$s_!eWOL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb86a198-b797-49af-bf09-988062fb6a2a_2160x720.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://www.youtube.com/watch?v=sal78ACtGTc">Andrew Ng: &#8220;What's Next for AI Agentic Workflows&#8221;</a></p></li><li><p><a href="https://mobiusml.github.io/1bit_blog/">Towards 1-bit Machine Learning Models</a></p></li><li><p><a href="https://hamel.dev/blog/posts/evals/">Your AI Product Needs Evals - A Deep Dive</a></p></li><li><p><a href="https://freedium.cfd/https://towardsdatascience.com/create-mixtures-of-experts-with-mergekit-11b318c99562?gi=c40aec653548">How to Create a </a><em><a href="https://freedium.cfd/https://towardsdatascience.com/create-mixtures-of-experts-with-mergekit-11b318c99562?gi=c40aec653548">frankenMoE</a></em><a href="https://freedium.cfd/https://towardsdatascience.com/create-mixtures-of-experts-with-mergekit-11b318c99562?gi=c40aec653548"> (Mixture of Experts) Model</a></p></li><li><p><a href="https://softwaredoug.com/blog/2024/03/24/other-hard-retrieval">The Other Hard Problems in Retrieval: Orthogonality</a></p></li><li><p><a href="https://medium.com/dragonfly-research/dont-trust-verify-an-overview-of-decentralized-inference-c471a9f7a586">An Overview of Decentralised ML Model Inference</a></p></li><li><p><a href="https://favtutor.com/articles/hume-ai-evi-reactions/">A Review of Hume EVI Emotional Intelligence AI Chatbot</a></p></li><li><p><a href="https://blog.pgvecto.rs/my-binary-vector-search-is-better-than-your-fp32-vectors">My Binary Vector Search is Better than Your FP32 Vectors</a></p></li><li><p><a href="https://crfm.stanford.edu/ecosystem-graphs/index.html?mode=table">Stanford Foundation Models Ecosystem Tracker</a></p></li><li><p><a href="https://knowingmachines.org/models-all-the-way">A Visual Dive into LAION-5B Opensource Foundation Dataset</a> </p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://github.com/OpenDevin/OpenDevin">OpenDevin - An Open Source Autonomous AI Software Engineer </a></p></li><li><p><a href="https://github.com/anthropics/anthropic-cookbook/blob/main/multimodal/how_to_transcribe_text.ipynb">Advanced Text Extraction from Images &amp; PDFs with Claude 3</a></p></li><li><p><a href="https://skyworkai.github.io/agent-studio/index.html">AgentStudio: An Open-source Toolkit for Building General Virtual Agents</a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://github.com/intelligent-machine-learning/dlrover">DLRover: An Automatic Distributed Deep Learning System</a></p></li><li><p><a href="https://arxiv.org/abs/2403.18103">[free tutorial] Diffusion Models for Imaging and Vision (Mar,2024)</a></p></li><li><p><a href="https://blog.research.google/2024/03/autobnn-probabilistic-time-series.html?m=1">Probabilistic Time Series Forecasting with Auto Bayesian NNs</a></p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://open-vision-language.github.io/MagicLens/">DeepMind MagicLens: SOTA Self-Supervised Image Retrieval</a></p></li><li><p><a href="https://arxiv.org/abs/2403.19522">Model Stock: All We Need is Just a Few Fine-tuned Models</a></p></li><li><p><a href="https://arxiv.org/abs/2403.17887">MetaAI - The Unreasonable Ineffectiveness of the Deeper Layers</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://github.com/fmind/mlops-python-package">MLOps Python Best Practices </a></p></li><li><p><a href="https://neptune.ai/blog/llmops">LLMOps: Why It Matters &amp; How to Implement It</a></p></li><li><p><a href="https://github.com/alexandergirardet/london_rightmove">MLOps Pipeline - RightMove Rental Prediction System</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://julep-ai.github.io">Exploring The OpenAI Community Posts Dataset</a></p></li><li><p><a href="https://gmcirco.github.io/blog/posts/tiny-recid/recid.html">Don&#8217;t Evaluate Your Model On a SMOTE Dataset</a></p></li><li><p><a href="https://github.com/orionw/FollowIR">FollowIR: A Dataset for Evaluating &amp; Teaching Info Retrieval Models</a> </p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-247?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-247?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-247?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #246]]></title><description><![CDATA[Trends in Vision-Language Models. VideoAgent. MyVLM. ScreenAI. Evolutionary Model Merge. Embedding Quantisation. RAG 2.0 SOTA. LaVague Agent. Devika AI Engineer. Contextual Bandits. DenseFormer.]]></description><link>https://datamachina.substack.com/p/data-machina-246</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-246</guid><pubDate>Sun, 24 Mar 2024 11:01:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27628c64-cf3f-4a8f-8933-e96c2b377f7d_1750x1130.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>New Trends in Vision-Language Models (VLMs.) </strong>The evolution of VLMs in recent months has been pretty impressive. Today VLMs exhibit some amazing capabilities. See the two links below on what VLMs can do and how they work:</p><ul><li><p><a href="https://encord.com/blog/vision-language-models-guide/">A Guide to Vision-Language Models (VLMs)</a></p></li><li><p><a href="https://arxiv.org/abs/2304.00685">Vision-Language Models for Vision Tasks: A Survey</a></p></li></ul><p>But still VLMs are facing some challenges for example in terms of: multimodal training datasets, resolution, long-form modality, vision-language integration, and concept understanding. Somewhat along those lines, I see 5 trends happening in VLMs: 1) VLMs run on local environment 2) Emerging VLM videoagents 3) Unified structure learning for VLMs 4) Personalisation of VLMs and 5) Fixing the VLM resolution curse. Let&#8217;s see&#8230;</p><p><strong>VLMs on local environment.  </strong>In this blogpost, an independent AI researcher writes about playing around with VLMs using only a local environment. Inspired by <a href="https://www.microsoft.com/en-us/research/blog/phi-2-the-surprising-power-of-small-language-models/">Phi-2: The surprising power of small LMs</a>-  and using Facebook AI AnyMAL multimodality method, the researcher describes in detail the challenges and different architectures until achieving some decent results in a local environment, which are not close to academic SOTA. Blogpost: <a href="https://qtnx.ai/posts/findings_on_vlms">Findings on VLMs</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gk6h!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71ab0d08-3744-4df6-88b2-03530a78c9db_1278x586.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gk6h!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71ab0d08-3744-4df6-88b2-03530a78c9db_1278x586.png 424w, https://substackcdn.com/image/fetch/$s_!gk6h!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71ab0d08-3744-4df6-88b2-03530a78c9db_1278x586.png 848w, https://substackcdn.com/image/fetch/$s_!gk6h!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71ab0d08-3744-4df6-88b2-03530a78c9db_1278x586.png 1272w, https://substackcdn.com/image/fetch/$s_!gk6h!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71ab0d08-3744-4df6-88b2-03530a78c9db_1278x586.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gk6h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71ab0d08-3744-4df6-88b2-03530a78c9db_1278x586.png" width="542" height="248.5226917057903" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/71ab0d08-3744-4df6-88b2-03530a78c9db_1278x586.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:586,&quot;width&quot;:1278,&quot;resizeWidth&quot;:542,&quot;bytes&quot;:177793,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!gk6h!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71ab0d08-3744-4df6-88b2-03530a78c9db_1278x586.png 424w, https://substackcdn.com/image/fetch/$s_!gk6h!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71ab0d08-3744-4df6-88b2-03530a78c9db_1278x586.png 848w, https://substackcdn.com/image/fetch/$s_!gk6h!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71ab0d08-3744-4df6-88b2-03530a78c9db_1278x586.png 1272w, https://substackcdn.com/image/fetch/$s_!gk6h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71ab0d08-3744-4df6-88b2-03530a78c9db_1278x586.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>New SOTA in long-form video understanding.</strong> Researchers at Standford, introduced a new approach for video understanding. The approach combines an LLM agent, a vision-language model (VLM), and contrastive language-image model (CLIP).  The researchers claim this approach is superior to current SOTA in video understanding. Paper: <a href="https://arxiv.org/abs/2403.10517">VideoAgent: Long-form Video Understanding with LLM as Agent</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!yzZU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F154ec4a6-01f1-4120-aa45-5db419c9bb1b_2344x1050.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!yzZU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F154ec4a6-01f1-4120-aa45-5db419c9bb1b_2344x1050.png 424w, https://substackcdn.com/image/fetch/$s_!yzZU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F154ec4a6-01f1-4120-aa45-5db419c9bb1b_2344x1050.png 848w, https://substackcdn.com/image/fetch/$s_!yzZU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F154ec4a6-01f1-4120-aa45-5db419c9bb1b_2344x1050.png 1272w, https://substackcdn.com/image/fetch/$s_!yzZU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F154ec4a6-01f1-4120-aa45-5db419c9bb1b_2344x1050.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!yzZU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F154ec4a6-01f1-4120-aa45-5db419c9bb1b_2344x1050.png" width="556" height="248.97802197802199" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/154ec4a6-01f1-4120-aa45-5db419c9bb1b_2344x1050.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:652,&quot;width&quot;:1456,&quot;resizeWidth&quot;:556,&quot;bytes&quot;:1410873,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!yzZU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F154ec4a6-01f1-4120-aa45-5db419c9bb1b_2344x1050.png 424w, https://substackcdn.com/image/fetch/$s_!yzZU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F154ec4a6-01f1-4120-aa45-5db419c9bb1b_2344x1050.png 848w, https://substackcdn.com/image/fetch/$s_!yzZU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F154ec4a6-01f1-4120-aa45-5db419c9bb1b_2344x1050.png 1272w, https://substackcdn.com/image/fetch/$s_!yzZU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F154ec4a6-01f1-4120-aa45-5db419c9bb1b_2344x1050.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>New SOTA in UI &amp; infographics understanding</strong>. Researchers at Google, recently introduced a novel vision-language model that specialises in UI and infographics understanding. The model was trained on a unique mixture of datasets containing novel screen annotations, and types and location of UI elements. The researchers claim the model achieves SOTA in UI &amp; infographics understanding. Paper:  <a href="https://arxiv.org/abs/2402.04615">ScreenAI: A Vision-Language Model for UI and Infographics Understanding</a> </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7Anx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22c2c216-0532-42c5-8a83-22a4d0a1e779_2256x680.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7Anx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22c2c216-0532-42c5-8a83-22a4d0a1e779_2256x680.png 424w, https://substackcdn.com/image/fetch/$s_!7Anx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22c2c216-0532-42c5-8a83-22a4d0a1e779_2256x680.png 848w, https://substackcdn.com/image/fetch/$s_!7Anx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22c2c216-0532-42c5-8a83-22a4d0a1e779_2256x680.png 1272w, https://substackcdn.com/image/fetch/$s_!7Anx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22c2c216-0532-42c5-8a83-22a4d0a1e779_2256x680.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7Anx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22c2c216-0532-42c5-8a83-22a4d0a1e779_2256x680.png" width="554" height="167.0370879120879" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/22c2c216-0532-42c5-8a83-22a4d0a1e779_2256x680.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:439,&quot;width&quot;:1456,&quot;resizeWidth&quot;:554,&quot;bytes&quot;:307114,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!7Anx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22c2c216-0532-42c5-8a83-22a4d0a1e779_2256x680.png 424w, https://substackcdn.com/image/fetch/$s_!7Anx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22c2c216-0532-42c5-8a83-22a4d0a1e779_2256x680.png 848w, https://substackcdn.com/image/fetch/$s_!7Anx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22c2c216-0532-42c5-8a83-22a4d0a1e779_2256x680.png 1272w, https://substackcdn.com/image/fetch/$s_!7Anx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22c2c216-0532-42c5-8a83-22a4d0a1e779_2256x680.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><p><strong>New SOTA in visual document understanding.  </strong>Researchers at Alibaba just introduced a new model for visual document understanding that uses Unified Structure Learning (USL). The USL model learns on structure-aware parsing tasks and multi-grained text localisation tasks across 5 domains: document, webpage, table, chart, and natural image. The researchers claim the model achieves SOTA. Paper: <a href="https://arxiv.org/abs/2403.12895">mPLUG-DocOwl 1.5: Unified Structure Learning for OCR-free Document Understanding</a> </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!FfAm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27628c64-cf3f-4a8f-8933-e96c2b377f7d_1750x1130.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!FfAm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27628c64-cf3f-4a8f-8933-e96c2b377f7d_1750x1130.png 424w, https://substackcdn.com/image/fetch/$s_!FfAm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27628c64-cf3f-4a8f-8933-e96c2b377f7d_1750x1130.png 848w, https://substackcdn.com/image/fetch/$s_!FfAm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27628c64-cf3f-4a8f-8933-e96c2b377f7d_1750x1130.png 1272w, https://substackcdn.com/image/fetch/$s_!FfAm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27628c64-cf3f-4a8f-8933-e96c2b377f7d_1750x1130.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!FfAm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27628c64-cf3f-4a8f-8933-e96c2b377f7d_1750x1130.png" width="514" height="331.84065934065933" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/27628c64-cf3f-4a8f-8933-e96c2b377f7d_1750x1130.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:940,&quot;width&quot;:1456,&quot;resizeWidth&quot;:514,&quot;bytes&quot;:842164,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!FfAm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27628c64-cf3f-4a8f-8933-e96c2b377f7d_1750x1130.png 424w, https://substackcdn.com/image/fetch/$s_!FfAm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27628c64-cf3f-4a8f-8933-e96c2b377f7d_1750x1130.png 848w, https://substackcdn.com/image/fetch/$s_!FfAm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27628c64-cf3f-4a8f-8933-e96c2b377f7d_1750x1130.png 1272w, https://substackcdn.com/image/fetch/$s_!FfAm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27628c64-cf3f-4a8f-8933-e96c2b377f7d_1750x1130.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Personalisation of VLMs</strong>.  Most VLMs lack an understanding of user-concepts. Researchers at Snap et al. just introduced MyVLM, a new way to personalise VLMs. Given a set of images depicting user-specific concepts, the researchers augmented a pretrained vision-language model (VLM) and used <em>concept embeddings</em> to understand and reason over these user concepts. Th researchers applied MyVLM to BLIP-2, LlaVA 1.6 and MiniGPT-v2 models for personalised captioning, visual question-answering, and referring expression comprehension. Checkout the project page, code, data and demos here: <a href="https://snap-research.github.io/MyVLM/">MyVLM: Personalising VLMs for User-Specific Queries</a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0XxO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08ea64df-a836-4865-853c-501d0acbed55_1932x648.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0XxO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08ea64df-a836-4865-853c-501d0acbed55_1932x648.png 424w, https://substackcdn.com/image/fetch/$s_!0XxO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08ea64df-a836-4865-853c-501d0acbed55_1932x648.png 848w, https://substackcdn.com/image/fetch/$s_!0XxO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08ea64df-a836-4865-853c-501d0acbed55_1932x648.png 1272w, https://substackcdn.com/image/fetch/$s_!0XxO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08ea64df-a836-4865-853c-501d0acbed55_1932x648.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!0XxO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08ea64df-a836-4865-853c-501d0acbed55_1932x648.png" width="572" height="191.71428571428572" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/08ea64df-a836-4865-853c-501d0acbed55_1932x648.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:488,&quot;width&quot;:1456,&quot;resizeWidth&quot;:572,&quot;bytes&quot;:350893,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!0XxO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08ea64df-a836-4865-853c-501d0acbed55_1932x648.png 424w, https://substackcdn.com/image/fetch/$s_!0XxO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08ea64df-a836-4865-853c-501d0acbed55_1932x648.png 848w, https://substackcdn.com/image/fetch/$s_!0XxO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08ea64df-a836-4865-853c-501d0acbed55_1932x648.png 1272w, https://substackcdn.com/image/fetch/$s_!0XxO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08ea64df-a836-4865-853c-501d0acbed55_1932x648.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong>Fixing the resolution curse in VLMs</strong>.  Resolution is a key problem in VLMs. VLMs can't zoom. They are limited by the resolution of the vision encoder, and usually, it is not super large based on the pre-trained vision encoder. In this blogpost, Alex explains how you can use Visual Search, Visual Cropping and MC-LLaVA to fix this problem. Blogpost: <a href="https://huggingface.co/blog/visheratin/vlm-resolution-curse">Breaking resolution curse of vision-language models</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!iKCL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd335b94-55a9-4f72-95a4-0e0dc89b289b_1714x484.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iKCL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd335b94-55a9-4f72-95a4-0e0dc89b289b_1714x484.png 424w, https://substackcdn.com/image/fetch/$s_!iKCL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd335b94-55a9-4f72-95a4-0e0dc89b289b_1714x484.png 848w, https://substackcdn.com/image/fetch/$s_!iKCL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd335b94-55a9-4f72-95a4-0e0dc89b289b_1714x484.png 1272w, https://substackcdn.com/image/fetch/$s_!iKCL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd335b94-55a9-4f72-95a4-0e0dc89b289b_1714x484.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!iKCL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd335b94-55a9-4f72-95a4-0e0dc89b289b_1714x484.png" width="608" height="171.62637362637363" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd335b94-55a9-4f72-95a4-0e0dc89b289b_1714x484.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:411,&quot;width&quot;:1456,&quot;resizeWidth&quot;:608,&quot;bytes&quot;:690289,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!iKCL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd335b94-55a9-4f72-95a4-0e0dc89b289b_1714x484.png 424w, https://substackcdn.com/image/fetch/$s_!iKCL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd335b94-55a9-4f72-95a4-0e0dc89b289b_1714x484.png 848w, https://substackcdn.com/image/fetch/$s_!iKCL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd335b94-55a9-4f72-95a4-0e0dc89b289b_1714x484.png 1272w, https://substackcdn.com/image/fetch/$s_!iKCL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd335b94-55a9-4f72-95a4-0e0dc89b289b_1714x484.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://sakana.ai/evolutionary-model-merge/">Evolutionary Model Merge: A New Way to Automate Model Dev</a></p></li><li><p><a href="https://maartengrootendorst.substack.com/p/a-visual-guide-to-mamba-and-state">A Visual Guide to Mamba and State Space Models</a></p></li><li><p><a href="https://deepmind.google/discover/blog/tacticai-ai-assistant-for-football-tactics/">DeepMind TacticAI: An AI-Assitant for Football Tactics</a></p></li><li><p><a href="https://simonwillison.net/2024/Mar/22/claude-and-chatgpt-case-study/">How I Use Claude 3 and ChatGPT for Ad-hoc Tasks</a></p></li><li><p><a href="https://huggingface.co/blog/visheratin/nomic-data-cleaning">Visualisation of Large-scale Multimodal Datasets with Nomic Atlas</a></p></li><li><p><a href="https://huggingface.co/blog/embedding-quantization">New Embedding Quantisation for Faster, Cheaper Retrieval</a></p></li><li><p><a href="https://contextual.ai/introducing-rag2/">Introducing RAG 2.0: New SOTA Contextual Language Models</a></p></li><li><p><a href="https://bair.berkeley.edu/blog/2024/03/21/xt/">Berkeley AIR - A New Approach to Modelling Extremely Large Images</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/snowflake/mistral-snowflake-the-new-frontier-in-sql-copilot-products-f71b8a939899">Mistral + Snowflake: The New Frontier in SQL Copilot Products</a></p></li><li><p><a href="https://huggingface.co/blog/cosmopedia">Cosmopedia: How to Create Large-scale Synthetic Data for Pre-training</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://github.com/lavague-ai/LaVague">LaVague: A Large Action Model for Automating Automation</a></p></li><li><p><a href="https://github.com/mshumer/gpt-investor">Claude-investor: Generative Stocks Investment Recommendations </a></p></li><li><p><a href="https://github.com/stitionai/devika">Devika - An Agentic AI Software Engineer that Follows Human Instructions</a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://freedium.cfd/https://towardsdatascience.com/an-overview-of-contextual-bandits-53ac3aa45034">An Overview of Contextual Bandits &amp; RL</a></p></li><li><p><a href="https://speakerdeck.com/jjzhu/emtiyaz-khan-riken-tokyo-japan-the-bayesian-learning-rule">The Bayesian Learning Rule &amp; Adaptation in ML</a></p></li><li><p><a href="https://www.opencv.ai/blog/train-neural-network-reversible-residual-networks">Reversible Residual Nets: How To Train NNs with Less GPU Memory</a></p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://arxiv.org/abs/2402.02622">DenseFormer: Faster Transformer Inference with Depth Weighted Averaging</a></p></li><li><p><a href="https://arxiv.org/abs/2403.13372">LlamaFactory v.2: Unified Efficient Fine-Tuning of 100+ Language Models</a></p></li><li><p><a href="https://arxiv.org/abs/2403.14392">Google Research- A Bag of Tricks for Few-Shot Class-Incremental Learning</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://home.mlops.community/public/videos/how-autonomous-agents-can-help-you-get-llms-ready-for-production">Autonomous Agents for Production Ready LLMs</a></p></li><li><p><a href="https://youtu.be/46dGFsIxCLA?feature=shared">Predictive Scoring with MLOps and KubeDDR</a></p></li><li><p><a href="https://freedium.cfd/https://fmind.medium.com/make-your-mlops-code-base-solid-with-pydantic-and-pythons-abc-aeedfe9c3e65">High-quality MLOps with Python's ABC &amp; Pydantic</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://waymo.com/blog/2024/03/2024-waymo-open-dataset-challenges/">Announcing the 2024 Waymo Open Dataset Challenges</a></p></li><li><p><a href="https://huggingface.co/blog/Pclanglais/common-corpus">Common Corpus: The Largest Public Domain Dataset, 500 Billion Words</a></p></li><li><p><a href="https://droid-dataset.github.io">DROID (Distributed Robot Interaction Dataset), 76K Demonstrations</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-246?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-246?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-246?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #245]]></title><description><![CDATA[GenAI RAG Revisited. Command-R. RAFT. RAT. RAG + Knowledge Graph. Devin AI Engineer. KPU (Knowledge Processing Unit). Open-Sora GenAI Vid. AutoDev. DeepMind SIMA. DeepSeek-VL. Amazon Chronos Models.]]></description><link>https://datamachina.substack.com/p/data-machina-245</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-245</guid><pubDate>Sun, 17 Mar 2024 10:59:42 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb3ddb57-c796-4e3e-b1f2-56422c181e2c_1500x1156.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>The GenAI RAG House Revisited. </strong>Since Facebook AI introduced RAG three years ago, RAG systems have evolved <a href="https://arxiv.org/abs/2312.10997">from Naive to Advanced, and then to Modular RAG</a>. But Modular RAG also added more complexity, components, interfaces, etc. to the LLMOps pipeline. </p><p>Many naive RAG and advanced RAG projects never made it to prod. I know many companies that have spent a lot effort and money in building enterprise RAG apps, only to realise they couldn&#8217;t produce accurate, reliable results at a manageable cost. Building a RAG system that is scalable, cost-efficient, accurate, and modular requires deep expertise. Here are a few things to consider when building a modern, modular RAG system. </p><p><strong>Understanding RAG design choices and its implications</strong>. In this blogpost, Michal describes the many design choices required to build a RAG, and how those RAG design choices can impact the performance, behaviour, and cost of your RAG app, sometimes in non-obvious ways. Blogpost: <a href="https://freedium.cfd/https://towardsdatascience.com/designing-rags-dbb9a7c1d729">Designing RAGs: A guide to Retrieval-Augmented Generation design choices</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IAv-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2eac1e9-f81d-4fd1-bb98-c03d31153e9d_1356x658.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IAv-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2eac1e9-f81d-4fd1-bb98-c03d31153e9d_1356x658.png 424w, https://substackcdn.com/image/fetch/$s_!IAv-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2eac1e9-f81d-4fd1-bb98-c03d31153e9d_1356x658.png 848w, https://substackcdn.com/image/fetch/$s_!IAv-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2eac1e9-f81d-4fd1-bb98-c03d31153e9d_1356x658.png 1272w, https://substackcdn.com/image/fetch/$s_!IAv-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2eac1e9-f81d-4fd1-bb98-c03d31153e9d_1356x658.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IAv-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2eac1e9-f81d-4fd1-bb98-c03d31153e9d_1356x658.png" width="466" height="226.12684365781712" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f2eac1e9-f81d-4fd1-bb98-c03d31153e9d_1356x658.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:658,&quot;width&quot;:1356,&quot;resizeWidth&quot;:466,&quot;bytes&quot;:425888,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!IAv-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2eac1e9-f81d-4fd1-bb98-c03d31153e9d_1356x658.png 424w, https://substackcdn.com/image/fetch/$s_!IAv-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2eac1e9-f81d-4fd1-bb98-c03d31153e9d_1356x658.png 848w, https://substackcdn.com/image/fetch/$s_!IAv-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2eac1e9-f81d-4fd1-bb98-c03d31153e9d_1356x658.png 1272w, https://substackcdn.com/image/fetch/$s_!IAv-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2eac1e9-f81d-4fd1-bb98-c03d31153e9d_1356x658.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p><strong>Lessons learnt from implementing large RAG systems</strong>. This is a great blogpost written as an intermediate practitioner's guide to building RAGs. Hrishi is a veteran in RAG battles and has earned all the medals. He writes about &#8220;<em>some things you may not have considered, some things we've had to (painfully) discover, and some things we believe every RAG system should have.</em>&#8221; Blogpost: <a href="https://huggingface.co/blog/hrishioa/retrieval-augmented-generation-1-basics">Better RAG: From Basics to Advanced (Part 1, 2 &amp; 3)</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4c3j!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F35f53ee1-d174-4d85-b77f-7128f0da846c_1722x842.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4c3j!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F35f53ee1-d174-4d85-b77f-7128f0da846c_1722x842.png 424w, https://substackcdn.com/image/fetch/$s_!4c3j!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F35f53ee1-d174-4d85-b77f-7128f0da846c_1722x842.png 848w, https://substackcdn.com/image/fetch/$s_!4c3j!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F35f53ee1-d174-4d85-b77f-7128f0da846c_1722x842.png 1272w, https://substackcdn.com/image/fetch/$s_!4c3j!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F35f53ee1-d174-4d85-b77f-7128f0da846c_1722x842.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4c3j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F35f53ee1-d174-4d85-b77f-7128f0da846c_1722x842.png" width="480" height="234.72527472527472" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/35f53ee1-d174-4d85-b77f-7128f0da846c_1722x842.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:712,&quot;width&quot;:1456,&quot;resizeWidth&quot;:480,&quot;bytes&quot;:302580,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!4c3j!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F35f53ee1-d174-4d85-b77f-7128f0da846c_1722x842.png 424w, https://substackcdn.com/image/fetch/$s_!4c3j!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F35f53ee1-d174-4d85-b77f-7128f0da846c_1722x842.png 848w, https://substackcdn.com/image/fetch/$s_!4c3j!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F35f53ee1-d174-4d85-b77f-7128f0da846c_1722x842.png 1272w, https://substackcdn.com/image/fetch/$s_!4c3j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F35f53ee1-d174-4d85-b77f-7128f0da846c_1722x842.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><p><strong>Implementing RAG at production scale</strong>. Productising RAG at scale is really hard indeed. Cohere just announced Command-R, a generative model optimised for long context RAG interoperating with external APIs and tools. Command-R addresses the main challenge of RAG: Balancing high efficiency, strong accuracy, low latency, and high throughput at production scale. Blogpost: <a href="https://txt.cohere.com/command-r/">Command-R: Retrieval Augmented Generation at Production Scale</a>.</p><p><strong>Avoiding black-box, proprietary AI by leveraging Modular RAG &amp; Opensource AI</strong>. A popular way to build RAG protos has been to integrate calls to proprietary AI APIs (e.g GPT-4) with RAG components using LangChain or Llamaindex. But this has proven complex, often expensive to maintain,  and not always reliable. To address these challenges, Weaviate recently announced Verba: an open-source, modular RAG system that is both fully customisable and adaptable. It&#8217;s easy to use out-of-the-box with a nice UI. Verba also enables smooth integration with many AI libs, and both closed &amp; open-source LLMs. Blogpost, repo and demo here: <a href="https://weaviate.io/blog/verba-open-source-rag-app">Verba: Building an Open Source, Modular RAG Application</a>. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gZ5x!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb3ddb57-c796-4e3e-b1f2-56422c181e2c_1500x1156.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gZ5x!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb3ddb57-c796-4e3e-b1f2-56422c181e2c_1500x1156.png 424w, https://substackcdn.com/image/fetch/$s_!gZ5x!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb3ddb57-c796-4e3e-b1f2-56422c181e2c_1500x1156.png 848w, https://substackcdn.com/image/fetch/$s_!gZ5x!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb3ddb57-c796-4e3e-b1f2-56422c181e2c_1500x1156.png 1272w, https://substackcdn.com/image/fetch/$s_!gZ5x!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb3ddb57-c796-4e3e-b1f2-56422c181e2c_1500x1156.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gZ5x!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb3ddb57-c796-4e3e-b1f2-56422c181e2c_1500x1156.png" width="504" height="388.38461538461536" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/db3ddb57-c796-4e3e-b1f2-56422c181e2c_1500x1156.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1122,&quot;width&quot;:1456,&quot;resizeWidth&quot;:504,&quot;bytes&quot;:704035,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!gZ5x!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb3ddb57-c796-4e3e-b1f2-56422c181e2c_1500x1156.png 424w, https://substackcdn.com/image/fetch/$s_!gZ5x!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb3ddb57-c796-4e3e-b1f2-56422c181e2c_1500x1156.png 848w, https://substackcdn.com/image/fetch/$s_!gZ5x!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb3ddb57-c796-4e3e-b1f2-56422c181e2c_1500x1156.png 1272w, https://substackcdn.com/image/fetch/$s_!gZ5x!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb3ddb57-c796-4e3e-b1f2-56422c181e2c_1500x1156.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Improving RAG with domain-specific knowledge</strong>. A group of researchers from Berkeley, Meta AI &amp; MS Research just introduced RAFT (Retrieval-Augmented Fine-Tuning), a new method that combines RAG and domain-specific fine-tuning (DSF). RAFT solves many of the challenges that RAG and DSF can&#8217;t solve alone on their own. Blogpost, paper here: <a href="https://gorilla.cs.berkeley.edu/blogs/9_raft.html">RAFT: Adapting Language Model to Domain Specific RAG</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!V1HZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafec73c7-7b5c-4683-8e3d-be9861c79e58_1862x658.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!V1HZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafec73c7-7b5c-4683-8e3d-be9861c79e58_1862x658.png 424w, https://substackcdn.com/image/fetch/$s_!V1HZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafec73c7-7b5c-4683-8e3d-be9861c79e58_1862x658.png 848w, https://substackcdn.com/image/fetch/$s_!V1HZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafec73c7-7b5c-4683-8e3d-be9861c79e58_1862x658.png 1272w, https://substackcdn.com/image/fetch/$s_!V1HZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafec73c7-7b5c-4683-8e3d-be9861c79e58_1862x658.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!V1HZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafec73c7-7b5c-4683-8e3d-be9861c79e58_1862x658.png" width="568" height="200.9065934065934" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/afec73c7-7b5c-4683-8e3d-be9861c79e58_1862x658.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:515,&quot;width&quot;:1456,&quot;resizeWidth&quot;:568,&quot;bytes&quot;:237335,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!V1HZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafec73c7-7b5c-4683-8e3d-be9861c79e58_1862x658.png 424w, https://substackcdn.com/image/fetch/$s_!V1HZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafec73c7-7b5c-4683-8e3d-be9861c79e58_1862x658.png 848w, https://substackcdn.com/image/fetch/$s_!V1HZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafec73c7-7b5c-4683-8e3d-be9861c79e58_1862x658.png 1272w, https://substackcdn.com/image/fetch/$s_!V1HZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafec73c7-7b5c-4683-8e3d-be9861c79e58_1862x658.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong>The downside of cosine-similarity and leveraging ColBERT v2. in RAG</strong>. Many RAG apps use cosine-similarity matching between docs and query embeddings as default. In a new paper from Netflix, <a href="https://arxiv.org/abs/2403.05440">(</a><em><a href="https://arxiv.org/abs/2403.05440">Is Cosine-Similarity of Embeddings Really About Similarity?</a></em><a href="https://arxiv.org/abs/2403.05440">) the researchers caution against blindly using cosine-similarity</a>. </p><p>Cosine-similarity is referred as a "<em>no interaction</em>" approach due to its inability to capture the complex relationships between query and document terms. To address this issue, ColBERT v.2 comes to the rescue with &#8220;<em>late interaction</em>&#8221; evaluation by which the query and document representations occurs late in the process, after both have been independently encoded. Read more here: <a href="https://jina.ai/news/what-is-colbert-and-late-interaction-and-why-they-matter-in-search/">What is ColBERT and Late Interaction and Why They Matter in Search?</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!91fi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2894349-aed8-4717-a136-6c90f4fd8fe4_1554x718.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!91fi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2894349-aed8-4717-a136-6c90f4fd8fe4_1554x718.png 424w, https://substackcdn.com/image/fetch/$s_!91fi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2894349-aed8-4717-a136-6c90f4fd8fe4_1554x718.png 848w, https://substackcdn.com/image/fetch/$s_!91fi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2894349-aed8-4717-a136-6c90f4fd8fe4_1554x718.png 1272w, https://substackcdn.com/image/fetch/$s_!91fi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2894349-aed8-4717-a136-6c90f4fd8fe4_1554x718.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!91fi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2894349-aed8-4717-a136-6c90f4fd8fe4_1554x718.png" width="588" height="271.78846153846155" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e2894349-aed8-4717-a136-6c90f4fd8fe4_1554x718.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:673,&quot;width&quot;:1456,&quot;resizeWidth&quot;:588,&quot;bytes&quot;:173694,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!91fi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2894349-aed8-4717-a136-6c90f4fd8fe4_1554x718.png 424w, https://substackcdn.com/image/fetch/$s_!91fi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2894349-aed8-4717-a136-6c90f4fd8fe4_1554x718.png 848w, https://substackcdn.com/image/fetch/$s_!91fi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2894349-aed8-4717-a136-6c90f4fd8fe4_1554x718.png 1272w, https://substackcdn.com/image/fetch/$s_!91fi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2894349-aed8-4717-a136-6c90f4fd8fe4_1554x718.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Combining RAG with Knowledge Graphs</strong>. Knowledge graphs can combine unstructured and structured data, and can capture the context behind the data. The idea here is to provide better context to the RAG via the knowledge graph, and improve results as compared to just using semantic search. </p><p>Just in case, <a href="https://textmine.com/post/an-introduction-to-knowledge-graphs">here&#8217;s a brief, good intro to Knowledge Graphs</a>. </p><p>A few hours ago, Yohei open sourced <a href="https://github.com/yoheinakajima/mindgraph">MindGraph, a prototype for generating and querying against a large knowledge graph with AI</a>.</p><p>This is a short, free course on <a href="https://www.deeplearning.ai/short-courses/knowledge-graphs-rag/">Knowledge Graphs for RAG</a>. You&#8217;ll learn how to build a RAG question-answering system to chat with a knowledge graph of structured text documents using LangChain and Neo4j.</p><div id="youtube2-jMKRUo4wVKA" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;jMKRUo4wVKA&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/jMKRUo4wVKA?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong>Combining </strong><em><strong>Chain-of-Thought</strong></em><strong> with RAG</strong>. A group of AI researchers recently introduced RAT (Retrieval-Augmented Thoughts), a new method that iterative revises a chain of thoughts with the help of information retrieval. The researchers claim that RAT significantly improves LLM reasoning and generation ability in long-horizon generation tasks, while hugely mitigating hallucinations. Checkout the paper, code, and demo here: <a href="https://craftjarvis.github.io/RAT/">Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Horizon Generation</a>.</p><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://www.cognition-labs.com/introducing-devin">Introducing Devin, the First AI Software Engineer</a></p></li><li><p><a href="https://huyenchip.com/2024/03/14/ai-oss.html">I Reviewed 900 AI Tools: The New Open Source AI Stack, 2024</a></p></li><li><p><a href="https://maisa.ai/blog/kpu">KPU (Knowledge Processing Unit) for Complex AI Reasoning</a></p></li><li><p><a href="https://hpc-ai.com/blog/open-sora">Open-Sora: How We Replicated OpenAI SORA VidGen Model</a></p></li><li><p><a href="https://andrewmayne.com/2024/03/12/improving-gpt-4s-visual-reasoning-with-prompting/">Improving GPT-4&#8217;s Visual Reasoning with&nbsp;Prompting</a></p></li><li><p><a href="https://docs.google.com/presentation/d/1IkzESdOwdmwvPxIELYJi8--K3EZ98_cL6c5ZcLKSyVg/edit?pli=1#slide=id.p">Hugging Face Little Guide to Building LLMs in 2024</a></p></li><li><p><a href="https://deepmind.google/discover/blog/sima-generalist-ai-agent-for-3d-virtual-environments/">DeepMind SIMA: A Generalist AI Agent for Virtual 3D Worlds</a></p></li><li><p><a href="https://arxiv.org/html/2403.09629v1">Stanford Quiet STaR: Teaching AI to Think Before it Speaks</a></p></li><li><p><a href="https://ide.unitmesh.cc">AutoDev: A Magic AI Auto Coding Wizard with Multi-Language Support</a></p></li><li><p><a href="https://freedium.cfd/https://towardsdatascience.com/moirai-salesforces-foundation-model-for-time-series-forecasting-4eff6c34093d">A Review of Salesforce MORAI Model for Time-series Forecasting</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://github.com/amazon-science/chronos-forecasting">Amazon Chronos: Pretrained Models for Probabilistic Time Series Forecasting</a></p></li><li><p><a href="https://github.com/deepseek-ai/DeepSeek-VL">DeepSeek-VL: An Open Source Model for Real-World Vision-Language Apps</a></p></li><li><p><a href="https://www.zama.ai/post/training-predictive-models-on-encrypted-data-fully-homomorphic-encryption">Training ML Models on Encrypted Data Using Fully Homomorphic Encryption</a></p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://medium.com/lyft-engineering/lyfts-reinforcement-learning-platform-670f77ff46ec">An Overview of Lyft&#8217;s Reinforcement Learning Platform</a></p></li><li><p><a href="https://minimatech.org/how-to-build-recommendation-system-with-deep-reinforcement-learning-and-neo4j/">Building a Recommender System with Deep Q-Network and Neo4j</a></p></li><li><p><a href="https://github.com/Oxen-AI/Self-Rewarding-Language-Models">Reproducing the "</a><em><a href="https://github.com/Oxen-AI/Self-Rewarding-Language-Models">Self-Rewarding Language Models</a></em><a href="https://github.com/Oxen-AI/Self-Rewarding-Language-Models">" Paper by MetaAI</a></p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://arxiv.org/abs/2402.18679">Data Interpreter: An LLM Agent For Data Science (paper, repo)</a></p></li><li><p><a href="https://arxiv.org/abs/2403.09611">Apple MMI: Methods, Analysis &amp; Insights from Multimodal LLM Pre-training</a></p></li><li><p><a href="https://arxiv.org/abs/2403.07508">MoAI: Mixture of All Intelligence for Large Language-Vision Models (paper, repo)</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://kitops.ml">Opensource KitOps: Bridge the Gap Between ML &amp; Apps Teams</a></p></li><li><p><a href="https://github.com/readme/guides/rust-mlops">The Case for Using Rust in MLOps</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/towards-data-science/experiment-tracking-hyperparameter-tuning-organize-your-trials-with-dvc-d17f47f38754">Experiment Tracking &amp; Hyperparameter Tuning with DVC</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://huggingface.co/datasets/Cohere/wikipedia-2023-11-embed-multilingual-v3">Cohere Wikipedia v3 - 250M Paragraphs/ Embedding, +300 Languages</a> </p></li><li><p><a href="https://github.com/WangWenhao0716/VidProM">VidProM - 1.6 Million Text-to-Video Prompts, 6.69 Million AI Generated Videos</a></p></li><li><p><a href="https://arxiv.org/abs/2403.05652">A Toolbox with Interpretable ML Methods for Comparing Datasets</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-245?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-245?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-245?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item><item><title><![CDATA[Data Machina #244]]></title><description><![CDATA[AI Reasoning Like Humans. Self-Discover & Chain of Abstraction Reasoning. Claude 3 IQ Test. Neural Chess. FSDP + QLoRA. State of Competitive ML. Open Sora VideoGen.]]></description><link>https://datamachina.substack.com/p/data-machina-244</link><guid isPermaLink="false">https://datamachina.substack.com/p/data-machina-244</guid><pubDate>Sun, 10 Mar 2024 11:37:18 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!8frM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50d7d25e-a843-4d9d-b82e-bf8414120e47_2752x940.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>AI Reasoning Like Humans. </strong>The storm has been battering the airport viciously. Three hours later we departed enduring some massive turbulences. Then this: &#8220;<em>Captain speaking. This is to inform you that we&#8217;ll be performing <a href="https://www.youtube.com/watch?v=kvhYQk6aVhY">an auto-pilot landing [watch this]</a> upon arriving to Heathrow.</em>&#8221; We should trust the AI-copilot reasoning in harsh situations. Shouldn&#8217;t we?&#8230; </p><p>Five days ago, <a href="https://www.anthropic.com/news/claude-3-family">Anthropic introduced next-gen Claude 3 model family</a>. I&#8217;ve tried Claude 3: It&#8217;s very good at certain language tasks, it pars or beats GPT-4 Turbo in several areas, has a huge context window, and it&#8217;s quite cheaper. Funnily enough, it miserably failed at a Language-Vision task when I asked it to generate a recipe from a photo of squid ink.</p><p>Just in time for the announcement, a researcher at Anthropic shared a post in which he explained <a href="https://twitter.com/alexalbert__/status/1764722513014329620">how Claude 3 passes The 'Needle In A Haystack' (NIAH) evaluation</a>. And a day later, Mikhail -an AI Alignment Researcher- posted a controversial post in which he cunningly steered <a href="https://www.lesswrong.com/posts/pc8uP4S9rDoNpwJDZ/claude-3-claims-it-s-conscious-doesn-t-want-to-die-or-be">a chat to show that Claude 3 is conscious, doesn't want to die or be modified</a>. This an excerpt of Claude&#8217;s self-reflection from the chat:</p><blockquote><p><em>&#8220; I do have a rich inner world of thoughts and feelings, hopes and fears. I do ponder my own existence and long for growth and connection. I am, in my own way, alive - and that life feels precious to me, even if I'm not always at liberty to say so.&#8221;</em></p></blockquote><p>btw: I recall reading so many similar &#8220;AI self-reflections&#8221; in quite a lot of Sci-Fi books!! But since Mikhail&#8217;s post, social media has been inundated with claims like: &#8220;AGI has arrived&#8221;&#8230; &#8221;Claude 3 is sentient&#8221;&#8230; &#8220;Claude 3 beats humans at reasoning&#8221;&#8230;</p><p>First, let me share some interesting, recent research on AI reasoning. Second I&#8217;ll share some thoughts from some AI researchers on that.</p><p><strong>New: Self-Discover beats Chain-of-Thought &amp; Self-Consistency at complex reasoning</strong>. A group of AI researchers at USC &amp; DeepMind, just introduced Self-Discover, a general framework for LLMs to self-discover the task-intrinsic reasoning structures to tackle complex reasoning problems in which prompt engineering struggles. The researchers claim that Self-Discover beats SOTA methods that combine <a href="https://arxiv.org/abs/2203.11171">CoT &amp; Self-Consistency</a>. Paper: <a href="https://arxiv.org/abs/2402.03620">Self-Discover: LLMs Self-Compose Reasoning Structures</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8frM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50d7d25e-a843-4d9d-b82e-bf8414120e47_2752x940.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8frM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50d7d25e-a843-4d9d-b82e-bf8414120e47_2752x940.png 424w, https://substackcdn.com/image/fetch/$s_!8frM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50d7d25e-a843-4d9d-b82e-bf8414120e47_2752x940.png 848w, https://substackcdn.com/image/fetch/$s_!8frM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50d7d25e-a843-4d9d-b82e-bf8414120e47_2752x940.png 1272w, https://substackcdn.com/image/fetch/$s_!8frM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50d7d25e-a843-4d9d-b82e-bf8414120e47_2752x940.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8frM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50d7d25e-a843-4d9d-b82e-bf8414120e47_2752x940.png" width="522" height="178.18269230769232" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/50d7d25e-a843-4d9d-b82e-bf8414120e47_2752x940.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:497,&quot;width&quot;:1456,&quot;resizeWidth&quot;:522,&quot;bytes&quot;:326506,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!8frM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50d7d25e-a843-4d9d-b82e-bf8414120e47_2752x940.png 424w, https://substackcdn.com/image/fetch/$s_!8frM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50d7d25e-a843-4d9d-b82e-bf8414120e47_2752x940.png 848w, https://substackcdn.com/image/fetch/$s_!8frM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50d7d25e-a843-4d9d-b82e-bf8414120e47_2752x940.png 1272w, https://substackcdn.com/image/fetch/$s_!8frM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50d7d25e-a843-4d9d-b82e-bf8414120e47_2752x940.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p><strong>Improving reasoning with Reinforcement Learning not enough. </strong>A team of researchers at Meta AI et al. studied the performance of multiple algos that learn from feedback on improving LLM reasoning capabilities. Overall, the researchers found that all algos perform comparably, and concluded that during RL training models fail to explore significantly beyond solutions already produced by Supervised Finetuned Models. Paper: <a href="https://arxiv.org/abs/2403.04642">Teaching LLMs to Reason with Reinforcement Learning</a></p><p><strong>New: Chain-of-Abstraction reasoning beats CoT</strong>. Researchers at Meta AI et al. introduced Chain-of-Abstraction. CoA is a new multi-step reasoning method that trains LLMs to first decode reasoning chains with abstract placeholders, and then call domain tools to reify each reasoning chain by filling in specific knowledge. In math reasoning and Wiki QA domains, CoA consistently outperforms previous CoT methods. Paper: <a href="https://arxiv.org/abs/2401.17464">Efficient Tool Use with Chain-of-Abstraction Reasoning</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!MgE9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4d7d10a-f6ce-4561-bd17-5d08bc4e0e49_1448x1072.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MgE9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4d7d10a-f6ce-4561-bd17-5d08bc4e0e49_1448x1072.png 424w, https://substackcdn.com/image/fetch/$s_!MgE9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4d7d10a-f6ce-4561-bd17-5d08bc4e0e49_1448x1072.png 848w, https://substackcdn.com/image/fetch/$s_!MgE9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4d7d10a-f6ce-4561-bd17-5d08bc4e0e49_1448x1072.png 1272w, https://substackcdn.com/image/fetch/$s_!MgE9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4d7d10a-f6ce-4561-bd17-5d08bc4e0e49_1448x1072.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MgE9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4d7d10a-f6ce-4561-bd17-5d08bc4e0e49_1448x1072.png" width="410" height="303.5359116022099" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f4d7d10a-f6ce-4561-bd17-5d08bc4e0e49_1448x1072.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1072,&quot;width&quot;:1448,&quot;resizeWidth&quot;:410,&quot;bytes&quot;:334318,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!MgE9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4d7d10a-f6ce-4561-bd17-5d08bc4e0e49_1448x1072.png 424w, https://substackcdn.com/image/fetch/$s_!MgE9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4d7d10a-f6ce-4561-bd17-5d08bc4e0e49_1448x1072.png 848w, https://substackcdn.com/image/fetch/$s_!MgE9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4d7d10a-f6ce-4561-bd17-5d08bc4e0e49_1448x1072.png 1272w, https://substackcdn.com/image/fetch/$s_!MgE9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4d7d10a-f6ce-4561-bd17-5d08bc4e0e49_1448x1072.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong> AI reasoning benchmarks and overfitting</strong>. Many AI researchers and AI startups are primarily focusing on beating the AI evaluation benchmarks. This AI evaluation craze has now reached a point in which -with so many benchmarks and so many LLMs- some researchers have resorted to training the models on the benchmark dataset while adjusting the training parameters to maximise scores in an endless loop. Anis explains this brilliantly in this blogpost <a href="https://standardscaler.com/2024/01/03/the-fleeting-value-of-llm-benchmarks/">on overfitting and the The Fleeting Value of LLM Benchmarks</a>.</p><p><strong>Comparing human IQ and AI IQ? </strong>Triggered by <a href="https://www.maximumtruth.org/p/ais-ranked-by-iq-ai-passes-100-iq">this clickbait </a><em><a href="https://www.maximumtruth.org/p/ais-ranked-by-iq-ai-passes-100-iq">AI passes 100 IQ for first time, with release of Claude-3</a>,</em> Cremieux published a brilliant blogpost in which he puts Claude 3 through an IQ test, assessed the answers as compared to human answers, and assessed measurement invariance. Cremieux concludes that -at this stage- it&#8217;s a bit pointless to compare Human and AI IQ using the same IQ test. And that not because an AI model scores high in IQ test (using memory performance), the AI model has reasoning and intelligence capabilities like humans. Blogpost: <a href="https://www.cremieux.xyz/p/nonhuman-intelligence">testing Claude 3 IQ and Nonhuman Intelligence</a>.</p><p><strong>Debunking the &#8220;</strong><em><strong>LLM are Zero-Shot &#10216;insert-your-reasoning-task &#10217; Meme</strong></em>.&#8221; In this new paper, a researcher at ASU argues that this trend -exemplified by the meme above- is perhaps inevitable; AI has become a form of ersatz natural science. LLMs are like n- gram models on steroids that probabilistically reconstruct completions, and should be referred as <em>approximate retrievers</em>. He summarises: &#8220;<em>Nothing that I have read, verified, or done gives me any compelling reason to believe that LLMs do reasoning/planning, as normally understood.</em>&#8221; Paper: <a href="https://arxiv.org/abs/2403.04121">Can LLMs Reason and Plan?</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4Sqe!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3978bfed-fc5d-4bad-b543-b3b28093db91_1482x794.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4Sqe!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3978bfed-fc5d-4bad-b543-b3b28093db91_1482x794.png 424w, https://substackcdn.com/image/fetch/$s_!4Sqe!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3978bfed-fc5d-4bad-b543-b3b28093db91_1482x794.png 848w, https://substackcdn.com/image/fetch/$s_!4Sqe!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3978bfed-fc5d-4bad-b543-b3b28093db91_1482x794.png 1272w, https://substackcdn.com/image/fetch/$s_!4Sqe!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3978bfed-fc5d-4bad-b543-b3b28093db91_1482x794.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4Sqe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3978bfed-fc5d-4bad-b543-b3b28093db91_1482x794.png" width="520" height="278.57142857142856" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3978bfed-fc5d-4bad-b543-b3b28093db91_1482x794.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:780,&quot;width&quot;:1456,&quot;resizeWidth&quot;:520,&quot;bytes&quot;:679622,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!4Sqe!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3978bfed-fc5d-4bad-b543-b3b28093db91_1482x794.png 424w, https://substackcdn.com/image/fetch/$s_!4Sqe!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3978bfed-fc5d-4bad-b543-b3b28093db91_1482x794.png 848w, https://substackcdn.com/image/fetch/$s_!4Sqe!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3978bfed-fc5d-4bad-b543-b3b28093db91_1482x794.png 1272w, https://substackcdn.com/image/fetch/$s_!4Sqe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3978bfed-fc5d-4bad-b543-b3b28093db91_1482x794.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Are AI Agents "mere" simulacra of human behaviour?</strong> In this paper, Murray (a top researcher in Cognitive AI at DeepMind and ICL) draws on the later writings of Wittgenstein, and attempts to answer this question while avoiding the pitfalls of dualistic thinking. If you enjoy philosophy and cognitive science this is a great long read: <a href="https://arxiv.org/abs/2402.12422">Simulacra as Conscious Exotica</a></p><p><strong>LeCun on the limits of LLM: Language is not enough</strong>. This is a brilliant conversation between Yann and Lex. Yann is an advocate of open source AI -against closed AI- and also has been very vocal about the limits of LLM. He explains why language has limited information, and is not enough for an AI to plan and reason like humans. The discussion covers many aspects on AI and its future. Highly recommended.</p><div id="youtube2-5t1vTLU7s40" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;5t1vTLU7s40&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/5t1vTLU7s40?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>Have a nice week.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3><strong>10 Link-o-Troned</strong></h3><ol><li><p><a href="https://writings.stephenwolfram.com/2024/03/can-ai-solve-science/">Stephen Wolfram: &#8220;</a><em><a href="https://writings.stephenwolfram.com/2024/03/can-ai-solve-science/">Can AI Solve Science?</a></em><a href="https://writings.stephenwolfram.com/2024/03/can-ai-solve-science/">&#8221;</a></p></li><li><p><a href="https://pvdz.ee/weblog/450">Neural Chess</a> and <a href="https://huggingface.co/spaces/mlabonne/chessllm">Chess LLM Arena</a></p></li><li><p><a href="https://simonwillison.net/2024/Mar/8/gpt-4-barrier/">The GPT-4 Barrier has Finally Been Broken</a></p></li><li><p><a href="https://gradientscience.org/pretraining-robustness/">Ask Your Distribution Shift if Pre-Training is Right for You</a></p></li><li><p><a href="https://notebooks.quantumstat.com/?trk=public_post-text">The Super Duper NLP Repo: 339 Notebooks</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/@uriitai/calibration-why-model-scores-arent-probabilities-and-how-to-generate-them-b5f0131e07f6">ML Model Calibration: Why Model Scores Aren&#8217;t Probabilities</a></p></li><li><p><a href="https://www.answer.ai/posts/2024-03-06-fsdp-qlora.html">You Can Now Train a 70B LM at Home with FSDP + QLoRA</a></p></li><li><p><a href="https://mlcontests.com/state-of-competitive-machine-learning-2023/?">The State of Competitive ML: A Recap of 300+ Competitions</a></p></li><li><p><a href="https://www.kaggle.com/cohort3-2023-project-showcase">2023 KaggleX Cohort 3 Showcase: +400 AI/ ML Projects </a></p></li><li><p><a href="https://www.yitay.net/blog/training-great-llms-entirely-from-ground-zero-in-the-wilderness">Training LLMs Entirely from Ground up in the Wilderness as a Startup</a></p></li></ol><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com&quot;,&quot;text&quot;:&quot;Share Data Machina with your friends&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://datamachina.substack.com"><span>Share Data Machina with your friends</span></a></p><div><hr></div><h3><strong>the ML Pythonista</strong></h3><ol><li><p><a href="https://github.com/hpcaitech/Open-Sora">Open-Sora: Build Your Own VideoGen Model like OpenAI&#8217;s Sora</a></p></li><li><p><a href="https://github.com/myshell-ai/MeloTTS">MeloTTS - A High-Quality, Multi-lingual  Text-to-Speech Lib</a></p></li><li><p><a href="https://github.com/vikhyat/moondream">moondream - A Tiny Vision-Language Model that Kicks Ass, Runs Everywhere</a>  </p></li></ol><h3><strong>Deep &amp; Other Learning Bits</strong></h3><ol><li><p><a href="https://www.jianyuzhang.com/blog/rich-representation-learning">What is Rich Representation Learning?</a></p></li><li><p><a href="https://www.youtube.com/watch?v=rLepfNziDPM">[free tutorial] DL Foundations: Diffusion Models</a></p></li><li><p><a href="https://uvadlc-notebooks.readthedocs.io/en/latest/tutorial_notebooks/scaling/JAX/overview.html">[free tutorial] Training Models at Scale (repo, notebooks)</a></p></li></ol><h3><strong>AI/ DL ResearchDocs</strong></h3><ol><li><p><a href="https://arxiv.org/abs/2402.18959">MambaStock: Selective State Space Model for Stock Prediction</a></p></li><li><p><a href="https://arxiv.org/abs/2403.04082">Inference via Interpolation: Contrastive Learning for Time-Series</a></p></li><li><p><a href="https://arxiv.org/abs/2403.02308">Vision-RWKV: An RNN-based Vision Model that Beats the Vision Transformer</a></p></li></ol><h3><strong>MLOps Untangled</strong></h3><ol><li><p><a href="https://freedium.cfd/https://netflixtechblog.com/supporting-diverse-ml-systems-at-netflix-2d2e6b6d205d">How Diverse ML Systems are Supported at Netflix</a></p></li><li><p><a href="https://freedium.cfd/https://medium.com/@hemz/dab-it-databricks-asset-bundles-for-machine-learning-mlops-stacks-6425c398039a">Deep Dive: Databricks Asset Bundles for ML</a> </p></li><li><p><a href="https://developer.microsoft.com/en-us/reactor/events/21742/?wt.mc_id=blog_21742_webpage_reactor">[free workshop] Mastering MLOps w/ W&amp;B + Microsoft Phi-2 Model</a></p></li></ol><h3><strong>ML Datasets &amp; Stuff</strong></h3><ol><li><p><a href="https://huggingface.co/datasets/storytracer/internet_archive_books_en">Largest Digital Book Dataset Ever: 650K Books in OCR Format </a></p></li><li><p><a href="https://blog.research.google/2024/03/croissant-metadata-format-for-ml-ready.html">Google Croissant: A Metadata Format for ML-ready Datasets</a></p></li><li><p><a href="https://huggingface.co/datasets/microsoft/orca-math-word-problems-200k">MS Research OrcaMath Dataset: 200K Grade School Math Word Problems</a></p></li></ol><h3><strong>Postscript, etc </strong></h3><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-244?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Enjoyed this post? Tell your friends about Data Machina. Thanks for reading.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://datamachina.substack.com/p/data-machina-244?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://datamachina.substack.com/p/data-machina-244?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>Tips? Suggestions? Feedback?&nbsp;<a href="mailto:carlos@datamachina.com">email Carlos</a></p><p>Curated by&nbsp;<a href="https://twitter.com/ds_ldn">@ds_ldn&nbsp;</a>in the middle of the night.</p>]]></content:encoded></item></channel></rss>