Fill-Mask
Transformers
PyTorch
Safetensors
French
flaubert
bert
language-model
flue
french
bert-large
flaubert-large
cased
Instructions to use flaubert/flaubert_large_cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flaubert/flaubert_large_cased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="flaubert/flaubert_large_cased")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("flaubert/flaubert_large_cased") model = AutoModelForMaskedLM.from_pretrained("flaubert/flaubert_large_cased") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +3 -0
config.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
| 2 |
"amp": 1,
|
| 3 |
"attention_dropout": 0.1,
|
| 4 |
"bos_index": 0,
|
|
|
|
| 1 |
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"FlaubertWithLMHeadModel"
|
| 4 |
+
],
|
| 5 |
"amp": 1,
|
| 6 |
"attention_dropout": 0.1,
|
| 7 |
"bos_index": 0,
|