From 7325fa048021792050e05c8666ffea4b10427249 Mon Sep 17 00:00:00 2001 From: bys0318 <bys0318@126.com> Date: Wed, 2 Aug 2023 22:42:56 +0800 Subject: [PATCH] add requirements.txt --- README.md | 2 +- README_ZH.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bd91b0e..77460da 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ All data in **LongBench** are standardized to the following format: ``` #### Evaluation -We provide an evaluation code using ChatGLM2-6B as an example. First, run the [pred.py](pred.py) under the repository: +Install the requirements with pip: `pip install -r requirements.txt`. We provide an evaluation code using ChatGLM2-6B as an example. First, run the [pred.py](pred.py) under the repository: ```bash CUDA_VISIBLE_DEVICES=0 python pred.py ``` diff --git a/README_ZH.md b/README_ZH.md index a4474c2..6bb46f2 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -97,7 +97,7 @@ for dataset in datasets: ``` #### 评测 -我们以ChatGLM2-6B为例æ供了一份评测代ç 。首先,è¿è¡Œä»“库下的[pred.py](pred.py) +通过pip安装ä¾èµ–:`pip install -r requirements.txt`。我们以ChatGLM2-6B为例æ供了一份评测代ç 。首先,è¿è¡Œä»“库下的[pred.py](pred.py) ```bash CUDA_VISIBLE_DEVICES=0 python pred.py ``` -- GitLab