-
Notifications
You must be signed in to change notification settings - Fork 172
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
examples basic.ipyn #65
Comments
Hi, could you please provide more detailed error messages for us? Thanks! |
这个复现不了了,一开始也不知道为什么,最后是通过多次重启解决的! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
from tqdm import tqdm
for prompt in prompts:
preds = []
labels = []
for data in tqdm(dataset):
# process input
input_text = pb.InputProcess.basic_format(prompt, data)
label = data['label']
print(type(input_text))
raw_pred = model(input_text)
but have some quenstion about
TypeError Traceback (most recent call last)
Cell In[22], line 10
8 label = data['label']
9 print(type(input_text))
---> 10 raw_pred = model(input_text)
12 # process output
13 pred = pb.OutputProcess.cls(raw_pred, proj_func)
end in
The text was updated successfully, but these errors were encountered: