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

BERTConfigs in example usages in modeling.py are not OK (?) #61

Closed
davidefiocco opened this issue Nov 28, 2018 · 1 comment
Closed

BERTConfigs in example usages in modeling.py are not OK (?) #61

davidefiocco opened this issue Nov 28, 2018 · 1 comment

Comments

@davidefiocco
Copy link
Contributor

davidefiocco commented Nov 28, 2018

Hi!

In the config definition https://github.com/huggingface/pytorch-pretrained-BERT/blob/21f0196412115876da1c38652d22d1f7a14b36ff/pytorch_pretrained_bert/modeling.py#L848
in the Example usage of BertForSequenceClassification in modeling.py, there's things I don't understand:

Am I missing something?

@thomwolf
Copy link
Member

Hi @davidefiocco, you are right, I updated the docstrings in the new release 0.3.0.

jameshennessytempus pushed a commit to jameshennessytempus/transformers that referenced this issue Jun 1, 2023
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

2 participants