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