Skip to content

Class: GSM8K

GSM8K grade-school math word problems (dspy.datasets.GSM8K).

URI: dspy:GSM8K

 classDiagram
    class GSM8K
    click GSM8K href "../GSM8K/"
      Dataset <|-- GSM8K
        click Dataset href "../Dataset/"

      GSM8K : description

      GSM8K : devset





        GSM8K --> "*" Example : devset
        click Example href "../Example/"



      GSM8K : id

      GSM8K : name

      GSM8K : splits





        GSM8K --> "0..1" Any : splits
        click Any href "../Any/"



      GSM8K : testset





        GSM8K --> "*" Example : testset
        click Example href "../Example/"



      GSM8K : trainset





        GSM8K --> "*" Example : trainset
        click Example href "../Example/"



Inheritance

Slots

Name Cardinality and Range Description Inheritance
trainset *
Example
Training split used by an optimizer Dataset
devset *
Example
Dev / evaluation split Dataset
testset *
Example
Held-out test split Dataset
splits 0..1
Any
Dataset split sizes / metadata Dataset
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/datasets/gsm8k.py']
dspy_source_urls ['https://github.com/stanfordnlp/dspy/blob/main/dspy/datasets/gsm8k.py']

Schema Source

Mappings

Mapping Type Mapped Value
self dspy:GSM8K
native dspy:GSM8K

LinkML Source

Direct

name: GSM8K
annotations:
  dspy_source_paths:
    tag: dspy_source_paths
    value:
    - dspy/datasets/gsm8k.py
  dspy_source_urls:
    tag: dspy_source_urls
    value:
    - https://github.com/stanfordnlp/dspy/blob/main/dspy/datasets/gsm8k.py
description: GSM8K grade-school math word problems (``dspy.datasets.GSM8K``).
in_subset:
- datasets
from_schema: https://w3id.org/lmodel/dspy
is_a: Dataset

Induced

name: GSM8K
annotations:
  dspy_source_paths:
    tag: dspy_source_paths
    value:
    - dspy/datasets/gsm8k.py
  dspy_source_urls:
    tag: dspy_source_urls
    value:
    - https://github.com/stanfordnlp/dspy/blob/main/dspy/datasets/gsm8k.py
description: GSM8K grade-school math word problems (``dspy.datasets.GSM8K``).
in_subset:
- datasets
from_schema: https://w3id.org/lmodel/dspy
is_a: Dataset
attributes:
  trainset:
    name: trainset
    description: Training split used by an optimizer.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: GSM8K
    domain_of:
    - KNN
    - Dataset
    range: Example
    multivalued: true
    inlined: true
    inlined_as_list: true
  devset:
    name: devset
    description: Dev / evaluation split.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: GSM8K
    domain_of:
    - Evaluate
    - Dataset
    range: Example
    multivalued: true
    inlined: true
    inlined_as_list: true
  testset:
    name: testset
    description: Held-out test split.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: GSM8K
    domain_of:
    - Dataset
    range: Example
    multivalued: true
    inlined: true
    inlined_as_list: true
  splits:
    name: splits
    description: Dataset split sizes / metadata.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: GSM8K
    domain_of:
    - Dataset
    range: Any
  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: GSM8K
    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: GSM8K
    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: GSM8K
    domain_of:
    - NamedThing
    - LMToolSpec
    range: string