MCPcopy Create free account
hub / github.com/InternScience/SciReason / MyConfig

Class MyConfig

opencompass/datasets/phybench/latex_pre_process.py:470–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

468
469
470class MyConfig:
471
472 interpret_as_mixed_fractions: bool = False
473 interpret_simple_eq_as_assignment: bool = False
474 interpret_contains_as_eq: bool = True
475 lowercase_symbols: bool = False
476 """
477 Args:
478 interpret_as_mixed_fractions (bool): Whether to interpret 2 \frac{1}{2} as 2/2 or 2 + 1/2
479 interpret_simple_eq_as_assignment (bool): Whether to interpret simple equations as assignments k=1 -> 1
480 interpret_contains_as_eq (bool): Whether to interpret contains as equality x \\in {1,2,3} -> x = {1,2,3}
481 lowercase_symbols (bool): Whether to lowercase all symbols
482 """
483
484
485class MyNormalization:

Callers 1

master_convertFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected