Name | llm-evaluation-in-reasoning JSON |
Version |
1.4.2
JSON |
| download |
home_page | None |
Summary | A project for evaluating reasoning capabilities in large language models (LLMs). |
upload_time | 2025-01-17 07:13:34 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.11 |
license | MIT License Copyright (c) 2024 Sheng Ren and Xiya Pang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
evaluation
llm
reasoning
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# llm_evaluation_in_reasoning
[![example workflow](https://github.com/ashengstd/llm_evaluation_in_reasoning/actions/workflows/publish-pypi-release.yml/badge.svg)](https://github.com/ashengstd/llm_evaluation_in_reasoning) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/llm_evaluation_in_reasoning)](https://pypi.org/project/llm_evaluation_in_reasoning) [![PyPI](https://img.shields.io/pypi/v/llm_evaluation_in_reasoning.svg)](https://pypi.org/project/llm_evaluation_in_reasoning/) [![PyPI - Downloads](https://img.shields.io/pypi/dm/llm_evaluation_in_reasoning.svg)](https://pypi.org/project/llm_evaluation_in_reasoning/) [![GitHub License](https://img.shields.io/github/license/ashengstd/llm_evaluation_in_reasoning)](https://github.com/ashengstd/llm_evaluation_in_reasoning) [![GitHub Release](https://img.shields.io/github/v/release/ashengstd/llm_evaluation_in_reasoning)](https://github.com/ashengstd/llm_evaluation_in_reasoning)
A project for evaluating reasoning capabilities in large language models (LLMs).
**Read this in other languages: [English](https://github.com/ashengstd/llm_evaluation_in_reasoning/blob/main/README.md), [中文](https://github.com/ashengstd/llm_evaluation_in_reasoning/blob/main/README_zh.md).**
## Run the eval
### Install the package
```shell
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:
```shell
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](https://docs.litellm.ai/docs/providers)
## Build the project
### Setup Instructions
Clone the github repo and cd into it.
```shell
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:
```shell
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
```shell
uv sync --all-extra
```
Raw data
{
"_id": null,
"home_page": null,
"name": "llm-evaluation-in-reasoning",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "evaluation, llm, reasoning",
"author": null,
"author_email": "Sheng Ren <rensheng0410@gamil.com>, Xiya Pang <sianing0531@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/e7/a0/ab79780b6911afc0a0acb6aa26a76ec39492f610ef64c052c235700bcebc/llm_evaluation_in_reasoning-1.4.2.tar.gz",
"platform": null,
"description": "# llm_evaluation_in_reasoning\n\n[![example workflow](https://github.com/ashengstd/llm_evaluation_in_reasoning/actions/workflows/publish-pypi-release.yml/badge.svg)](https://github.com/ashengstd/llm_evaluation_in_reasoning) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/llm_evaluation_in_reasoning)](https://pypi.org/project/llm_evaluation_in_reasoning) [![PyPI](https://img.shields.io/pypi/v/llm_evaluation_in_reasoning.svg)](https://pypi.org/project/llm_evaluation_in_reasoning/) [![PyPI - Downloads](https://img.shields.io/pypi/dm/llm_evaluation_in_reasoning.svg)](https://pypi.org/project/llm_evaluation_in_reasoning/) [![GitHub License](https://img.shields.io/github/license/ashengstd/llm_evaluation_in_reasoning)](https://github.com/ashengstd/llm_evaluation_in_reasoning) [![GitHub Release](https://img.shields.io/github/v/release/ashengstd/llm_evaluation_in_reasoning)](https://github.com/ashengstd/llm_evaluation_in_reasoning)\n\nA project for evaluating reasoning capabilities in large language models (LLMs).\n\n**Read this in other languages: [English](https://github.com/ashengstd/llm_evaluation_in_reasoning/blob/main/README.md), [\u4e2d\u6587](https://github.com/ashengstd/llm_evaluation_in_reasoning/blob/main/README_zh.md).**\n\n## Run the eval\n\n### Install the package\n\n```shell\npip install llm_evaluation_in_reasoning\n```\n\n### Create the `.env` file\n\nCreate a `.env` file with the following:\n\n```\nOPENAI_API_KEY=<your key>\nANTHROPIC_API_KEY=<your key>\n...\n```\n\nThe api key you provided will be used to fetch the valid models supported by `Litellm`.\n\n### Run Instructions\n\nSupport `GSM-Symbolic`, `GSM8K`, `MMLU`, `SimpleBench`\nTo run a benchmark:\n\n```shell\nllm_eval --model_name=ollama/qwen2.5:0.5b --dataset=SimpleBench # run llm_eval --help to see help information\n```\n\n## Model support\n\nModel support is based on `Litellm`, see the docs here [Litellm Providers](https://docs.litellm.ai/docs/providers)\n\n## Build the project\n\n### Setup Instructions\n\nClone the github repo and cd into it.\n\n```shell\ngit clone https://github.com/ashengstd/llm_evaluation_in_reasoning.git\ncd llm_evaluation_in_reasoning\n```\n\n### Install uv:\n\nThe best way to install dependencies is to use `uv`.\nIf you don't have it installed in your environment, you can install it with the following:\n\n```shell\ncurl -LsSf https://astral.sh/uv/install.sh | sh # macOS and Linux\npowershell -ExecutionPolicy ByPass -c \"irm https://astral.sh/uv/install.ps1 | iex\" # Windows\n```\n\n### Sync the dependencies\n\n```shell\nuv sync --all-extra\n```\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2024 Sheng Ren and Xiya Pang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "A project for evaluating reasoning capabilities in large language models (LLMs).",
"version": "1.4.2",
"project_urls": null,
"split_keywords": [
"evaluation",
" llm",
" reasoning"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9273023b072b837ab6ebead39699290297d25fa4f26c24ae34489c6e7affb97c",
"md5": "d2b3886f0989b2ee85232aea85ad9708",
"sha256": "aa63b1db7ff256559443078a2ce02c3b577500f8998d83662e9c89dc0feff1d2"
},
"downloads": -1,
"filename": "llm_evaluation_in_reasoning-1.4.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d2b3886f0989b2ee85232aea85ad9708",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 22699,
"upload_time": "2025-01-17T07:13:33",
"upload_time_iso_8601": "2025-01-17T07:13:33.171459Z",
"url": "https://files.pythonhosted.org/packages/92/73/023b072b837ab6ebead39699290297d25fa4f26c24ae34489c6e7affb97c/llm_evaluation_in_reasoning-1.4.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e7a0ab79780b6911afc0a0acb6aa26a76ec39492f610ef64c052c235700bcebc",
"md5": "ba440dfcde64bdd4d6f5225807ab4b92",
"sha256": "7b38d55c9d2a9ec6c6d37db5ddb19988157739c5ad679fc0acb870d4e2614e6d"
},
"downloads": -1,
"filename": "llm_evaluation_in_reasoning-1.4.2.tar.gz",
"has_sig": false,
"md5_digest": "ba440dfcde64bdd4d6f5225807ab4b92",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 149439,
"upload_time": "2025-01-17T07:13:34",
"upload_time_iso_8601": "2025-01-17T07:13:34.599986Z",
"url": "https://files.pythonhosted.org/packages/e7/a0/ab79780b6911afc0a0acb6aa26a76ec39492f610ef64c052c235700bcebc/llm_evaluation_in_reasoning-1.4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-17 07:13:34",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llm-evaluation-in-reasoning"
}