{"id":30707185,"url":"https://github.com/astrocvijo/react_reproduction","last_synced_at":"2026-03-15T22:42:05.835Z","repository":{"id":286217223,"uuid":"952836861","full_name":"AStroCvijo/react_reproduction","owner":"AStroCvijo","description":"Reproduction of ICLR 2023 paper \"ReAct: Synergizing Reasoning and Acting in Language Models\"","archived":false,"fork":false,"pushed_at":"2025-04-28T10:41:09.000Z","size":6231,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-02T20:48:15.755Z","etag":null,"topics":["llm","llm-reasoning","react-reasoning"],"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/AStroCvijo.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-22T01:22:17.000Z","updated_at":"2025-05-17T00:00:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"050ad686-de48-4838-9c70-5411501615f7","html_url":"https://github.com/AStroCvijo/react_reproduction","commit_stats":null,"previous_names":["astrocvijo/react_reproduction"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AStroCvijo/react_reproduction","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AStroCvijo%2Freact_reproduction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AStroCvijo%2Freact_reproduction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AStroCvijo%2Freact_reproduction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AStroCvijo%2Freact_reproduction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AStroCvijo","download_url":"https://codeload.github.com/AStroCvijo/react_reproduction/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AStroCvijo%2Freact_reproduction/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30553331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T15:03:43.933Z","status":"ssl_error","status_checked_at":"2026-03-15T15:03:37.630Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["llm","llm-reasoning","react-reasoning"],"created_at":"2025-09-02T20:37:33.309Z","updated_at":"2026-03-15T22:42:05.829Z","avatar_url":"https://github.com/AStroCvijo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReAct reproduction\nReproduction of ICLR 2023 paper [\"ReAct: Synergizing Reasoning and Acting in Language Models\"](https://arxiv.org/pdf/2210.03629).\nDeveloped as part of an application for EEML 2025, Sarajevo, Bosnia and Herzegovina.\n\n## ⚡**Quickstart**\n\n### **Prerequisites**\n- Python 3.9+\n- Conda (for environment management)\n\n### 🛠️**Setup**\nClone the repository and install dependencies:\n\n```bash\ngit clone https://github.com/AStroCvijo/react_reproduction.git\ncd react_reproduction\nconda create --name react python=3.9\nconda activate react\nconda install -c conda-forge libstdcxx-ng\npip install -r requirements.txt\n```\n---\n\n## 🖥️ Scripts for Running Experiments\n\n### **🔍 FEVER Dataset**\n| Name                 | Description                                   |  Command                  |\n|------------------------|-----------------------------------------------|----------------------------------|\n| Standard         | Standard inference (no reasoning/acting)      | `./scripts/fever/standard.sh`    |\n| CoT               | Chain-of-Thought (CoT)                        | `./scripts/fever/cot.sh`         |\n| CoT-SC            | CoT with self-consistency (21 samples)        | `./scripts/fever/cot_sc.sh`      |\n| Act               | Action-only (no reasoning)                    | `./scripts/fever/act.sh`         |\n| ReAct             | ReAct (reasoning + acting)                    | `./scripts/fever/react.sh`       |\n| CoT-SC -\u003e ReAct      | CoT with self-consistency and ReAct hybrid    | `./scripts/fever/cot_sc_react.sh`|\n| ReAct -\u003e  CoT-SC   | ReAct and CoT with self-consistency hybrid    | `./scripts/fever/react_cot_sc.sh`|\n\n\n### **🍲 HotpotQA Dataset**\n| Name                 | Description                                   |  Command                  |\n|------------------------|-----------------------------------------------|----------------------------------|\n| Standard         | Standard inference (no reasoning/acting)   | `./scripts/hotpotqa/standard.sh` |\n| CoT               | Chain-of-Thought (CoT)                     | `./scripts/hotpotqa/cot.sh`      |\n| CoT-SC           | CoT with self-consistency (21 samples)     | `./scripts/hotpotqa/cot_sc.sh`   |\n| Act                | Action-only (no reasoning)                 | `./scripts/hotpotqa/act.sh`      |\n| ReAct             | ReAct (reasoning + acting)                 | `./scripts/hotpotqa/react.sh`    |\n| CoT-SC -\u003e ReAct      | CoT with self-consistency and ReAct hybrid | `./scripts/hotpotqa/cot_sc_react.sh`|\n| ReAct -\u003e  CoT-SC      | ReAct and CoT with self-consistency hybrid | `./scripts/hotpotqa/react_cot_sc.sh`|\n\n\n### **🏠 ALFWorld Dataset**\n| Name          | Description                          |  Command               |\n|-----------------|--------------------------------------|-------------------------------|\n| Act        | Action-only (no reasoning)           | `./scripts/alfworld/act.sh`   |\n| ReAct      | ReAct (reasoning + acting)          | `./scripts/alfworld/react.sh` |\n\n\n### **🛍️ WebShop Dataset**\n| Name          | Description                          |  Command               |\n|-----------------|--------------------------------------|-------------------------------|\n| Act        | Action-only (no reasoning)              | `./scripts/webshop/act.sh`    |\n| ReAct      | ReAct (reasoning + acting)             | `./scripts/webshop/react.sh`  |\n\n---\n\n## 📖**Arguments Guide**\n\n| Argument         | Description                                           | Default    | Options                                                             |\n|------------------|-------------------------------------------------------|------------|---------------------------------------------------------------------|\n| -ds, --data_set  | Dataset selection                                    | FEVER      | FEVER, HotpotQA, ALFWorld, WebShop                                  |\n| -ps, --prompt_style | Prompt style to use                                 | ReAct      | ReAct, Act, CoT, Standard, CoT-SC-ReAct, ReAct-CoT-SC                |\n| -ns, --num_samples | Number of samples to generate                       | 1          | Any positive integer                                                 |\n| -t, --tempreture  | Temperature setting for response variability        | 0.0        | Any float value (0.0 to 1.0)                                         |\n\n## 📄**Experiments**\n\nFor detailed experiments and evaluations, please refer to the following document:\n\n[Experiments and Evaluations](https://astrocvijo.github.io/react_reproduction/react_reproduction.pdf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrocvijo%2Freact_reproduction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastrocvijo%2Freact_reproduction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrocvijo%2Freact_reproduction/lists"}