Skip to main content

llm_evaluation_in_reasoning

example workflow PyPI - Python Version PyPI PyPI - Downloads GitHub License GitHub Release

A project for evaluating reasoning capabilities in large language models (LLMs).

Read this in other languages: English, 中文.

Run the eval

Install the package

pip install llm_evaluation_in_reasoning

Create the .env file

Create a .env file with the following:

OPENAI_API_KEY=<your key>
ANTHROPIC_API_KEY=<your key>
...

The api key you provided will be used to fetch the valid models supported by Litellm.

Run Instructions

Support GSM-Symbolic, GSM8K, MMLU, SimpleBench To run a benchmark:

llm_eval --model_name=ollama/qwen2.5:0.5b --dataset=SimpleBench # run llm_eval --help to see help information

Model support

Model support is based on Litellm, see the docs here Litellm Providers

Build the project

Setup Instructions

Clone the github repo and cd into it.

git clone https://github.com/ashengstd/llm_evaluation_in_reasoning.git
cd llm_evaluation_in_reasoning

Install uv:

The best way to install dependencies is to use uv. If you don't have it installed in your environment, you can install it with the following:

curl -LsSf https://astral.sh/uv/install.sh | sh # macOS and Linux
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" # Windows

Sync the dependencies

uv sync --all-extra

Metadata

Release files for llm-evaluation-in-reasoning 1.4.2

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-evaluation-in-reasoning 1.4.2
File Size Uploaded Provenance
llm_evaluation_in_reasoning-1.4.2.tar.gz 149.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-evaluation-in-reasoning 1.4.2
File Interpreter ABI Platform
llm_evaluation_in_reasoning-1.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 172.1 kB

Release files / llm_evaluation_in_reasoning-1.4.2.tar.gz

Download URL llm_evaluation_in_reasoning-1.4.2.tar.gz
Size 149.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7b38d55c9d2a9ec6c6d37db5ddb19988157739c5ad679fc0acb870d4e2614e6d
BLAKE2b-256 checksum
How to use checksums
e7a0ab79780b6911afc0a0acb6aa26a76ec39492f610ef64c052c235700bcebc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 17, 2025.

Transparency log

Release files / llm_evaluation_in_reasoning-1.4.2-py3-none-any.whl

Download URL llm_evaluation_in_reasoning-1.4.2-py3-none-any.whl
Size 22.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa63b1db7ff256559443078a2ce02c3b577500f8998d83662e9c89dc0feff1d2
BLAKE2b-256 checksum
How to use checksums
9273023b072b837ab6ebead39699290297d25fa4f26c24ae34489c6e7affb97c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 17, 2025.

Transparency log

Security for llm-evaluation-in-reasoning 1.4.2

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for llm_evaluation_in_reasoning-1.4.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 17, 2025.

Transparency log

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.

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