1:"$Sreact.fragment" 2:I[54576,["/_next/static/chunks/acf836f3152ca7fe.js","/_next/static/chunks/da92607e56841e3c.js","/_next/static/chunks/703119054fee62fd.js"],"GoogleAnalytics"] 3:I[19598,["/_next/static/chunks/acf836f3152ca7fe.js","/_next/static/chunks/da92607e56841e3c.js","/_next/static/chunks/703119054fee62fd.js"],"GoogleTagManager"] 4:I[40106,["/_next/static/chunks/acf836f3152ca7fe.js","/_next/static/chunks/da92607e56841e3c.js","/_next/static/chunks/703119054fee62fd.js"],"default"] 5:I[57941,["/_next/static/chunks/acf836f3152ca7fe.js","/_next/static/chunks/da92607e56841e3c.js","/_next/static/chunks/703119054fee62fd.js"],"default"] 6:I[36409,["/_next/static/chunks/acf836f3152ca7fe.js","/_next/static/chunks/da92607e56841e3c.js","/_next/static/chunks/703119054fee62fd.js"],"default"] 7:I[39756,["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/c81db6e24f0cfdeb.js"],"default"] 8:I[37457,["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/c81db6e24f0cfdeb.js"],"default"] 9:I[22016,["/_next/static/chunks/acf836f3152ca7fe.js","/_next/static/chunks/da92607e56841e3c.js","/_next/static/chunks/703119054fee62fd.js"],""] a:I[5500,["/_next/static/chunks/acf836f3152ca7fe.js","/_next/static/chunks/da92607e56841e3c.js","/_next/static/chunks/703119054fee62fd.js","/_next/static/chunks/7e5288f5447cfe9b.js","/_next/static/chunks/5edf0f55b6889521.js"],"Image"] 18:I[68027,["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/c81db6e24f0cfdeb.js"],"default"] :HL["/_next/static/chunks/064138bf64a5a00f.css","style"] 0:{"P":null,"b":"AWk2evCR5jsYKMvO32fb7","c":["","insights","understanding-llms"],"q":"","i":false,"f":[[["",{"children":["insights",{"children":[["slug","understanding-llms","d"],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/064138bf64a5a00f.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/acf836f3152ca7fe.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/da92607e56841e3c.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/703119054fee62fd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","$L2",null,{"gaId":"G-3PL6QHX553"}],["$","$L3",null,{"gtmId":"GTM-5VW6HJPS"}],["$","body",null,{"className":"bg-background text-foreground font-primary","children":[["$","$L4",null,{}],["$","$L5",null,{}],["$","div",null,{"className":"flex flex-col min-h-screen w-full bg-background gap-layout-sm lg:gap-layout-lg","children":[["$","$L6",null,{}],["$","div",null,{"id":"app-content","className":"flex-1 flex flex-col gap-section-sm lg:gap-section-lg relative","children":["$","$L7",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","section",null,{"id":"hero","className":"container-fluid","children":["$","div",null,{"className":"flex flex-col gap-8 items-center text-center min-h-[70vh] justify-center","children":[["$","h1",null,{"className":"text-6xl leading-[1.1] sm:text-7xl md:text-8xl lg:text-9xl font-medium","id":"$undefined","style":"$undefined","children":"Not Found"}],["$","p",null,{"className":"text-xl leading-[1.3] sm:text-2xl md:text-3xl lg:text-4xl font-medium max-w-lg","id":"$undefined","style":"$undefined","children":"The page you are looking for doesn't exist or has been moved"}],["$","$L9",null,{"href":"/","children":["$","button",null,{"className":" h-12 lg:h-14 px-6 flex justify-center items-center transition rounded-md bg-primary text-foreground border border-accent hover:bg-accent cursor-pointer","children":["$","span",null,{"className":"text-base leading-[1.5] sm:text-lg md:text-xl lg:text-2xl font-normal","id":"$undefined","style":"$undefined","children":"Go back home"}]}]}]]}]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}],["$","footer",null,{"className":"py-6 lg:py-12 container-fluid","children":["$","div",null,{"className":"flex flex-col gap-section-sm lg:gap-section-lg","children":[["$","div",null,{"className":"grid grid-cols-2 lg:grid-cols-6 gap-12","children":[["$","div",null,{"className":"flex flex-col gap-component-md col-span-2","children":[["$","$L9",null,{"href":"/","children":["$","$La",null,{"src":"/logo.svg","alt":"Logo","width":80,"height":30,"className":"h-auto w-32 lg:w-48"}]}],["$","p",null,{"className":"text-base leading-[1.5] sm:text-lg md:text-xl lg:text-2xl font-normal max-w-md","id":"$undefined","style":"$undefined","children":"A software developer with a clear sense of purpose."}]]}],["$","div",null,{"className":"flex flex-col gap-component-md","children":[["$","p",null,{"className":"text-base leading-[1.5] sm:text-lg md:text-xl lg:text-2xl font-normal","id":"$undefined","style":"$undefined","children":"Bagas Miftahun"}],["$","ul",null,{"className":"flex flex-col gap-component-xs","children":[["$","li","0",{"children":["$","$L9",null,{"href":"/work","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"Work"}]}]}],["$","li","1",{"children":["$","$L9",null,{"href":"/services","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"Services"}]}]}],["$","li","2",{"children":["$","$L9",null,{"href":"/insights","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"Insights"}]}]}],["$","li","3",{"children":["$","$L9",null,{"href":"/about","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"About"}]}]}]]}]]}],["$","div",null,{"className":"flex flex-col gap-component-md","children":[["$","p",null,{"className":"text-base leading-[1.5] sm:text-lg md:text-xl lg:text-2xl font-normal","id":"$undefined","style":"$undefined","children":"Case Studies"}],["$","ul",null,{"className":"flex flex-col gap-component-xs","children":[["$","li","0",{"children":["$","$L9",null,{"href":"/work/sikoma","children":"$Lb"}]}],"$Lc","$Ld","$Le","$Lf"]}]]}],"$L10","$L11"]}],"$L12"]}]}]]}],"$L13"]}]]}]]}],{"children":["$L14",{"children":["$L15",{"children":["$L16",{},null,false,false]},null,false,false]},null,false,false]},null,false,false],"$L17",false]],"m":"$undefined","G":["$18",[]],"s":false,"S":true} 19:I[34863,["/_next/static/chunks/acf836f3152ca7fe.js","/_next/static/chunks/da92607e56841e3c.js","/_next/static/chunks/703119054fee62fd.js"],"CustomToaster"] 1b:I[97367,["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/c81db6e24f0cfdeb.js"],"OutletBoundary"] 1c:"$Sreact.suspense" 1e:I[97367,["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/c81db6e24f0cfdeb.js"],"ViewportBoundary"] 20:I[97367,["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/c81db6e24f0cfdeb.js"],"MetadataBoundary"] b:["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"Sikoma"}] c:["$","li","1",{"children":["$","$L9",null,{"href":"/work/shabank","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"ShaBank"}]}]}] d:["$","li","2",{"children":["$","$L9",null,{"href":"/work/simona","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"Simona"}]}]}] e:["$","li","3",{"children":["$","$L9",null,{"href":"/work/cozy-house","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"Cozy House"}]}]}] f:["$","li","4",{"children":["$","$L9",null,{"href":"/work/routex","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"Routex"}]}]}] 10:["$","div",null,{"className":"flex flex-col gap-component-md","children":[["$","p",null,{"className":"text-base leading-[1.5] sm:text-lg md:text-xl lg:text-2xl font-normal","id":"$undefined","style":"$undefined","children":"Services"}],["$","ul",null,{"className":"flex flex-col gap-component-xs","children":[["$","li","0",{"children":["$","$L9",null,{"href":"/services/web-development","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"Web Development"}]}]}],["$","li","1",{"children":["$","$L9",null,{"href":"/services/mobile-app-development","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"Mobile App Development"}]}]}],["$","li","2",{"children":["$","$L9",null,{"href":"/services/custom-software","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"Custom Software"}]}]}],["$","li","3",{"children":["$","$L9",null,{"href":"/services/api-integration","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"API & Integration"}]}]}],["$","li","4",{"children":["$","$L9",null,{"href":"/services/ui-ux-design","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"UI/UX Design"}]}]}],["$","li","5",{"children":["$","$L9",null,{"href":"/services/consultation-support","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"Consultation & Support"}]}]}]]}]]}] 11:["$","div",null,{"className":"flex flex-col gap-component-md","children":[["$","p",null,{"className":"text-base leading-[1.5] sm:text-lg md:text-xl lg:text-2xl font-normal","id":"$undefined","style":"$undefined","children":"Follow Me"}],["$","ul",null,{"className":"flex flex-col gap-component-xs","children":[["$","li","0",{"children":["$","$L9",null,{"href":"https://www.linkedin.com/in/bagasmiftahun/","target":"_blank","rel":"noopener noreferrer","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"LinkedIn"}]}]}],["$","li","1",{"children":["$","$L9",null,{"href":"https://github.com/BagasMiftahun","target":"_blank","rel":"noopener noreferrer","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"Github"}]}]}],["$","li","2",{"children":["$","$L9",null,{"href":"https://www.instagram.com/bagasbyte/","target":"_blank","rel":"noopener noreferrer","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"Instagram"}]}]}],["$","li","3",{"children":["$","$L9",null,{"href":"https://www.youtube.com/channel/UCR-73dSxcxZw0O1ZzYDDUpQ","target":"_blank","rel":"noopener noreferrer","children":["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal","id":"$undefined","style":"$undefined","children":"YouTube"}]}]}]]}]]}] 12:["$","div",null,{"className":"flex flex-col lg:flex-row items-center justify-between","children":[["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal text-center lg:text-left text-secondary","id":"$undefined","style":"$undefined","children":"Let's work together"}],["$","p",null,{"className":"text-sm leading-[1.5] sm:text-base md:text-lg font-normal text-center lg:text-left text-secondary","id":"$undefined","style":"$undefined","children":"© Bagas Miftahun. All rights reserved."}]]}] 13:["$","$L19",null,{}] 14:["$","$1","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}] 15:["$","$1","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}] 16:["$","$1","c",{"children":["$L1a",[["$","script","script-0",{"src":"/_next/static/chunks/7e5288f5447cfe9b.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/5edf0f55b6889521.js","async":true,"nonce":"$undefined"}]],["$","$L1b",null,{"children":["$","$1c",null,{"name":"Next.MetadataOutlet","children":"$@1d"}]}]]}] 17:["$","$1","h",{"children":[null,["$","$L1e",null,{"children":"$@1f"}],["$","div",null,{"hidden":true,"children":["$","$L20",null,{"children":["$","$1c",null,{"name":"Next.Metadata","children":"$@21"}]}]}],null]}] 22:I[42459,["/_next/static/chunks/acf836f3152ca7fe.js","/_next/static/chunks/da92607e56841e3c.js","/_next/static/chunks/703119054fee62fd.js","/_next/static/chunks/7e5288f5447cfe9b.js","/_next/static/chunks/5edf0f55b6889521.js"],"default"] 23:Td52, ## What Are Large Language Models? Large Language Models, or LLMs, are AI systems trained on massive datasets containing billions of words. Their primary goal is to understand linguistic patterns and generate coherent text. These models can perform tasks such as answering questions, summarizing content, generating code, and even simulating reasoning processes. LLMs serve as the backbone for chatbots, virtual assistants, content generators, and numerous other applications where natural language understanding is required. The scale and complexity of LLMs allow them to capture context, semantics, and subtle nuances in language that simpler models cannot. They can model long-range dependencies between words and phrases, enabling the creation of text that reads naturally and maintains logical flow. This ability makes them particularly valuable in domains requiring detailed explanations or sophisticated reasoning. LLMs are also flexible. They can adapt to a wide range of tasks without task-specific programming, simply by conditioning on prompts or examples. This flexibility allows them to be applied across industries, from customer support to scientific research, often reducing the need for extensive human supervision. ## How LLMs Learn Training LLMs involves exposing them to enormous text datasets and optimizing them to predict the next word in a sequence. During this process, the model learns patterns in grammar, syntax, context, and even common knowledge embedded in the text. By analyzing these patterns, the model can generate text that is contextually relevant and semantically accurate. The learning process also includes fine-tuning, where models are adjusted to specialize in certain tasks or domains, improving their performance for specific applications. Techniques like reinforcement learning from human feedback (RLHF) further enhance the model's ability to align with user intent, ethical guidelines, and practical usability. Furthermore, LLMs continually improve as they are trained on more diverse and higher-quality datasets. This exposure allows them to generalize better, handle rare or complex queries, and maintain coherence over longer passages of text. The combination of massive data, sophisticated architectures, and fine-tuning techniques makes LLMs powerful tools for understanding and generating human language. ## Why LLMs Matter LLMs have a transformative impact on productivity and creativity. They enable humans to draft documents, analyze data, generate summaries, and even write code in seconds, tasks that traditionally required hours of effort. By automating language-based tasks, LLMs free up time for strategic thinking, innovation, and higher-level problem-solving. In addition, LLMs democratize access to knowledge. They can answer questions, provide explanations, and generate educational content, making advanced information more accessible to people around the world. Businesses, researchers, and individuals can leverage LLMs to scale content creation, automate workflows, and enhance decision-making. The influence of LLMs extends beyond simple text generation. They form the foundation for reasoning systems, conversational AI, and multi-modal applications that integrate text with images, audio, or other data types. Their versatility ensures that LLMs will remain central to the next generation of AI-driven tools and services. 1a:[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Understanding Large Language Models (LLMs)\",\"description\":\"A simple explanation of how modern language models work.\",\"image\":\"/insight/understanding-llms.webp\",\"author\":{\"@type\":\"Person\",\"name\":\"Bagas Miftahun\"},\"datePublished\":\"December 1, 2024\",\"mainEntityOfPage\":\"https://bagasmiftahun.com/insights/understanding-llms\"}"}}],["$","$L22",null,{"insight":{"title":"Understanding Large Language Models (LLMs)","slug":"understanding-llms","date":"December 1, 2024","description":"A simple explanation of how modern language models work.","image":"/insight/understanding-llms.webp","content":"$23"}}],"$L24","$L25","$L26"] 27:I[89672,["/_next/static/chunks/acf836f3152ca7fe.js","/_next/static/chunks/da92607e56841e3c.js","/_next/static/chunks/703119054fee62fd.js","/_next/static/chunks/7e5288f5447cfe9b.js","/_next/static/chunks/5edf0f55b6889521.js"],"default"] 28:I[35280,["/_next/static/chunks/acf836f3152ca7fe.js","/_next/static/chunks/da92607e56841e3c.js","/_next/static/chunks/703119054fee62fd.js","/_next/static/chunks/7e5288f5447cfe9b.js","/_next/static/chunks/5edf0f55b6889521.js"],"default"] 24:["$","section",null,{"id":"thumbnail","className":"container-fluid","children":["$","div",null,{"className":"w-full mx-auto max-w-6xl aspect-video relative overflow-hidden rounded-lg","children":["$","$La",null,{"src":"/insight/understanding-llms.webp","alt":"Understanding Large Language Models (LLMs)","fill":true,"className":"object-cover"}]}]}] 25:["$","$L27",null,{"insight":"$1a:1:props:insight"}] 26:["$","$L28",null,{"currentSlug":"understanding-llms"}] 1f:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] 29:I[27201,["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/c81db6e24f0cfdeb.js"],"IconMark"] 21:[["$","title","0",{"children":"Understanding Large Language Models (LLMs) | Bagas Miftahun — Software Developer"}],["$","meta","1",{"name":"description","content":"A simple explanation of how modern language models work."}],["$","link","2",{"rel":"manifest","href":"/site.webmanifest","crossOrigin":"$undefined"}],["$","meta","3",{"name":"robots","content":"index, follow"}],["$","link","4",{"rel":"canonical","href":"https://bagasmiftahun.com/insights/understanding-llms"}],["$","meta","5",{"property":"og:title","content":"Understanding Large Language Models (LLMs)"}],["$","meta","6",{"property":"og:description","content":"A simple explanation of how modern language models work."}],["$","meta","7",{"property":"og:url","content":"https://bagasmiftahun.com/insights/understanding-llms"}],["$","meta","8",{"property":"og:image","content":"https://bagasmiftahun.com/insight/understanding-llms.webp"}],["$","meta","9",{"property":"og:type","content":"article"}],["$","meta","10",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","11",{"name":"twitter:title","content":"Understanding Large Language Models (LLMs)"}],["$","meta","12",{"name":"twitter:description","content":"A simple explanation of how modern language models work."}],["$","meta","13",{"name":"twitter:image","content":"https://bagasmiftahun.com/insight/understanding-llms.webp"}],["$","link","14",{"rel":"shortcut icon","href":"/favicon.ico"}],["$","link","15",{"rel":"icon","href":"/favicon-16x16.png","sizes":"16x16","type":"image/png"}],["$","link","16",{"rel":"icon","href":"/favicon-32x32.png","sizes":"32x32","type":"image/png"}],["$","link","17",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png"}],["$","$L29","18",{}]] 1d:null