{"id":75140,"date":"2024-06-10T06:00:00","date_gmt":"2024-06-10T13:00:00","guid":{"rendered":"https:\/\/blog.mozilla.org\/?p=75140"},"modified":"2024-06-09T19:53:47","modified_gmt":"2024-06-10T02:53:47","slug":"genai-trends","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/","title":{"rendered":"Uncovering GenAI trends: Using local language models to explore 35 organizations\u00a0"},"content":{"rendered":"\n<p>(To read the complete analysis as well as the results of each language model, visit the <a href=\"https:\/\/blog.mozilla.ai\/uncovering-genai-trends-using-local-language-models-to-explore-35-organizations\/\" target=\"_blank\" rel=\"noreferrer noopener\">mozilla.ai blog here<\/a>.)<\/p>\n\n\n\n<p>Over the past few months, Mozilla.ai has engaged with several organizations to learn how they are using language models in practice. We spoke with 35 organizations across various sectors, including finance, government, startups, and large enterprises. Our interviewees ranged from machine learning engineers to CTOs, capturing a diverse range of perspectives.&nbsp;<\/p>\n\n\n\n<p>To analyze these interviews, we used open-source local language models running on our laptops. The analysis confirmed the trends we had anticipated during our interviews and shed light on the <a href=\"https:\/\/blog.mozilla.ai\/uncovering-genai-trends-using-local-language-models-to-explore-35-organizations\/\" target=\"_blank\" rel=\"noreferrer noopener\">differences in each model\u2019s presentation of said trends<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Objective: Help shape our product vision<\/strong><\/h2>\n\n\n\n<p>Our primary aim was to identify patterns and trends that could inform our product development strategy. Despite the unique nature of each discussion, we usually focused on four critical areas:<\/p>\n\n\n\n<ol>\n<li>LLM use cases being explored<\/li>\n\n\n\n<li>Technology, methodologies, and approaches employed<\/li>\n\n\n\n<li>Challenges in developing and delivering LLM solutions<\/li>\n\n\n\n<li>Desired capabilities and features<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Data collection &amp; model selection<\/strong><\/h2>\n\n\n\n<p>After each conversation, we wrote up summary notes. In total, these notes for the 35 conversations amounted to 18,481 words (approximately 24,600 <a href=\"https:\/\/docs.mistral.ai\/guides\/tokenization\/\" target=\"_blank\" rel=\"noreferrer noopener\">tokens<\/a>), almost the length of a novella. To avoid confirmation bias and subjective interpretation, we decided to leverage language models for a more objective analysis of the data. By providing the models with the complete set of notes, we aimed to uncover patterns and trends without our pre-existing notions and biases.<\/p>\n\n\n\n<p>Given privacy concerns, we decided to keep the information local. Therefore, I selected a set of models that I could run on my MacBook Pro M3 (36GB) locally. Here&#8217;s an overview of the models and configurations used:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Model<\/strong><\/td><td><strong>Parameters<\/strong><\/td><td><strong>Quantization<\/strong><\/td><td><strong>Size<\/strong><\/td><\/tr><tr><td><a href=\"https:\/\/huggingface.co\/gradientai\/Llama-3-8B-Instruct-Gradient-1048k\" target=\"_blank\" rel=\"noreferrer noopener\">Llama-3-8B-Instruct-Gradient-1048k<\/a>\u00a0<\/td><td>8B<\/td><td>Q5_0<\/td><td>5.6GB<\/td><\/tr><tr><td><a href=\"https:\/\/huggingface.co\/microsoft\/Phi-3-medium-128k-instruct\" target=\"_blank\" rel=\"noreferrer noopener\">Phi-3-medium-128k-instruct<\/a><\/td><td>14B<\/td><td>IQ3_M<\/td><td>6.47GB<\/td><\/tr><tr><td><a href=\"https:\/\/huggingface.co\/Qwen\/Qwen1.5-7B-Chat\" target=\"_blank\" rel=\"noreferrer noopener\">Qwen1.5-7B-Chat<\/a><\/td><td>7B<\/td><td>1_5<\/td><td>5.53GB<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>There are a number of options to run LLMs locally, such as <a href=\"https:\/\/ollama.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">ollama<\/a>,<a href=\"https:\/\/lmstudio.ai\/\" target=\"_blank\" rel=\"noreferrer noopener\"> lm-studio<\/a>, and <a href=\"https:\/\/github.com\/Mozilla-Ocho\/llamafile\" target=\"_blank\" rel=\"noreferrer noopener\">llamafile<\/a>. I used both lm-studio and llamafile (an in-house solution by the <a href=\"https:\/\/future.mozilla.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Mozilla Innovation Team<\/a>).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Summarizing with local language models<\/strong><\/h2>\n\n\n\n<p>The prompt used to generate model outputs was: <em>\u201cSummarize the following information to get the key takeaways about developing LLM solutions in 10 bullet points. Take the full information from start to finish into account. Never use company names or an individual&#8217;s name. [Full notes]\u201d<\/em><\/p>\n\n\n\n<p><em>To read the complete analysis as well as the results of each language model, visit the <\/em><a href=\"https:\/\/blog.mozilla.ai\/uncovering-genai-trends-using-local-language-models-to-explore-35-organizations\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>mozilla.ai blog here<\/em><\/a><em>.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Key takeaways<\/strong><\/h2>\n\n\n\n<p>I was impressed by the quality of the responses from these models, which were all capable of running locally on my laptop. They identified the majority of trends and patterns among the 35 organizations we studied. Each model also highlighted unique insights and communicated in different styles:<\/p>\n\n\n\n<ul>\n<li><a href=\"https:\/\/huggingface.co\/gradientai\/Llama-3-8B-Instruct-Gradient-1048k\">Llama-3-8B-Instruct-Gradient-1048k<\/a> emphasized the main LLM use-cases that were discussed and the difficulties moving from prototype to production. The style of the sentences generated can be quite long.<\/li>\n\n\n\n<li><a href=\"https:\/\/huggingface.co\/microsoft\/Phi-3-medium-128k-instruct\">Phi-3-medium-128k-instruct<\/a> picked up on the reluctance of many organizations to finetune models. Its style feels more conversational than the other models.<\/li>\n\n\n\n<li><a href=\"https:\/\/huggingface.co\/Qwen\/Qwen1.5-7B-Chat\">Qwen1.5-7B-Chat<\/a> highlighted the lack of technical expertise many organizations suffer from. Its style is more concise and straightforward, similar to the style of chatGPT.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Across all the models, three key takeaways stood out:<\/h2>\n\n\n\n<ol>\n<li><strong>Evaluation: <\/strong>Many organizations highlight the challenges of evaluating LLMs, finding it time-consuming.<\/li>\n\n\n\n<li><strong>Privacy: <\/strong>Data privacy and security are major concerns influencing tool and platform choices.<\/li>\n\n\n\n<li><strong>Reusability and customization: <\/strong>Organizations value reusability and seek customizable models for specific tasks.<\/li>\n<\/ol>\n\n\n\n<p>This exercise showcased how well local language models can extract valuable insights from large text datasets. The discussion and feedback from our network and end-users will continue to guide our efforts at Mozilla.ai, helping us develop tools that support diverse use cases and make LLM solutions more accessible and effective for organizations of all sizes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>(To read the complete analysis as well as the results of each language model, visit the mozilla.ai blog here.) Over the past few months, Mozilla.ai has engaged with several organizations to learn how they are using language models in practice. We spoke with 35 organizations across various sectors, including finance, government, startups, and large enterprises. [&hellip;]<\/p>\n","protected":false},"author":1889,"featured_media":73908,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[464197,5],"tags":[317823],"coauthors":[464238],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Uncovering GenAI trends: Using local language models to explore 35 organizations\u00a0<\/title>\n<meta name=\"description\" content=\"Over the past few months, Mozilla.ai has engaged with several organizations to learn how they are using language models in practice.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/\",\"url\":\"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/\",\"name\":\"Uncovering GenAI trends: Using local language models to explore 35 organizations\u00a0\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.mozilla.org\/wp-content\/blogs.dir\/278\/files\/2023\/12\/moz_AI-recap_2023_blog_1920x1080.png\",\"datePublished\":\"2024-06-10T13:00:00+00:00\",\"dateModified\":\"2024-06-10T02:53:47+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/en\/#\/schema\/person\/ff2a2684ab8dcbe5372151857748455d\"},\"description\":\"Over the past few months, Mozilla.ai has engaged with several organizations to learn how they are using language models in practice.\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/#primaryimage\",\"url\":\"https:\/\/blog.mozilla.org\/wp-content\/blogs.dir\/278\/files\/2023\/12\/moz_AI-recap_2023_blog_1920x1080.png\",\"contentUrl\":\"https:\/\/blog.mozilla.org\/wp-content\/blogs.dir\/278\/files\/2023\/12\/moz_AI-recap_2023_blog_1920x1080.png\",\"width\":1920,\"height\":1080,\"caption\":\"Colorful geometric shapes and abstract icons float toward a central point in a tunnel-like grid, with \\\"AI\\\" prominently displayed in the center.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Uncovering GenAI trends: Using local language models to explore 35 organizations\u00a0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.mozilla.org\/en\/#website\",\"url\":\"https:\/\/blog.mozilla.org\/en\/\",\"name\":\"The Mozilla Blog\",\"description\":\"News and Updates about Mozilla\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.mozilla.org\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.mozilla.org\/en\/#\/schema\/person\/ff2a2684ab8dcbe5372151857748455d\",\"name\":\"Kristina Bravo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/en\/#\/schema\/person\/image\/cd320165a9224f3c60c912bf4086a89f\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/22fa545a3c48bc13cc1d84d5e09ffbff?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/22fa545a3c48bc13cc1d84d5e09ffbff?s=96&d=mm&r=g\",\"caption\":\"Kristina Bravo\"},\"url\":\"https:\/\/blog.mozilla.org\/en\/author\/kbravo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Uncovering GenAI trends: Using local language models to explore 35 organizations\u00a0","description":"Over the past few months, Mozilla.ai has engaged with several organizations to learn how they are using language models in practice.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/","url":"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/","name":"Uncovering GenAI trends: Using local language models to explore 35 organizations\u00a0","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/#primaryimage"},"image":{"@id":"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.mozilla.org\/wp-content\/blogs.dir\/278\/files\/2023\/12\/moz_AI-recap_2023_blog_1920x1080.png","datePublished":"2024-06-10T13:00:00+00:00","dateModified":"2024-06-10T02:53:47+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/en\/#\/schema\/person\/ff2a2684ab8dcbe5372151857748455d"},"description":"Over the past few months, Mozilla.ai has engaged with several organizations to learn how they are using language models in practice.","breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/#primaryimage","url":"https:\/\/blog.mozilla.org\/wp-content\/blogs.dir\/278\/files\/2023\/12\/moz_AI-recap_2023_blog_1920x1080.png","contentUrl":"https:\/\/blog.mozilla.org\/wp-content\/blogs.dir\/278\/files\/2023\/12\/moz_AI-recap_2023_blog_1920x1080.png","width":1920,"height":1080,"caption":"Colorful geometric shapes and abstract icons float toward a central point in a tunnel-like grid, with \"AI\" prominently displayed in the center."},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/en\/mozilla\/ai\/genai-trends\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/en\/"},{"@type":"ListItem","position":2,"name":"Uncovering GenAI trends: Using local language models to explore 35 organizations\u00a0"}]},{"@type":"WebSite","@id":"https:\/\/blog.mozilla.org\/en\/#website","url":"https:\/\/blog.mozilla.org\/en\/","name":"The Mozilla Blog","description":"News and Updates about Mozilla","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.mozilla.org\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.mozilla.org\/en\/#\/schema\/person\/ff2a2684ab8dcbe5372151857748455d","name":"Kristina Bravo","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/en\/#\/schema\/person\/image\/cd320165a9224f3c60c912bf4086a89f","url":"https:\/\/secure.gravatar.com\/avatar\/22fa545a3c48bc13cc1d84d5e09ffbff?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/22fa545a3c48bc13cc1d84d5e09ffbff?s=96&d=mm&r=g","caption":"Kristina Bravo"},"url":"https:\/\/blog.mozilla.org\/en\/author\/kbravo\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/en\/wp-json\/wp\/v2\/posts\/75140"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/en\/wp-json\/wp\/v2\/users\/1889"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/en\/wp-json\/wp\/v2\/comments?post=75140"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/en\/wp-json\/wp\/v2\/posts\/75140\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/en\/wp-json\/wp\/v2\/media\/73908"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/en\/wp-json\/wp\/v2\/media?parent=75140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/en\/wp-json\/wp\/v2\/categories?post=75140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/en\/wp-json\/wp\/v2\/tags?post=75140"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blog.mozilla.org\/en\/wp-json\/wp\/v2\/coauthors?post=75140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}