Instructions to use google-bert/bert-large-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google-bert/bert-large-uncased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="google-bert/bert-large-uncased")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("google-bert/bert-large-uncased") model = AutoModelForMaskedLM.from_pretrained("google-bert/bert-large-uncased") - Inference
- Notebooks
- Google Colab
- Kaggle
Update dimensions
Browse files
README.md
CHANGED
|
@@ -36,6 +36,14 @@ This way, the model learns an inner representation of the English language that
|
|
| 36 |
useful for downstream tasks: if you have a dataset of labeled sentences for instance, you can train a standard
|
| 37 |
classifier using the features produced by the BERT model as inputs.
|
| 38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
## Intended uses & limitations
|
| 40 |
|
| 41 |
You can use the raw model for either masked language modeling or next sentence prediction, but it's mostly intended to
|
|
|
|
| 36 |
useful for downstream tasks: if you have a dataset of labeled sentences for instance, you can train a standard
|
| 37 |
classifier using the features produced by the BERT model as inputs.
|
| 38 |
|
| 39 |
+
This model has the following configuration:
|
| 40 |
+
|
| 41 |
+
- 24-layer
|
| 42 |
+
- 1024 hidden dimension
|
| 43 |
+
- 16 attention heads
|
| 44 |
+
- 336M parameters.
|
| 45 |
+
|
| 46 |
+
|
| 47 |
## Intended uses & limitations
|
| 48 |
|
| 49 |
You can use the raw model for either masked language modeling or next sentence prediction, but it's mostly intended to
|