Skip to content

Class: LargeLanguageModel

A large language model (LLM) is an AI model which supports a range of language-related tasks such as generation, summarization, classification, among others. A LLM is implemented as an artificial neural networks using a transformer architecture.

URI: [nexus:LargeLanguageModel](https://w3id.org/ai-atlas-nexus/LargeLanguageModel)
 classDiagram
    class LargeLanguageModel
    click LargeLanguageModel href "../LargeLanguageModel/"
      AiModel <|-- LargeLanguageModel
        click AiModel href "../AiModel/"


      LargeLanguageModel <|-- Adapter
        click Adapter href "../Adapter/"


      LargeLanguageModel : architecture

      LargeLanguageModel : broad_mappings





        LargeLanguageModel --> "*" Any : broad_mappings
        click Any href "../Any/"



      LargeLanguageModel : carbon_emitted

      LargeLanguageModel : close_mappings





        LargeLanguageModel --> "*" Any : close_mappings
        click Any href "../Any/"



      LargeLanguageModel : contextWindowSize

      LargeLanguageModel : dateCreated

      LargeLanguageModel : dateModified

      LargeLanguageModel : description

      LargeLanguageModel : exact_mappings





        LargeLanguageModel --> "*" Any : exact_mappings
        click Any href "../Any/"



      LargeLanguageModel : fine_tuning

      LargeLanguageModel : gpu_hours

      LargeLanguageModel : hasDocumentation





        LargeLanguageModel --> "*" Documentation : hasDocumentation
        click Documentation href "../Documentation/"



      LargeLanguageModel : hasEvaluation





        LargeLanguageModel --> "*" AiEvalResult : hasEvaluation
        click AiEvalResult href "../AiEvalResult/"



      LargeLanguageModel : hasInputModality





        LargeLanguageModel --> "*" Modality : hasInputModality
        click Modality href "../Modality/"



      LargeLanguageModel : hasLicense





        LargeLanguageModel --> "0..1" License : hasLicense
        click License href "../License/"



      LargeLanguageModel : hasModelCard

      LargeLanguageModel : hasOutputModality





        LargeLanguageModel --> "*" Modality : hasOutputModality
        click Modality href "../Modality/"



      LargeLanguageModel : hasRiskControl





        LargeLanguageModel --> "*" RiskControl : hasRiskControl
        click RiskControl href "../RiskControl/"



      LargeLanguageModel : hasTrainingData





        LargeLanguageModel --> "*" Dataset : hasTrainingData
        click Dataset href "../Dataset/"



      LargeLanguageModel : id

      LargeLanguageModel : isCategorizedAs





        LargeLanguageModel --> "*" Any : isCategorizedAs
        click Any href "../Any/"



      LargeLanguageModel : isPartOf





        LargeLanguageModel --> "0..1" LargeLanguageModelFamily : isPartOf
        click LargeLanguageModelFamily href "../LargeLanguageModelFamily/"



      LargeLanguageModel : isProvidedBy





        LargeLanguageModel --> "0..1" AiProvider : isProvidedBy
        click AiProvider href "../AiProvider/"



      LargeLanguageModel : name

      LargeLanguageModel : narrow_mappings





        LargeLanguageModel --> "*" Any : narrow_mappings
        click Any href "../Any/"



      LargeLanguageModel : numParameters

      LargeLanguageModel : numTrainingTokens

      LargeLanguageModel : performsTask





        LargeLanguageModel --> "*" AiTask : performsTask
        click AiTask href "../AiTask/"



      LargeLanguageModel : power_consumption_w

      LargeLanguageModel : producer





        LargeLanguageModel --> "0..1" Organization : producer
        click Organization href "../Organization/"



      LargeLanguageModel : related_mappings





        LargeLanguageModel --> "*" Any : related_mappings
        click Any href "../Any/"



      LargeLanguageModel : requiresCapability





        LargeLanguageModel --> "*" Any : requiresCapability
        click Any href "../Any/"



      LargeLanguageModel : supported_languages

      LargeLanguageModel : url

## Inheritance - [Entity](Entity.md) - [BaseAi](BaseAi.md) - [AiModel](AiModel.md) [ [AIComponent](AIComponent.md)] - **LargeLanguageModel** ## Class Properties | Property | Value | | -------- | ----- | | Mixin | Yes | ## Slots | Name | Cardinality and Range | Description | Inheritance | | --------------------------------------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------- | --------------------- | | [numParameters](numParameters.md) | 0..1
[Integer](Integer.md) | A property indicating the number of parameters in a LLM | direct | | [numTrainingTokens](numTrainingTokens.md) | 0..1
[Integer](Integer.md) | The number of tokens a AI model was trained on | direct | | [contextWindowSize](contextWindowSize.md) | 0..1
[Integer](Integer.md) | The total length, in bytes, of an AI model's context window | direct | | [hasInputModality](hasInputModality.md) | \*
[Modality](Modality.md) | A relationship indicating the input modalities supported by an AI component | direct | | [hasOutputModality](hasOutputModality.md) | \*
[Modality](Modality.md) | A relationship indicating the output modalities supported by an AI component | direct | | [hasTrainingData](hasTrainingData.md) | \*
[Dataset](Dataset.md) | A relationship indicating the datasets an AI model was trained on | direct | | [fine_tuning](fine_tuning.md) | 0..1
[String](String.md) | A description of the fine-tuning mechanism(s) applied to a model | direct | | [supported_languages](supported_languages.md) | \*
[String](String.md) | A list of languages, expressed as ISO two letter codes | direct | | [isPartOf](isPartOf.md) | 0..1
[LargeLanguageModelFamily](LargeLanguageModelFamily.md) | Annotation that a Large Language model is part of a family of models | direct | | [requiresCapability](requiresCapability.md) | \*
[Any](Any.md) | Indicates that this entry requires a specific capability | direct | | [hasEvaluation](hasEvaluation.md) | \*
[AiEvalResult](AiEvalResult.md) | A relationship indicating that an entity has an AI evaluation result | [AiModel](AiModel.md) | | [architecture](architecture.md) | 0..1
[String](String.md) | A description of the architecture of an AI such as 'Decoder-only' | [AiModel](AiModel.md) | | [gpu_hours](gpu_hours.md) | 0..1
[Integer](Integer.md) | GPU consumption in terms of hours | [AiModel](AiModel.md) | | [power_consumption_w](power_consumption_w.md) | 0..1
[Integer](Integer.md) | power consumption in Watts | [AiModel](AiModel.md) | | [carbon_emitted](carbon_emitted.md) | 0..1
[Float](Float.md) | The number of tons of carbon dioxide equivalent that are emitted during train... | [AiModel](AiModel.md) | | [hasRiskControl](hasRiskControl.md) | \*
[RiskControl](RiskControl.md) | Indicates the control measures associated with a system or component to modif... | [AiModel](AiModel.md) | | [producer](producer.md) | 0..1
[Organization](Organization.md) | A relationship to the Organization instance which produces this instance | [BaseAi](BaseAi.md) | | [hasModelCard](hasModelCard.md) | \*
[String](String.md) | A relationship to model card references | [BaseAi](BaseAi.md) | | [hasDocumentation](hasDocumentation.md) | \*
[Documentation](Documentation.md) | Indicates documentation associated with an entity | [BaseAi](BaseAi.md) | | [hasLicense](hasLicense.md) | 0..1
[License](License.md) | Indicates licenses associated with a resource | [BaseAi](BaseAi.md) | | [performsTask](performsTask.md) | \*
[AiTask](AiTask.md) | relationship indicating the AI tasks an AI model can perform | [BaseAi](BaseAi.md) | | [isProvidedBy](isProvidedBy.md) | 0..1
[AiProvider](AiProvider.md) | Indicates provider of an AI system or component | [BaseAi](BaseAi.md) | | [id](id.md) | 1
[String](String.md) | A unique identifier to this instance of the model element | [Entity](Entity.md) | | [name](name.md) | 0..1
[String](String.md) | A text name of this instance | [Entity](Entity.md) | | [description](description.md) | 0..1
[String](String.md) | The description of an entity | [Entity](Entity.md) | | [url](url.md) | 0..1
[Uri](Uri.md) | An optional URL associated with this instance | [Entity](Entity.md) | | [dateCreated](dateCreated.md) | 0..1
[Date](Date.md) | The date on which the entity was created | [Entity](Entity.md) | | [dateModified](dateModified.md) | 0..1
[Date](Date.md) | The date on which the entity was most recently modified | [Entity](Entity.md) | | [exact_mappings](exact_mappings.md) | \*
[Any](Any.md) | The property is used to link two concepts, indicating a high degree of confid... | [Entity](Entity.md) | | [close_mappings](close_mappings.md) | \*
[Any](Any.md) | The property is used to link two concepts that are sufficiently similar that ... | [Entity](Entity.md) | | [related_mappings](related_mappings.md) | \*
[Any](Any.md) | The property skos:relatedMatch is used to state an associative mapping link b... | [Entity](Entity.md) | | [narrow_mappings](narrow_mappings.md) | \*
[Any](Any.md) | The property is used to state a hierarchical mapping link between two concept... | [Entity](Entity.md) | | [broad_mappings](broad_mappings.md) | \*
[Any](Any.md) | The property is used to state a hierarchical mapping link between two concept... | [Entity](Entity.md) | | [isCategorizedAs](isCategorizedAs.md) | \*
[Any](Any.md) | A relationship where an entity has been deemed to be categorized | [Entity](Entity.md) | ## Mixin Usage | mixed into | description | | --------------------- | -------------------------------------------------------------------------------- | | [Adapter](Adapter.md) | Adapter-based methods add extra trainable parameters after the attention and ... | ## Usages | used by | used in | type | used | | ------------------------- | ----------------------------- | ----- | ------------------------------------------- | | [Container](Container.md) | [aimodels](aimodels.md) | range | [LargeLanguageModel](LargeLanguageModel.md) | | [Adapter](Adapter.md) | [adaptsModel](adaptsModel.md) | range | [LargeLanguageModel](LargeLanguageModel.md) | ## Aliases - LLM ## Identifier and Mapping Information ### Schema Source - from schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology ## Mappings | Mapping Type | Mapped Value | | ------------ | ------------------------ | | self | nexus:LargeLanguageModel | | native | nexus:LargeLanguageModel | ## LinkML Source ### Direct
```yaml name: LargeLanguageModel description: A large language model (LLM) is an AI model which supports a range of language-related tasks such as generation, summarization, classification, among others. A LLM is implemented as an artificial neural networks using a transformer architecture. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology aliases: - LLM is_a: AiModel mixin: true slots: - numParameters - numTrainingTokens - contextWindowSize - hasInputModality - hasOutputModality - hasTrainingData - fine_tuning - supported_languages - isPartOf - requiresCapability slot_usage: isPartOf: name: isPartOf description: Annotation that a Large Language model is part of a family of models range: LargeLanguageModelFamily ````
### Induced
```yaml name: LargeLanguageModel description: A large language model (LLM) is an AI model which supports a range of language-related tasks such as generation, summarization, classification, among others. A LLM is implemented as an artificial neural networks using a transformer architecture. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology aliases: - LLM is_a: AiModel mixin: true slot_usage: isPartOf: name: isPartOf description: Annotation that a Large Language model is part of a family of models range: LargeLanguageModelFamily attributes: numParameters: name: numParameters description: A property indicating the number of parameters in a LLM. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 alias: numParameters owner: LargeLanguageModel domain_of: - LargeLanguageModel range: integer minimum_value: 0 numTrainingTokens: name: numTrainingTokens description: The number of tokens a AI model was trained on. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 alias: numTrainingTokens owner: LargeLanguageModel domain_of: - LargeLanguageModel range: integer minimum_value: 0 contextWindowSize: name: contextWindowSize description: The total length, in bytes, of an AI model's context window. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 alias: contextWindowSize owner: LargeLanguageModel domain_of: - LargeLanguageModel range: integer minimum_value: 0 hasInputModality: name: hasInputModality description: A relationship indicating the input modalities supported by an AI component. Examples include text, image, video. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 alias: hasInputModality owner: LargeLanguageModel domain_of: - LargeLanguageModel range: Modality multivalued: true inlined: false hasOutputModality: name: hasOutputModality description: A relationship indicating the output modalities supported by an AI component. Examples include text, image, video. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 alias: hasOutputModality owner: LargeLanguageModel domain_of: - LargeLanguageModel range: Modality multivalued: true inlined: false hasTrainingData: name: hasTrainingData description: A relationship indicating the datasets an AI model was trained on. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: airo:hasTrainingData alias: hasTrainingData owner: LargeLanguageModel domain_of: - LargeLanguageModel range: Dataset multivalued: true inlined: false fine_tuning: name: fine_tuning description: A description of the fine-tuning mechanism(s) applied to a model. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 alias: fine_tuning owner: LargeLanguageModel domain_of: - LargeLanguageModel range: string supported_languages: name: supported_languages description: A list of languages, expressed as ISO two letter codes. For example, 'jp, fr, en, de' from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 alias: supported_languages owner: LargeLanguageModel domain_of: - LargeLanguageModel range: string multivalued: true inlined: true inlined_as_list: true isPartOf: name: isPartOf description: Annotation that a Large Language model is part of a family of models from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: schema:isPartOf alias: isPartOf owner: LargeLanguageModel domain_of: - Entry - Risk - CapabilityGroup - LargeLanguageModel - AiTaskGroup - Stakeholder range: LargeLanguageModelFamily requiresCapability: name: requiresCapability description: Indicates that this entry requires a specific capability from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 domain: Any alias: requiresCapability owner: LargeLanguageModel domain_of: - Entry - LargeLanguageModel - AiTask - Adapter inverse: requiredByTask range: Any multivalued: true inlined: false hasEvaluation: name: hasEvaluation description: A relationship indicating that an entity has an AI evaluation result. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: dqv:hasQualityMeasurement alias: hasEvaluation owner: LargeLanguageModel domain_of: - AiModel range: AiEvalResult multivalued: true architecture: name: architecture description: A description of the architecture of an AI such as 'Decoder-only'. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 alias: architecture owner: LargeLanguageModel domain_of: - AiModel range: string gpu_hours: name: gpu_hours description: GPU consumption in terms of hours from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 alias: gpu_hours owner: LargeLanguageModel domain_of: - AiModel range: integer minimum_value: 0 power_consumption_w: name: power_consumption_w description: power consumption in Watts from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 alias: power_consumption_w owner: LargeLanguageModel domain_of: - AiModel range: integer minimum_value: 0 carbon_emitted: name: carbon_emitted description: The number of tons of carbon dioxide equivalent that are emitted during training from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 alias: carbon_emitted owner: LargeLanguageModel domain_of: - AiModel range: float minimum_value: 0 unit: symbol: t CO2-eq descriptive_name: tons of CO2 equivalent hasRiskControl: name: hasRiskControl description: Indicates the control measures associated with a system or component to modify risks. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: airo:hasRiskControl alias: hasRiskControl owner: LargeLanguageModel domain_of: - AiModel range: RiskControl multivalued: true producer: name: producer description: A relationship to the Organization instance which produces this instance. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 alias: producer owner: LargeLanguageModel domain_of: - BaseAi range: Organization hasModelCard: name: hasModelCard description: A relationship to model card references. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 alias: hasModelCard owner: LargeLanguageModel domain_of: - BaseAi range: string multivalued: true inlined: true inlined_as_list: true hasDocumentation: name: hasDocumentation description: Indicates documentation associated with an entity. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: airo:hasDocumentation alias: hasDocumentation owner: LargeLanguageModel domain_of: - Dataset - Vocabulary - Taxonomy - Concept - Group - Entry - Term - Principle - RiskTaxonomy - RiskControlGroupTaxonomy - Action - BaseAi - LargeLanguageModelFamily - AiTaskTaxonomy - AiEval - EveryEvalAIResult - BenchmarkMetadataCard - Adapter - LLMIntrinsic range: Documentation multivalued: true inlined: false hasLicense: name: hasLicense description: Indicates licenses associated with a resource from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: airo:hasLicense alias: hasLicense owner: LargeLanguageModel domain_of: - Dataset - Documentation - Vocabulary - Taxonomy - RiskTaxonomy - RiskControlGroupTaxonomy - BaseAi - AiTaskTaxonomy - AiEval - BenchmarkMetadataCard - Adapter range: License performsTask: name: performsTask description: relationship indicating the AI tasks an AI model can perform. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 alias: performsTask owner: LargeLanguageModel domain_of: - BaseAi range: AiTask multivalued: true inlined: false isProvidedBy: name: isProvidedBy description: Indicates provider of an AI system or component. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: airo:isProvidedBy alias: isProvidedBy owner: LargeLanguageModel domain_of: - BaseAi range: AiProvider id: name: id description: A unique identifier to this instance of the model element. Example identifiers include UUID, URI, URN, etc. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: schema:identifier identifier: true alias: id owner: LargeLanguageModel domain_of: - Entity range: string required: true name: name: name description: A text name of this instance. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: schema:name alias: name owner: LargeLanguageModel domain_of: - Entity - BenchmarkMetadataCard range: string description: name: description description: The description of an entity from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: schema:description alias: description owner: LargeLanguageModel domain_of: - Entity range: string url: name: url description: An optional URL associated with this instance. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: schema:url alias: url owner: LargeLanguageModel domain_of: - Entity range: uri dateCreated: name: dateCreated description: The date on which the entity was created. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: schema:dateCreated alias: dateCreated owner: LargeLanguageModel domain_of: - Entity range: date required: false dateModified: name: dateModified description: The date on which the entity was most recently modified. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: schema:dateModified alias: dateModified owner: LargeLanguageModel domain_of: - Entity range: date required: false exact_mappings: name: exact_mappings description: The property is used to link two concepts, indicating a high degree of confidence that the concepts can be used interchangeably across a wide range of information retrieval applications from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: skos:exactMatch alias: exact_mappings owner: LargeLanguageModel domain_of: - Entity range: Any multivalued: true inlined: false close_mappings: name: close_mappings description: The property is used to link two concepts that are sufficiently similar that they can be used interchangeably in some information retrieval applications. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: skos:closeMatch alias: close_mappings owner: LargeLanguageModel domain_of: - Entity range: Any multivalued: true inlined: false related_mappings: name: related_mappings description: The property skos:relatedMatch is used to state an associative mapping link between two concepts. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: skos:relatedMatch alias: related_mappings owner: LargeLanguageModel domain_of: - Entity range: Any multivalued: true inlined: false narrow_mappings: name: narrow_mappings description: The property is used to state a hierarchical mapping link between two concepts, indicating that the concept linked to, is a narrower concept than the originating concept. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: skos:narrowMatch alias: narrow_mappings owner: LargeLanguageModel domain_of: - Entity range: Any multivalued: true inlined: false broad_mappings: name: broad_mappings description: The property is used to state a hierarchical mapping link between two concepts, indicating that the concept linked to, is a broader concept than the originating concept. from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: skos:broadMatch alias: broad_mappings owner: LargeLanguageModel domain_of: - Entity range: Any multivalued: true inlined: false isCategorizedAs: name: isCategorizedAs description: A relationship where an entity has been deemed to be categorized from_schema: https://w3id.org/ai-atlas-nexus/ai-risk-ontology rank: 1000 slot_uri: nexus:isCategorizedAs alias: isCategorizedAs owner: LargeLanguageModel domain_of: - Entity range: Any multivalued: true inlined: false ````