Instructions to use CAMeL-Lab/bert-base-arabic-camelbert-ca with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CAMeL-Lab/bert-base-arabic-camelbert-ca with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="CAMeL-Lab/bert-base-arabic-camelbert-ca")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("CAMeL-Lab/bert-base-arabic-camelbert-ca") model = AutoModelForMaskedLM.from_pretrained("CAMeL-Lab/bert-base-arabic-camelbert-ca") - Inference
- Notebooks
- Google Colab
- Kaggle
Go Inoue commited on
Commit ·
4adc33c
1
Parent(s): 02e96dd
Update config.json
Browse files- config.json +3 -0
config.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
| 2 |
"attention_probs_dropout_prob": 0.1,
|
| 3 |
"gradient_checkpointing": false,
|
| 4 |
"hidden_act": "gelu",
|
|
|
|
| 1 |
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"BertModel"
|
| 4 |
+
],
|
| 5 |
"attention_probs_dropout_prob": 0.1,
|
| 6 |
"gradient_checkpointing": false,
|
| 7 |
"hidden_act": "gelu",
|