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
hello,
i tried to use your code for a binary classification :
|__________________
`%%time
system_optimized = 'in light of these binary classified examples .... whether not paraphrased or paraphrased return 0 or 1 without explanation.'
params = {"temperature": 0.0}
model = "gpt-3.5-turbo"
ai_2 = AIChat(api_key=api_key, system=system_optimized, model=model, params=params)
predicted_label = []
for i in range(len(train_text)):
prompt = 'text = ' + train_text[I]
predicted_label.append(ai_2(prompt))`
it works and returns 0 or 1 but loops only for a few times (5) and then raises an error (the prompt length exceeds the accepted length ) while the max-length of text in my dataset is 200 words.
The text was updated successfully, but these errors were encountered:
hello,
i tried to use your code for a binary classification :
|__________________
it works and returns 0 or 1 but loops only for a few times (5) and then raises an error (the prompt length exceeds the accepted length ) while the max-length of text in my dataset is 200 words.
The text was updated successfully, but these errors were encountered: