Instructions to use CAMeL-Lab/bert-base-arabic-camelbert-mix-sentiment 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-mix-sentiment 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-mix-sentiment")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CAMeL-Lab/bert-base-arabic-camelbert-mix-sentiment") model = AutoModelForSequenceClassification.from_pretrained("CAMeL-Lab/bert-base-arabic-camelbert-mix-sentiment") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -30,7 +30,9 @@ You can also use the SA model directly with a transformers pipeline:
|
|
| 30 |
[{'label': 'positive', 'score': 0.9616648554801941},
|
| 31 |
{'label': 'negative', 'score': 0.9779177904129028}]
|
| 32 |
```
|
| 33 |
-
*Note*: to download our models, you would need `transformers>=3.5.0`.
|
|
|
|
|
|
|
| 34 |
## Citation
|
| 35 |
```bibtex
|
| 36 |
@inproceedings{inoue-etal-2021-interplay,
|
|
|
|
| 30 |
[{'label': 'positive', 'score': 0.9616648554801941},
|
| 31 |
{'label': 'negative', 'score': 0.9779177904129028}]
|
| 32 |
```
|
| 33 |
+
*Note*: to download our models, you would need `transformers>=3.5.0`.
|
| 34 |
+
Otherwise, you could download the models manually.
|
| 35 |
+
|
| 36 |
## Citation
|
| 37 |
```bibtex
|
| 38 |
@inproceedings{inoue-etal-2021-interplay,
|