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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
6722d37 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:88978e4d5de3bd6a4943624c01beebb7945874f99bc892eabd7a4ac09e706bb7
size 1356
|