Hugging Face's logo
abidlabs
/
Runtime error

runtime error

Exit code: 1. Reason: The repository for vectara/hallucination_evaluation_model contains custom code which must be executed to correctly load the model. You can inspect the repository content at https://hf.co/vectara/hallucination_evaluation_model. You can avoid this prompt in future by passing the argument `trust_remote_code=True`. Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 612, in resolve_trust_remote_code answer = input( EOFError: EOF when reading a line During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 5, in <module> hhem = pipeline("text-classification", model="vectara/hallucination_evaluation_model") File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/__init__.py", line 816, in pipeline config = AutoConfig.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 937, in from_pretrained trust_remote_code = resolve_trust_remote_code( File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 625, in resolve_trust_remote_code raise ValueError( ValueError: The repository for vectara/hallucination_evaluation_model contains custom code which must be executed to correctly load the model. You can inspect the repository content at https://hf.co/vectara/hallucination_evaluation_model. Please pass the argument `trust_remote_code=True` to allow custom code to be run. Do you wish to run the custom code? [y/N]

Container logs:

Fetching error logs...