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

How to change hidden_dropout_prob value? #18

Open
ai-vision-777 opened this issue May 27, 2021 · 0 comments
Open

How to change hidden_dropout_prob value? #18

ai-vision-777 opened this issue May 27, 2021 · 0 comments

Comments

@ai-vision-777
Copy link

How to change "hidden_dropout_prob" or "attention_probs_dropout_prob" value?
I used below code. Thank you!

from bert_sklearn import BertClassifier
from bert_sklearn import BertRegressor
from bert_sklearn import load_model

# define model
model = BertClassifier()         # text/text pair classification

# try different options..
model.max_seq_length = 512
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