Skip to content

Commit

Permalink
chore(lmeval): Move LMEval to release 0.4.6 (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruivieira authored Feb 3, 2025
1 parent 47938cb commit 9ce9d3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.lmes-job
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ RUN mkdir -p /opt/app-root/src/my_catalogs/cards && chmod -R g+rwx /opt/app-root
RUN mkdir -p /opt/app-root/src/.cache
ENV PATH="/opt/app-root/bin:/opt/app-root/src/.local/bin/:/opt/app-root/src/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

RUN curl -L https://github.com/opendatahub-io/lm-evaluation-harness/archive/refs/heads/release-0.4.5.zip -o repo.zip && \
RUN curl -L https://github.com/opendatahub-io/lm-evaluation-harness/archive/refs/heads/release-0.4.6.zip -o repo.zip && \
unzip repo.zip && \
cp -r lm-evaluation-harness-release-0.4.5/* . && \
rm -rf lm-evaluation-harness-release-0.4.5 repo.zip && \
cp -r lm-evaluation-harness-release-0.4.6/* . && \
rm -rf lm-evaluation-harness-release-0.4.6 repo.zip && \
pip install --no-cache-dir --user -e .[api,ibm_watsonx_ai]

RUN python -c 'from lm_eval.tasks.unitxt import task; import os.path; print("class: !function " + task.__file__.replace("task.py", "task.Unitxt"))' > ./my_tasks/unitxt
Expand Down

0 comments on commit 9ce9d3e

Please sign in to comment.