{"id":28676504,"url":"https://github.com/zjunlp/easyeval","last_synced_at":"2025-08-17T14:05:03.451Z","repository":{"id":195758419,"uuid":"685892757","full_name":"zjunlp/EasyEval","owner":"zjunlp","description":"An Easy-to-use Intelligence Evaluation Framework for LLMs.","archived":false,"fork":false,"pushed_at":"2023-10-16T08:27:35.000Z","size":166,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-11T00:04:05.249Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zjunlp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-01T08:50:14.000Z","updated_at":"2024-02-02T14:43:31.000Z","dependencies_parsed_at":"2023-10-16T18:30:15.485Z","dependency_job_id":"a8f54236-77d0-4a98-b179-82ea4a308b68","html_url":"https://github.com/zjunlp/EasyEval","commit_stats":null,"previous_names":["zjunlp/easyeval"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zjunlp/EasyEval","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjunlp%2FEasyEval","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjunlp%2FEasyEval/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjunlp%2FEasyEval/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjunlp%2FEasyEval/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zjunlp","download_url":"https://codeload.github.com/zjunlp/EasyEval/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjunlp%2FEasyEval/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270856775,"owners_count":24657700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-13T23:04:58.213Z","updated_at":"2025-08-17T14:05:03.426Z","avatar_url":"https://github.com/zjunlp.png","language":"Python","readme":"# EasyEval\n\n---\n\n## 🔧Installation\n\n**Installation for local development:**\n\n```\ngit clone https://github.com/zjunlp/EasyEval\ncd EasyEval\npip install -e .\n```\n**Installation using PyPI:**\n```\npip install easyeval-tool\n```\n---\n\n## 📌Use EasyEval\n\n### FairEval\n\n\u003e `FairEval` is the class for  two simple yet effective strategies,\n\u003e namely Multiple Evidence Calibration (MEC) and Balanced Position Calibration (BPC) to calibrate the positional bias of LLMs.\n\u003e Refer to the paper: [Large Language Models are not Fair Evaluators](https://link.zhihu.com/?target=https%3A//arxiv.org/pdf/2305.17926v1.pdf).\n\n**Example**\n\n**Step1: Provide the question json file for evaluation.** Here is an example of the data:\n```json\n{\"question_id\": 1, \"text\": \"How can I improve my time management skills?\"}\n{\"question_id\": 2, \"text\": \"What are the most effective ways to deal with stress?\"}\n```\n**Step2: Provide the answer json files for evaluation.** Note that the question_id  must be consistent with the question file. Here is an example of the data:\n```json\n{\"question_id\": 1, \"text\": \"Here are some tips to improve your time management skills:\\n\\n1. Create a schedule: Make a to-do list for the day ...\"}\n{\"question_id\": 2, \"text\": \"Here are some effective ways to deal with stress:\\n\\n1. Exercise regularly: Physical activity can help reduce stress and improve mood ...\"}\n```\n**Step3: Evaluation**\n```python\nfrom EasyEval.eval import FairEval\n\n# Declare a eval class\neval = FairEval(answer_file_list=[\"YOUR-ANSWER-FILE1\", \"YOUR-ANSWER-FILE2\"], question_file=\"YOUR-QUESTION-FILE\",\n                output=\"YOUR-OUTPUT-FILE\", api_key=\"YOUR-KEY\", eval_model='gpt-4', bpc=1, k=3)\n\n\n# Get the result from LLM API service\neval.fair_eval()\n```\n\n---\n\n## 🎉Contributors\n\n\u003ca href=\"https://github.com/zjunlp/EasyEval/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=zjunlp/EasyEval\" /\u003e\n\u003c/a\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzjunlp%2Feasyeval","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzjunlp%2Feasyeval","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzjunlp%2Feasyeval/lists"}