Class: Adapter
Adapter-based methods add extra trainable parameters after the attention and fully-connected layers of a frozen pretrained model to reduce memory-usage and speed up training. The adapters are typically small but demonstrate comparable performance to a fully finetuned model and enable training larger models with fewer resources. (https://huggingface.co/docs/peft/en/conceptual_guides/adapter)
URI: nexus:Adapter
classDiagram
class Adapter
click Adapter href "../Adapter"
Entity <|-- Adapter
click Entity href "../Entity"
Adapter : dateCreated
Adapter : dateModified
Adapter : description
Adapter : id
Adapter : name
Adapter : url
Inheritance
- Entity
- Adapter
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
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 |
Usages
used by | used in | type | used |
---|---|---|---|
Container | adapters | range | Adapter |
Identifier and Mapping Information
Schema Source
- from schema: https://ibm.github.io/risk-atlas-nexus/ontology/ai-risk-ontology
Mappings
Mapping Type | Mapped Value |
---|---|
self | nexus:Adapter |
native | nexus:Adapter |
LinkML Source
Direct
name: Adapter
description: Adapter-based methods add extra trainable parameters after the attention
and fully-connected layers of a frozen pretrained model to reduce memory-usage and
speed up training. The adapters are typically small but demonstrate comparable performance
to a fully finetuned model and enable training larger models with fewer resources.
(https://huggingface.co/docs/peft/en/conceptual_guides/adapter)
from_schema: https://ibm.github.io/risk-atlas-nexus/ontology/ai-risk-ontology
is_a: Entity
Induced
name: Adapter
description: Adapter-based methods add extra trainable parameters after the attention
and fully-connected layers of a frozen pretrained model to reduce memory-usage and
speed up training. The adapters are typically small but demonstrate comparable performance
to a fully finetuned model and enable training larger models with fewer resources.
(https://huggingface.co/docs/peft/en/conceptual_guides/adapter)
from_schema: https://ibm.github.io/risk-atlas-nexus/ontology/ai-risk-ontology
is_a: Entity
attributes:
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/risk-atlas-nexus/ontology/ai-risk-ontology
rank: 1000
slot_uri: schema:identifier
identifier: true
alias: id
owner: Adapter
domain_of:
- Entity
range: string
required: true
name:
name: name
description: A text name of this instance.
from_schema: https://ibm.github.io/risk-atlas-nexus/ontology/ai-risk-ontology
rank: 1000
slot_uri: schema:name
alias: name
owner: Adapter
domain_of:
- Entity
- BenchmarkMetadataCard
range: string
description:
name: description
description: The description of an entity
from_schema: https://ibm.github.io/risk-atlas-nexus/ontology/ai-risk-ontology
rank: 1000
slot_uri: schema:description
alias: description
owner: Adapter
domain_of:
- Entity
range: string
url:
name: url
description: An optional URL associated with this instance.
from_schema: https://ibm.github.io/risk-atlas-nexus/ontology/ai-risk-ontology
rank: 1000
slot_uri: schema:url
alias: url
owner: Adapter
domain_of:
- Entity
range: uri
dateCreated:
name: dateCreated
description: The date on which the entity was created.
from_schema: https://ibm.github.io/risk-atlas-nexus/ontology/ai-risk-ontology
rank: 1000
slot_uri: schema:dateCreated
alias: dateCreated
owner: Adapter
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/risk-atlas-nexus/ontology/ai-risk-ontology
rank: 1000
slot_uri: schema:dateModified
alias: dateModified
owner: Adapter
domain_of:
- Entity
range: date
required: false