Instructions to use Gohar/DistilArabic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Gohar/DistilArabic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Gohar/DistilArabic")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Gohar/DistilArabic") model = AutoModelForSequenceClassification.from_pretrained("Gohar/DistilArabic", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
f670d62 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:161c81a6035f689edeaf40504c5844224f47f9a68841f50bd161a299029c8e66
size 263264024
|