Instructions to use tareknaous/readabert-ar with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tareknaous/readabert-ar with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tareknaous/readabert-ar")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tareknaous/readabert-ar") model = AutoModelForSequenceClassification.from_pretrained("tareknaous/readabert-ar", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ language:
|
|
| 5 |
- ar
|
| 6 |
---
|
| 7 |
|
| 8 |
-
|
| 9 |
|
| 10 |
Github (Dataset and Python Package): https://github.com/tareknaous/readme
|
| 11 |
|
|
|
|
| 5 |
- ar
|
| 6 |
---
|
| 7 |
|
| 8 |
+
AraBERT-base (aubmindlab/bert-base-arabertv02) model fine-tuned on the Arabic portion of the ReadMe++ corpus for sentence-level readability prediction on a scale of 6-level CEFR scale
|
| 9 |
|
| 10 |
Github (Dataset and Python Package): https://github.com/tareknaous/readme
|
| 11 |
|