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.1.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.1-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llm_evaluation_in_reasoning-1.4.1.tar.gz
Algorithm Hash digest
SHA256 d5badb7d50cecd73fe45d8409ca7269c84ae70cef65f339a72cc33b51d804842
MD5 65a4c9b31fc22d3f7aef31510a48a377
BLAKE2b-256 96086db6a3c0f4f17471aea2dffa42564c6ad9dda7d1e0b217214fc5b321951a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for llm_evaluation_in_reasoning-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fdffed76c7df08a1452c52b1e388d88518ec53c797610d8a379eb5b3727dea3d
MD5 96c2693558e917d0c162df3c9ba6d387
BLAKE2b-256 b7eab71b4c13fcaf0d5bac1dfcdf0754eabd651d04eede2dc5b5151fc2c2fabc

See more details on using hashes here.

Provenance

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