{"id":7422,"date":"2024-06-21T19:00:00","date_gmt":"2024-06-21T19:00:00","guid":{"rendered":"https:\/\/www.aiproblog.com\/index.php\/2024\/06\/21\/helping-nonexperts-build-advanced-generative-ai-models\/"},"modified":"2024-06-21T19:00:00","modified_gmt":"2024-06-21T19:00:00","slug":"helping-nonexperts-build-advanced-generative-ai-models","status":"publish","type":"post","link":"https:\/\/www.aiproblog.com\/index.php\/2024\/06\/21\/helping-nonexperts-build-advanced-generative-ai-models\/","title":{"rendered":"Helping nonexperts build advanced generative AI models"},"content":{"rendered":"<p>Author: Zach Winn | MIT News<\/p>\n<div>\n<p>The impact of artificial intelligence will never be equitable if there\u2019s only one company that builds and controls the models (not to mention the data that go into them). Unfortunately, today\u2019s AI models are made up of billions of parameters that must be trained and tuned to maximize performance for each use case, putting the most powerful AI models out of reach for most people and companies.<\/p>\n<p>MosaicML started with a mission to make those models more accessible. The company, which counts Jonathan Frankle PhD \u201923 and MIT Associate Professor Michael Carbin as co-founders, developed a platform that let users train, improve, and monitor open-source models using their own data. The company also built its own open-source models using graphical processing units (GPUs) from Nvidia.<\/p>\n<p>The approach made deep learning, a nascent field when MosaicML first began, accessible to far more organizations as excitement around generative AI and large language models (LLMs) exploded following the release of Chat GPT-3.5. It also made MosaicML a powerful complementary tool for data management companies that were also committed to helping organizations make use of their data without giving it to AI companies.<\/p>\n<p>Last year, that reasoning led to the acquisition of MosaicML by Databricks, a global data storage, analytics, and AI company that works with some of the largest organizations in the world. Since the acquisition, the combined companies have released one of the highest performing open-source, general-purpose LLMs yet built. Known as DBRX, this model has set new benchmarks in tasks like reading comprehension, general knowledge questions, and logic puzzles.<\/p>\n<p>Since then, DBRX has gained a reputation for being one of the fastest open-source LLMs available and has proven especially useful at large enterprises.<\/p>\n<p>More than the model, though, Frankle says DBRX is significant because it was built using Databricks tools, meaning any of the company\u2019s customers can achieve similar performance with their own models, which will accelerate the impact of generative AI.<\/p>\n<p>\u201cHonestly, it\u2019s just exciting to see the community doing cool things with it,\u201d Frankle says. \u201cFor me as a scientist, that\u2019s the best part. It\u2019s not the model, it\u2019s all the amazing stuff the community is doing on top of it. That&#8217;s where the magic happens.\u201d<\/p>\n<p><strong>Making algorithms efficient<\/strong><\/p>\n<p>Frankle earned bachelor\u2019s and master\u2019s degrees in computer science at Princeton University before coming to MIT to pursue his PhD in 2016. Early on at MIT, he wasn&#8217;t sure what area of computing he wanted to study. His eventual choice would change the course of his life.<\/p>\n<p>Frankle ultimately decided to focus on a form of artificial intelligence known as deep learning. At the time, deep learning and artificial intelligence did not inspire the same broad excitement as they do today. Deep learning was a decades-old area of study that had yet to bear much fruit.<\/p>\n<p>\u201cI don\u2019t think anyone at the time anticipated deep learning was going to blow up in the way that it did,\u201d Frankle says. \u201cPeople in the know thought it was a really neat area and there were a lot of unsolved problems, but phrases like large language model (LLM) and generative AI weren\u2019t really used at that time. It was early days.\u201d<\/p>\n<p>Things began to get interesting with the 2017 release of a now-infamous <a href=\"https:\/\/proceedings.neurips.cc\/paper\/2017\/file\/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf\" target=\"_blank\" rel=\"noopener\">paper<\/a> by Google researchers, in which they showed a new deep-learning architecture known as the transformer was surprisingly effective as language translation and held promise across a number of other applications, including content generation.<\/p>\n<p>In 2020, eventual Mosaic co-founder and tech executive Naveen Rao emailed Frankle and Carbin out of the blue. Rao had read a paper the two had co-authored, in which the researchers showed a way to shrink deep-learning models without sacrificing performance. Rao pitched the pair on starting a company. They were joined by Hanlin Tang, who had worked with Rao on a previous AI startup that had been acquired by Intel.<\/p>\n<p>The founders started by reading up on different techniques used to speed up the training of AI models, eventually combining several of them to show they could train a model to perform image classification four times faster than what had been achieved before.<\/p>\n<p>\u201cThe trick was that there was no trick,\u201d Frankle says. \u201cI think we had to make 17 different changes to how we trained the model in order to figure that out. It was just a little bit here and a little bit there, but it turns out that was enough to get incredible speed-ups. That\u2019s really been the story of Mosaic.\u201d<\/p>\n<p>The team showed their techniques could make models more efficient, and they released an open-source large language model in 2023 along with an open-source library of their methods. They also developed visualization tools to let developers map out different experimental options for training and running models.<\/p>\n<p>MIT\u2019s E14 Fund invested in Mosaic\u2019s Series A funding round, and Frankle says E14\u2019s team offered helpful guidance early on. Mosaic\u2019s progress enabled a new class of companies to train their own generative AI models.<\/p>\n<p>\u201cThere was a democratization and an open-source angle to Mosaic\u2019s mission,\u201d Frankle says. \u201cThat\u2019s something that has always been very close to my heart. Ever since I was a PhD student and had no GPUs because I wasn\u2019t in a machine learning lab and all my friends had GPUs. I still feel that way. Why can\u2019t we all participate? Why can\u2019t we all get to do this stuff and get to do science?\u201d<\/p>\n<p><strong>Open sourcing innovation<\/strong><\/p>\n<p>Databricks had also been working to give its customers access to AI models. The company finalized its acquisition of MosaicML in 2023 for a reported $1.3 billion.<\/p>\n<p>\u201cAt Databricks, we saw a founding team of academics just like us,\u201d Frankle says. \u201cWe also saw a team of scientists who understand technology. Databricks has the data, we have the machine learning. You can&#8217;t do one without the other, and vice versa. It just ended up being a really good match.\u201d<\/p>\n<p>In March, Databricks released DBRX, which gave the open-source community and enterprises building their own LLMs capabilities that were previously limited to closed models.<\/p>\n<p>\u201cThe thing that DBRX showed is you can build the best open-source LLM in the world with Databricks,\u201d Frankle says. \u201cIf you\u2019re an enterprise, the sky\u2019s the limit today.\u201d<\/p>\n<p>Frankle says Databricks\u2019 team has been encouraged by using DBRX internally across a wide variety of tasks.<\/p>\n<p>\u201cIt\u2019s already great, and with a little fine-tuning it\u2019s better than the closed models,\u201d he says. \u201cYou\u2019re not going be better than GPT for everything. That\u2019s not how this works. But nobody wants to solve every problem. Everybody wants to solve one problem. And we can customize this model to make it really great for specific scenarios.\u201d<\/p>\n<p>As Databricks continues pushing the frontiers of AI, and as competitors continue to invest huge sums into AI more broadly, Frankle hopes the industry comes to see open source as the best path forward.<\/p>\n<p>\u201cI\u2019m a believer in science and I\u2019m a believer in progress and I\u2019m excited that we\u2019re doing such exciting science as a field right now,\u201d Frankle says. \u201cI\u2019m also a believer in openness, and I hope that everybody else embraces openness the way we have. That&#8217;s how we got here, through good science and good sharing.\u201d<\/p>\n<\/div>\n<p><a href=\"https:\/\/news.mit.edu\/2024\/mosaicml-helps-nonexperts-build-advanced-generative-ai-models-0621\">Go to Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Author: Zach Winn | MIT News The impact of artificial intelligence will never be equitable if there\u2019s only one company that builds and controls the [&hellip;] <span class=\"read-more-link\"><a class=\"read-more\" href=\"https:\/\/www.aiproblog.com\/index.php\/2024\/06\/21\/helping-nonexperts-build-advanced-generative-ai-models\/\">Read More<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":464,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[24],"tags":[],"_links":{"self":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts\/7422"}],"collection":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=7422"}],"version-history":[{"count":0,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts\/7422\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/media\/466"}],"wp:attachment":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=7422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=7422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=7422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}