Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_evaluation_in_reasoning-1.4.2.tar.gz (149.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_evaluation_in_reasoning-1.4.2-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file llm_evaluation_in_reasoning-1.4.2.tar.gz.

File metadata

File hashes

Hashes for llm_evaluation_in_reasoning-1.4.2.tar.gz
Algorithm Hash digest
SHA256 7b38d55c9d2a9ec6c6d37db5ddb19988157739c5ad679fc0acb870d4e2614e6d
MD5 ba440dfcde64bdd4d6f5225807ab4b92
BLAKE2b-256 e7a0ab79780b6911afc0a0acb6aa26a76ec39492f610ef64c052c235700bcebc

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_evaluation_in_reasoning-1.4.2.tar.gz:

Publisher: publish-pypi-release.yml on ashengstd/llm_evaluation_in_reasoning

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llm_evaluation_in_reasoning-1.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_evaluation_in_reasoning-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aa63b1db7ff256559443078a2ce02c3b577500f8998d83662e9c89dc0feff1d2
MD5 d2b3886f0989b2ee85232aea85ad9708
BLAKE2b-256 9273023b072b837ab6ebead39699290297d25fa4f26c24ae34489c6e7affb97c

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_evaluation_in_reasoning-1.4.2-py3-none-any.whl:

Publisher: publish-pypi-release.yml on ashengstd/llm_evaluation_in_reasoning

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page