Instructions to use CAMeL-Lab/bert-base-arabic-camelbert-ca-poetry 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-poetry with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CAMeL-Lab/bert-base-arabic-camelbert-ca-poetry")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CAMeL-Lab/bert-base-arabic-camelbert-ca-poetry") model = AutoModelForSequenceClassification.from_pretrained("CAMeL-Lab/bert-base-arabic-camelbert-ca-poetry") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -31,7 +31,9 @@ To use the model with a transformers pipeline:
|
|
| 31 |
[{'label': 'البسيط', 'score': 0.9845284819602966},
|
| 32 |
{'label': 'الكامل', 'score': 0.752918004989624}]
|
| 33 |
```
|
| 34 |
-
*Note*: to download our models, you would need `transformers>=3.5.0`.
|
|
|
|
|
|
|
| 35 |
## Citation
|
| 36 |
```bibtex
|
| 37 |
@inproceedings{inoue-etal-2021-interplay,
|
|
|
|
| 31 |
[{'label': 'البسيط', 'score': 0.9845284819602966},
|
| 32 |
{'label': 'الكامل', 'score': 0.752918004989624}]
|
| 33 |
```
|
| 34 |
+
*Note*: to download our models, you would need `transformers>=3.5.0`.
|
| 35 |
+
Otherwise, you could download the models manually.
|
| 36 |
+
|
| 37 |
## Citation
|
| 38 |
```bibtex
|
| 39 |
@inproceedings{inoue-etal-2021-interplay,
|