# Large Language Models in the DNA Ecosystem

LLMs, such as OpenAI’s GPT (Generative Pre-trained Transformer), are advanced AI systems designed to understand, generate, and interact with human language in a way that is both contextually aware and highly nuanced.&#x20;

These models are trained on vast amounts of text data, allowing them to perform a wide range of language-related tasks such as translation, summarization, question-answering, and creative content generation.

***

### Mathematical Formulation and Notations

We now introduce the formulation and notations we will be using to describe our LLM inference algorithm. In essence, LLMs model a language sequence (w1 , w2 , · · · wN ) by computing the conditional distributions

<figure><img src="https://1275704450-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTBcIEp8xctdXZhDwjCpX%2Fuploads%2FvrSprKt6SS2EMv4SiTQM%2Fimage.png?alt=media&#x26;token=ae5bde0d-4f1d-449f-b906-56b6e7621fda" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="https://1275704450-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTBcIEp8xctdXZhDwjCpX%2Fuploads%2Fhr4wXj3JI8l0AqSuw7dk%2Fimage.png?alt=media&#x26;token=b9c414a8-ea91-4553-85b9-914b135228c2" alt="" width="563"><figcaption></figcaption></figure>

{% content-ref url="large-language-models-in-the-dna-ecosystem/training-and-uploading-llms-to-dna-layer-offline" %}
[training-and-uploading-llms-to-dna-layer-offline](https://dnalayer.gitbook.io/dnachain/large-language-models-in-the-dna-ecosystem/training-and-uploading-llms-to-dna-layer-offline)
{% endcontent-ref %}

{% content-ref url="large-language-models-in-the-dna-ecosystem/business-use-case-ai-based-illegal-content-detection-on-storage-blockchains" %}
[business-use-case-ai-based-illegal-content-detection-on-storage-blockchains](https://dnalayer.gitbook.io/dnachain/large-language-models-in-the-dna-ecosystem/business-use-case-ai-based-illegal-content-detection-on-storage-blockchains)
{% endcontent-ref %}

{% content-ref url="large-language-models-in-the-dna-ecosystem/business-use-case-enhancing-dao-governance-with-ai-through-the-dna-layer" %}
[business-use-case-enhancing-dao-governance-with-ai-through-the-dna-layer](https://dnalayer.gitbook.io/dnachain/large-language-models-in-the-dna-ecosystem/business-use-case-enhancing-dao-governance-with-ai-through-the-dna-layer)
{% endcontent-ref %}
