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

 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 --> "*" Capability : requiresCapability
        click Capability href "../Capability/"



      LargeLanguageModel : supported_languages

      LargeLanguageModel : url

Inheritance

Slots

Name Cardinality and Range Description Inheritance
numParameters 0..1
Integer
A property indicating the number of parameters in a LLM direct
numTrainingTokens 0..1
Integer
The number of tokens a AI model was trained on direct
contextWindowSize 0..1
Integer
The total length, in bytes, of an AI model's context window direct
hasInputModality *
Modality
A relationship indicating the input modalities supported by an AI component direct
hasOutputModality *
Modality
A relationship indicating the output modalities supported by an AI component direct
hasTrainingData *
Dataset
A relationship indicating the datasets an AI model was trained on direct
fine_tuning 0..1
String
A description of the fine-tuning mechanism(s) applied to a model direct
supported_languages *
String
A list of languages, expressed as ISO two letter codes direct
isPartOf 0..1
LargeLanguageModelFamily
Annotation that a Large Language model is part of a family of models direct
requiresCapability *
Capability
Indicates that this entry requires a specific capability direct
hasEvaluation *
AiEvalResult
A relationship indicating that an entity has an AI evaluation result AiModel
architecture 0..1
String
A description of the architecture of an AI such as 'Decoder-only' AiModel
gpu_hours 0..1
Integer
GPU consumption in terms of hours AiModel
power_consumption_w 0..1
Integer
power consumption in Watts AiModel
carbon_emitted 0..1
Float
The number of tons of carbon dioxide equivalent that are emitted during train... AiModel
hasRiskControl *
RiskControl
Indicates the control measures associated with a system or component to modif... AiModel
producer 0..1
Organization
A relationship to the Organization instance which produces this instance BaseAi
hasModelCard *
String
A relationship to model card references BaseAi
hasDocumentation *
Documentation
Indicates documentation associated with an entity BaseAi
hasLicense 0..1
License
Indicates licenses associated with a resource BaseAi
performsTask *
AiTask
relationship indicating the AI tasks an AI model can perform BaseAi
isProvidedBy 0..1
AiProvider
Indicates provider of an AI system or component BaseAi
id 1
String
A unique identifier to this instance of the model element Entity
name 0..1
String
A text name of this instance Entity
description 0..1
String
The description of an entity Entity
url 0..1
Uri
An optional URL associated with this instance Entity
dateCreated 0..1
Date
The date on which the entity was created Entity
dateModified 0..1
Date
The date on which the entity was most recently modified Entity
exact_mappings *
Any
The property is used to link two concepts, indicating a high degree of confid... Entity
close_mappings *
Any
The property is used to link two concepts that are sufficiently similar that ... Entity
related_mappings *
Any
The property skos:relatedMatch is used to state an associative mapping link b... Entity
narrow_mappings *
Any
The property is used to state a hierarchical mapping link between two concept... Entity
broad_mappings *
Any
The property is used to state a hierarchical mapping link between two concept... Entity
isCategorizedAs *
Any
A relationship where an entity has been deemed to be categorized Entity

Mixin Usage

mixed into description
Adapter Adapter-based methods add extra trainable parameters after the attention and ...

Usages

used by used in type used
Container aimodels range LargeLanguageModel
Adapter adaptsModel range LargeLanguageModel

Aliases

  • LLM

Identifier and Mapping Information

Schema Source

  • from schema: https://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/ai-risk-ontology rank: 1000 slot_uri: schema:isPartOf alias: isPartOf owner: LargeLanguageModel domain_of: - Entry - Risk - LargeLanguageModel - Stakeholder - CapabilityGroup range: LargeLanguageModelFamily requiresCapability: name: requiresCapability description: Indicates that this entry requires a specific capability from_schema: https://ibm.github.io/ai-atlas-nexus/ontology/ai-risk-ontology rank: 1000 domain: Any alias: requiresCapability owner: LargeLanguageModel domain_of: - Entry - LargeLanguageModel - AiTask - Adapter inverse: requiredByTask range: Capability multivalued: true inlined: false hasEvaluation: name: hasEvaluation description: A relationship indicating that an entity has an AI evaluation result. from_schema: https://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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 - AiEval - BenchmarkMetadataCard - Adapter - LLMIntrinsic range: Documentation multivalued: true inlined: false hasLicense: name: hasLicense description: Indicates licenses associated with a resource from_schema: https://ibm.github.io/ai-atlas-nexus/ontology/ai-risk-ontology rank: 1000 slot_uri: airo:hasLicense alias: hasLicense owner: LargeLanguageModel domain_of: - Dataset - Documentation - Vocabulary - Taxonomy - RiskTaxonomy - RiskControlGroupTaxonomy - BaseAi - AiEval - BenchmarkMetadataCard - Adapter range: License performsTask: name: performsTask description: relationship indicating the AI tasks an AI model can perform. from_schema: https://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/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://ibm.github.io/ai-atlas-nexus/ontology/ai-risk-ontology rank: 1000 slot_uri: nexus:isCategorizedAs alias: isCategorizedAs owner: LargeLanguageModel domain_of: - Entity range: Any multivalued: true inlined: false ````