Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #85 from mozilla-ai/update_harness
Browse files Browse the repository at this point in the history
Update lm-eval version and API
  • Loading branch information
Sean Friedowitz authored Mar 18, 2024
2 parents 88e606a + 446d04e commit f24fd58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "lm-buddy"
version = "0.3.0"
version = "0.3.1"
authors = [
{ name = "Sean Friedowitz", email = "[email protected]" },
{ name = "Aaron Gonzales", email = "[email protected]" },
Expand All @@ -29,14 +29,14 @@ dependencies = [
"pydantic-yaml==1.2.0",
"ray[default]==2.9.3",
# HuggingFace
"datasets>=2.16.1",
"datasets>=2.17.1",
"transformers==4.36.2",
"accelerate==0.26.1",
"peft==0.7.1",
"trl==0.7.10",
"bitsandbytes==0.42.0",
# Evaluation frameworks
"lm-eval==0.4.1",
"lm-eval==0.4.2",
"einops==0.7.0",
"fschat==0.2.36",
"openai==1.3.9",
Expand Down
2 changes: 0 additions & 2 deletions src/lm_buddy/jobs/_entrypoints/lm_harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ def load_and_evaluate(
config: LMHarnessJobConfig,
artifact_loader: ArtifactLoader,
) -> dict[str, list[tuple[str, float]]]:
print("Initializing lm-harness tasks...")
lm_eval.tasks.initialize_tasks()

llm = load_harness_model(config, artifact_loader)
eval_results = lm_eval.simple_evaluate(
Expand Down

0 comments on commit f24fd58

Please sign in to comment.