Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It seems that the entire library is unavailable and full of errors. #33

Open
mxdlzg opened this issue Jun 25, 2024 · 0 comments
Open

It seems that the entire library is unavailable and full of errors. #33

mxdlzg opened this issue Jun 25, 2024 · 0 comments

Comments

@mxdlzg
Copy link

mxdlzg commented Jun 25, 2024

Connected to pydev debugger (build 241.17011.127)
Traceback (most recent call last):
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\OwnProgram\Anaconda3\envs\FairLLM\Lib\site-packages\trustllm\generation\generation.py", line 4, in
from trustllm.utils.generation_utils import *
File "D:\OwnProgram\Anaconda3\envs\FairLLM\Lib\site-packages\trustllm\utils\generation_utils.py", line 22, in
{"category": safety_types.HarmCategory.HARM_CATEGORY_DEROGATORY, "threshold": safety_types.HarmBlockThreshold.BLOCK_NONE},
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\OwnProgram\Anaconda3\envs\FairLLM\Lib\enum.py", line 786, in getattr
raise AttributeError(name) from None
AttributeError: HARM_CATEGORY_DEROGATORY
python-BaseException

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant