Skip to content
Snippets Groups Projects
Commit 7325fa04 authored by bys0318's avatar bys0318
Browse files

add requirements.txt

parent 7f89aa2d
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ All data in **LongBench** are standardized to the following format: ...@@ -101,7 +101,7 @@ All data in **LongBench** are standardized to the following format:
``` ```
#### Evaluation #### 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 ```bash
CUDA_VISIBLE_DEVICES=0 python pred.py CUDA_VISIBLE_DEVICES=0 python pred.py
``` ```
......
...@@ -97,7 +97,7 @@ for dataset in datasets: ...@@ -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 ```bash
CUDA_VISIBLE_DEVICES=0 python pred.py CUDA_VISIBLE_DEVICES=0 python pred.py
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment