Skip to content

Commit

Permalink
update: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
soumik12345 committed Oct 30, 2024
1 parent c27fb4c commit 342ba02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hemm/tests/test_prompt_alignment_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ def test_prompt_alignment_evaluation():
enable_cpu_offfload=False,
)
clip_scorer = CLIPScoreMetric(
clip_model_name_or_path="openai/clip-vit-base-patch16"
model_name="openai/clip-vit-base-patch16"
)
clip_iqa_scorer = CLIPImageQualityScoreMetric(clip_model_name_or_path="clip_iqa")
clip_iqa_scorer = CLIPImageQualityScoreMetric(model_name="clip_iqa")
dataset = weave.ref("parti-prompts:v0").get().rows[:2]
evaluation = weave.Evaluation(
dataset=dataset, scorers=[clip_scorer, clip_iqa_scorer]
Expand Down

0 comments on commit 342ba02

Please sign in to comment.