MCPcopy
hub / github.com/microsoft/agent-lightning / GsmProblem

Class GsmProblem

examples/unsloth/math_agent.py:39–50  ·  view source on GitHub ↗

Type definition for a GSM-hard math problem. Reference link: https://huggingface.co/datasets/reasoning-machines/gsm-hard Attributes: input: The math problem question as a string. target: The expected numeric answer.

Source from the content-addressed store, hash-verified

37
38
39class GsmProblem(TypedDict):
40 """Type definition for a GSM-hard math problem.
41
42 Reference link: https://huggingface.co/datasets/reasoning-machines/gsm-hard
43
44 Attributes:
45 input: The math problem question as a string.
46 target: The expected numeric answer.
47 """
48
49 input: str
50 target: float
51
52
53def _download_dataset() -> None: # pyright: ignore[reportUnusedFunction]

Callers 1

load_math_datasetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected