Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanHB authored Feb 11, 2024
2 parents bdc66ec + adf1031 commit 36f0f13
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include src/lighteval/tasks/tasks_table.jsonl
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ where = ["src"]

[project]
name = "lighteval"
version = "0.2.dev0"
version = "0.1.1.dev0"
authors = [
{ name="Clémentine Fourrier", email="[email protected]" },
{ name="Nathan Habib", email="[email protected]" },
Expand Down
4 changes: 4 additions & 0 deletions run_evals_accelerate.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
""" Example run command:
accelerate config
accelerate launch run_evals_accelerate.py --tasks="lighteval|hellaswag|5|1" --output_dir "/scratch/evals" --model_args "pretrained=gpt2"
"""
import argparse

from lighteval.main_accelerate import CACHE_DIR, main
Expand Down
4 changes: 4 additions & 0 deletions src/lighteval/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import importlib.metadata


__version__ = importlib.metadata.version(__package__ or __name__)

0 comments on commit 36f0f13

Please sign in to comment.