Skip to main content

LLM-MathJudger

基于 LLM-Math 简化的数学判别器. 该版本仅用于数学检查,因此不需要加载模型.

Usage

  1. basic_check(A, B)

    检查 A, B 两个纯数学表达式是否一致,返回 True / False.

  2. check(prompt_type, data_name, target, pred)

    检查 pred 是否与 target 一致,返回 True / False. target 即为数据集的某一行.

  • 支持的 prompt 类型: tool-integrated, direct, cot, pal, self-instruct, self-instruct-boxed, tora, wizard_zs, platypus_fs, deepseek-math, kpmath.

  • 支持的数据集: gsm8k, math, svamp, asdiv, mawps, tabmwp, mathqa, mmlu_stem, sat_math.

Note

该版本为了提高速度采用了激进的修改,还未经严格测试,请谨慎使用.

Metadata

Release files for llm_mathjudger 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm_mathjudger 0.2.1
File Size Uploaded Provenance
llm_mathjudger-0.2.1.tar.gz 6.5 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for llm_mathjudger 0.2.1
File Interpreter ABI Platform
llm_mathjudger-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 MB

Release files / llm_mathjudger-0.2.1.tar.gz

Download URL llm_mathjudger-0.2.1.tar.gz
Size 6.5 MB
Tags Source
SHA-256 checksum
How to use checksums
a20bd84679bdd94a592a288b75524eb86ccdf7dca6904aa2aeb923f784e25798
BLAKE2b-256 checksum
How to use checksums
382b44c3c9ce924106e7e0c935d8ef13601efe0581b16430963f5a16ad829eae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.19.1 CPython/3.9.19 Darwin/24.1.0

Release files / llm_mathjudger-0.2.1-py3-none-any.whl

Download URL llm_mathjudger-0.2.1-py3-none-any.whl
Size 6.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
00c498ec8d0a51e4e17de326935edc1f2b5885247ec6d7de2ffd7b70792d64ec
BLAKE2b-256 checksum
How to use checksums
04c0d68a591c07cd708ff4bc3fbae6e43aa595e5b4cc123c79c72e7026a8eb84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.19.1 CPython/3.9.19 Darwin/24.1.0

Security for llm_mathjudger 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page