Perhaps I'm doing something wrong, but it seems that this line:
|
from inference import run_inference |
is missing a structeval., like this:
from structeval.inference import run_inference
Currently, when I do:
python3 -m structeval.cli inference \
--llm_model_name gpt-4.1-mini \
--llm_engine "openai" \
--input_path dataset/StructEval_dataset.json \
--output_path "inference.json"
I get this error:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/root/StructEvalOrig/StructEval/structeval/cli.py", line 6, in <module>
from inference import run_inference
ModuleNotFoundError: No module named 'inference'
Of course, I followed the installation instructions.
Perhaps I'm doing something wrong, but it seems that this line:
StructEval/structeval/cli.py
Line 6 in d15b66d
is missing a
structeval., like this:Currently, when I do:
python3 -m structeval.cli inference \ --llm_model_name gpt-4.1-mini \ --llm_engine "openai" \ --input_path dataset/StructEval_dataset.json \ --output_path "inference.json"I get this error:
Of course, I followed the installation instructions.