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", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
5acc0db | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:0ac2a4659423a5cd6572efce5c602abf63554557fc01f111c9f916574640fef9
size 1348
|