Class: SIMBA
Stochastic Introspective Mini-Batch Ascent optimizer (dspy.SIMBA).
URI: dspy:SIMBA
classDiagram
class SIMBA
click SIMBA href "../SIMBA/"
Teleprompter <|-- SIMBA
click Teleprompter href "../Teleprompter/"
SIMBA : bsize
SIMBA : description
SIMBA : id
SIMBA : max_bootstrapped_demos
SIMBA : max_labeled_demos
SIMBA : metric
SIMBA : name
SIMBA : num_candidate_programs
SIMBA : num_iters
Inheritance
- NamedThing
- Teleprompter
- SIMBA
- Teleprompter
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| bsize | 0..1 Integer |
direct | |
| num_candidate_programs | 0..1 Integer |
direct | |
| num_iters | 0..1 Integer |
direct | |
| max_bootstrapped_demos | 0..1 Integer |
direct | |
| max_labeled_demos | 0..1 Integer |
direct | |
| metric | 0..1 String |
Dotted import path of the metric callable (or its name) | Teleprompter |
| id | 1 Identifier |
Stable opaque identifier for an instance | NamedThing |
| name | 0..1 String |
Short human-readable name | NamedThing |
| description | 0..1 String |
Free-form description | NamedThing |
In Subsets
Identifier and Mapping Information
Annotations
| property | value |
|---|---|
| dspy_source_paths | ['dspy/teleprompt/simba.py'] |
| dspy_source_urls | ['https://github.com/stanfordnlp/dspy/blob/main/dspy/teleprompt/simba.py'] |
Schema Source
- from schema: https://w3id.org/lmodel/dspy
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | dspy:SIMBA |
| native | dspy:SIMBA |
LinkML Source
Direct
name: SIMBA
annotations:
dspy_source_paths:
tag: dspy_source_paths
value:
- dspy/teleprompt/simba.py
dspy_source_urls:
tag: dspy_source_urls
value:
- https://github.com/stanfordnlp/dspy/blob/main/dspy/teleprompt/simba.py
description: Stochastic Introspective Mini-Batch Ascent optimizer (``dspy.SIMBA``).
in_subset:
- teleprompt
from_schema: https://w3id.org/lmodel/dspy
is_a: Teleprompter
slots:
- bsize
- num_candidate_programs
- num_iters
- max_bootstrapped_demos
- max_labeled_demos
Induced
name: SIMBA
annotations:
dspy_source_paths:
tag: dspy_source_paths
value:
- dspy/teleprompt/simba.py
dspy_source_urls:
tag: dspy_source_urls
value:
- https://github.com/stanfordnlp/dspy/blob/main/dspy/teleprompt/simba.py
description: Stochastic Introspective Mini-Batch Ascent optimizer (``dspy.SIMBA``).
in_subset:
- teleprompt
from_schema: https://w3id.org/lmodel/dspy
is_a: Teleprompter
attributes:
bsize:
name: bsize
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
owner: SIMBA
domain_of:
- SIMBA
range: integer
minimum_value: 1
num_candidate_programs:
name: num_candidate_programs
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
owner: SIMBA
domain_of:
- BootstrapFewShotWithRandomSearch
- BootstrapFewShotWithOptuna
- SIMBA
range: integer
minimum_value: 1
num_iters:
name: num_iters
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
owner: SIMBA
domain_of:
- SIMBA
range: integer
minimum_value: 1
max_bootstrapped_demos:
name: max_bootstrapped_demos
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
ifabsent: int(4)
owner: SIMBA
domain_of:
- BootstrapFewShot
- MIPROv2
- SIMBA
- GEPA
range: integer
minimum_value: 0
max_labeled_demos:
name: max_labeled_demos
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
ifabsent: int(16)
owner: SIMBA
domain_of:
- LabeledFewShot
- BootstrapFewShot
- MIPROv2
- SIMBA
- GEPA
range: integer
minimum_value: 0
metric:
name: metric
description: Dotted import path of the metric callable (or its name).
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
owner: SIMBA
domain_of:
- Teleprompter
- Evaluate
range: string
id:
name: id
description: Stable opaque identifier for an instance.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
slot_uri: schema:identifier
identifier: true
owner: SIMBA
domain_of:
- NamedThing
range: Identifier
required: true
name:
name: name
description: Short human-readable name.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
slot_uri: rdfs:label
owner: SIMBA
domain_of:
- NamedThing
- LMToolCallPart
- LMMessage
- LMToolSpec
range: string
description:
name: description
description: Free-form description.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
slot_uri: dct:description
owner: SIMBA
domain_of:
- NamedThing
- LMToolSpec
range: string