-
Notifications
You must be signed in to change notification settings - Fork 7
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
ZeroDivisionError: division by zero #6
Comments
The denominator is ZERO. Maybe u can set a proper batch size and small max_seq_length. Moreover, using cross-validation maybe another option. |
what is the code if use cross-validation?could u help me ? |
the test acc is always about 60%,but the train is more than 90%,I do not konw why? |
maybe test need some operate? |
ur data will be divided into 70% train set and 30% test set. If ur data set is small, the result is basically wrong. All u can do is setting a proper proportion about set and test set. |
ZeroDivisionError: division by zero
I use my dataset,the text is short,but the shape is 10240, maybe where I should change?
The text was updated successfully, but these errors were encountered: