Instructions to use nboudad/Maghriberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nboudad/Maghriberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="nboudad/Maghriberta")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("nboudad/Maghriberta") model = AutoModelForMaskedLM.from_pretrained("nboudad/Maghriberta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
widget:
|
| 3 |
-
- text: "مشيت نجيب <
|
| 4 |
example_title: "Example1"
|
| 5 |
- text: "مشيت نجيب <MASK> فالفرماسيان ."
|
| 6 |
example_title: "Example2"
|
|
|
|
| 1 |
---
|
| 2 |
widget:
|
| 3 |
+
- text: "مشيت نجيب <mask> فالفرماسيان ."
|
| 4 |
example_title: "Example1"
|
| 5 |
- text: "مشيت نجيب <MASK> فالفرماسيان ."
|
| 6 |
example_title: "Example2"
|