A project for evaluating reasoning capabilities in large language models (LLMs).
Project description
llm_evaluation_in_reasoning
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llm_evaluation_in_reasoning-1.4.2.tar.gz.
File metadata
- Download URL: llm_evaluation_in_reasoning-1.4.2.tar.gz
- Upload date:
- Size: 149.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b38d55c9d2a9ec6c6d37db5ddb19988157739c5ad679fc0acb870d4e2614e6d
|
|
| MD5 |
ba440dfcde64bdd4d6f5225807ab4b92
|
|
| BLAKE2b-256 |
e7a0ab79780b6911afc0a0acb6aa26a76ec39492f610ef64c052c235700bcebc
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_evaluation_in_reasoning-1.4.2.tar.gz -
Subject digest:
7b38d55c9d2a9ec6c6d37db5ddb19988157739c5ad679fc0acb870d4e2614e6d - Sigstore transparency entry: 163109333
- Sigstore integration time:
-
Permalink:
ashengstd/llm_evaluation_in_reasoning@84530624ce980b9580227682c4faf76da00c723e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ashengstd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi-release.yml@84530624ce980b9580227682c4faf76da00c723e -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file llm_evaluation_in_reasoning-1.4.2-py3-none-any.whl.
File metadata
- Download URL: llm_evaluation_in_reasoning-1.4.2-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa63b1db7ff256559443078a2ce02c3b577500f8998d83662e9c89dc0feff1d2
|
|
| MD5 |
d2b3886f0989b2ee85232aea85ad9708
|
|
| BLAKE2b-256 |
9273023b072b837ab6ebead39699290297d25fa4f26c24ae34489c6e7affb97c
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_evaluation_in_reasoning-1.4.2-py3-none-any.whl -
Subject digest:
aa63b1db7ff256559443078a2ce02c3b577500f8998d83662e9c89dc0feff1d2 - Sigstore transparency entry: 163109335
- Sigstore integration time:
-
Permalink:
ashengstd/llm_evaluation_in_reasoning@84530624ce980b9580227682c4faf76da00c723e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ashengstd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi-release.yml@84530624ce980b9580227682c4faf76da00c723e -
Trigger Event:
workflow_dispatch
-
Statement type: