Skip to content

Class: MATH

Competition mathematics dataset (dspy.MATH).

URI: dspy:MATH

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

      MATH : description

      MATH : devset





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



      MATH : id

      MATH : name

      MATH : splits





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



      MATH : subset

      MATH : testset





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



      MATH : trainset





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



Inheritance

Slots

Name Cardinality and Range Description Inheritance
subset 0..1
String
MATH subset name (algebra, geometry, direct
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/math.py']
dspy_source_urls ['https://github.com/stanfordnlp/dspy/blob/main/dspy/datasets/math.py']

Schema Source

Mappings

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

LinkML Source

Direct

name: MATH
annotations:
  dspy_source_paths:
    tag: dspy_source_paths
    value:
    - dspy/datasets/math.py
  dspy_source_urls:
    tag: dspy_source_urls
    value:
    - https://github.com/stanfordnlp/dspy/blob/main/dspy/datasets/math.py
description: Competition mathematics dataset (``dspy.MATH``).
in_subset:
- datasets
from_schema: https://w3id.org/lmodel/dspy
is_a: Dataset
attributes:
  subset:
    name: subset
    description: MATH subset name (algebra, geometry, ...).
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    domain_of:
    - MATH
    range: string

Induced

name: MATH
annotations:
  dspy_source_paths:
    tag: dspy_source_paths
    value:
    - dspy/datasets/math.py
  dspy_source_urls:
    tag: dspy_source_urls
    value:
    - https://github.com/stanfordnlp/dspy/blob/main/dspy/datasets/math.py
description: Competition mathematics dataset (``dspy.MATH``).
in_subset:
- datasets
from_schema: https://w3id.org/lmodel/dspy
is_a: Dataset
attributes:
  subset:
    name: subset
    description: MATH subset name (algebra, geometry, ...).
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: MATH
    domain_of:
    - MATH
    range: string
  trainset:
    name: trainset
    description: Training split used by an optimizer.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: MATH
    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: MATH
    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: MATH
    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: MATH
    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: MATH
    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: MATH
    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: MATH
    domain_of:
    - NamedThing
    - LMToolSpec
    range: string