Metadata-Version: 2.4
Name: llm_evaluation_in_reasoning
Version: 1.1.11
Summary: A project for the evaluation of reasoning in the LLM
Author-email: Sheng Ren <rensheng0410@gamil.com>, Xiya Pang <sianing0531@gmail.com>
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.
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: datasets
Requires-Dist: fire
Requires-Dist: litellm==1.54.1
Requires-Dist: pathlib
Requires-Dist: python-dotenv
Requires-Dist: rich
Description-Content-Type: text/markdown

# Introduction

A project for the evaluation of reasoning in the LLM.

## Install the package

```shell
pip install llm_evaluation_in_reasoning
```

## Run Instructions

Before the eval, place the `simple_bench_public.json` and `system_prompt` in your work dir.
Run benchmark:

```shell
llm_eval --model_name=gpt-4o --dataset_path=simple_bench_public.json
```

# 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
```

### Create the `.env` file

Create a `.env` file with the following:

```
OPENAI_API_KEY=<your key>
ANTHROPIC_API_KEY=<your key>
...
```
