From 0c6aef0f4754a44fa2796627cd26cfda4e5651a3 Mon Sep 17 00:00:00 2001 From: Yuxuan Xia <77518229+NovTi@users.noreply.github.com> Date: Mon, 26 Feb 2024 10:13:10 +0800 Subject: [PATCH] Add einops dependency for C-Eval (#10234) * Add c-eval workflow and modify running files * Modify the chatglm evaluator file * Modify the ceval workflow for triggering test * Modify the ceval workflow file * Modify the ceval workflow file * Modify ceval workflow * Adjust the ceval dataset download * Add ceval workflow dependencies * Modify ceval workflow dataset download * Add ceval test dependencies * Add ceval test dependencies * Correct the result print * Fix the nightly test trigger time * Fix ChatGLM loading issue * Add einops dependency --- .github/workflows/llm-c-evaluation.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/llm-c-evaluation.yml b/.github/workflows/llm-c-evaluation.yml index 0c2a2f22..feba0074 100644 --- a/.github/workflows/llm-c-evaluation.yml +++ b/.github/workflows/llm-c-evaluation.yml @@ -147,9 +147,10 @@ jobs: - name: Install Dependencies shell: bash run: | - pip install transformers==4.31.0 + pip install einops pip install thefuzz pip install tiktoken + pip install transformers==4.31.0 pip install transformers_stream_generator - name: Run C-Eval