Instructions to use messalti/MagharibiBERT-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use messalti/MagharibiBERT-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="messalti/MagharibiBERT-v1")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("messalti/MagharibiBERT-v1") model = AutoModelForMaskedLM.from_pretrained("messalti/MagharibiBERT-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 95 Bytes
69cf7fb | 1 2 3 4 5 6 | {
"_from_model_config": true,
"pad_token_id": 0,
"transformers_version": "4.30.2"
}
|