Fill-Mask
Transformers
Safetensors
Malay
Arabic
bert
arabic
pretraining
bahasa-melayu
arabic-nlp
pondok-melawati
Instructions to use melawati/pondok-melawati-nahu-asas with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use melawati/pondok-melawati-nahu-asas with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="melawati/pondok-melawati-nahu-asas")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("melawati/pondok-melawati-nahu-asas") model = AutoModelForMaskedLM.from_pretrained("melawati/pondok-melawati-nahu-asas", device_map="auto") - Notebooks
- Google Colab
- Kaggle
tambah torch_dtype float32 dalam config
Browse files- config.json +2 -1
config.json
CHANGED
|
@@ -17,5 +17,6 @@
|
|
| 17 |
"output_past": true,
|
| 18 |
"pad_token_id": 0,
|
| 19 |
"type_vocab_size": 2,
|
| 20 |
-
"vocab_size": 32000
|
|
|
|
| 21 |
}
|
|
|
|
| 17 |
"output_past": true,
|
| 18 |
"pad_token_id": 0,
|
| 19 |
"type_vocab_size": 2,
|
| 20 |
+
"vocab_size": 32000,
|
| 21 |
+
"torch_dtype": "float32"
|
| 22 |
}
|