flowaicom / flow-judge

Code for evaluating with Flow-Judge-v0.1 - an open-source, lightweight (3.8B) language model optimized for LLM system evaluations. Crafted for accuracy, speed, and customization.
Apache License 2.0
53 stars 8 forks source link

ModuleNotFoundError: No module named 'flow_judge.models.model_factory' #24

Closed gdevakumar closed 1 month ago

gdevakumar commented 1 month ago

I am trying to use FlowJudge model as LLM-as-judge for a small use-case.

When I am trying to import model factory, i get this error. I installed the library as suggested in the docs. image

Can anyone help me here?

gdevakumar commented 1 month ago

I think I got it resolved. I followed the steps provided in #10 I've installed all the dependencies

!pip install flow-judge[llamafile,dev,hf,vllm]

Used this code to import the model

from flow_judge.models import Llamafile
model = Llamafile()

Thanks!