Skip to main content

A project for the evaluation of reasoning in the LLM

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.3.10.tar.gz (143.5 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.3.10-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llm_evaluation_in_reasoning-1.3.10.tar.gz
Algorithm Hash digest
SHA256 a827e336eeed9d6a772cb7e12c40b88e86921d0a8ead03366e480540504a4e85
MD5 259fd8b269188f803ac1a8bf704cc7a5
BLAKE2b-256 3681674d07f06cce30827a0c5a635bb4985b6137daef2c02459f17b3a256fe3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_evaluation_in_reasoning-1.3.10.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.3.10-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_evaluation_in_reasoning-1.3.10-py3-none-any.whl
Algorithm Hash digest
SHA256 b1600929f2a9cb9c50827ab68f282fa2a33af0b4ed065764e0ffe15892d8bd55
MD5 bfffcbf3167b5519c995f6004b22b55e
BLAKE2b-256 f636956f63a8b7f1bc5e991f1157c479d82b9cb854b61d6920b747f5278b3128

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_evaluation_in_reasoning-1.3.10-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