You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
执行 python local_infer.py
Please enter your sentence: (Press Enter twice to start processing)
输入 hello word.
报错
raise PipelineException(
transformers.pipelines.base.PipelineException: No mask_token ([MASK]) found on the input
The text was updated successfully, but these errors were encountered:
Hi, thanks for your amazing app.
I have an issue. When I input "hello world" in the cmd(win11), there are some errors:
Traceback (most recent call last):
File "C:\Users\XXX\Downloads\DetectGPT-main\DetectGPT-main\local_infer.py", line 24, in
model(sentence, 100, "v1.1")
File "C:\Users\XXX\Downloads\DetectGPT-main\DetectGPT-main\model.py", line 99, in call
return self.call_1_1(sentence, args[1])
File "C:\Users\XXX\Downloads\DetectGPT-main\DetectGPT-main\model.py", line 264, in call_1_1
mean_score = sum(scores)/len(scores)
ZeroDivisionError: division by zero
执行 python local_infer.py
Please enter your sentence: (Press Enter twice to start processing)
输入 hello word.
报错
raise PipelineException(
transformers.pipelines.base.PipelineException: No mask_token ([MASK]) found on the input
The text was updated successfully, but these errors were encountered: