Instructions to use Shaer-AI/ARBERT-base-submeter-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Shaer-AI/ARBERT-base-submeter-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Shaer-AI/ARBERT-base-submeter-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Shaer-AI/ARBERT-base-submeter-classifier") model = AutoModelForSequenceClassification.from_pretrained("Shaer-AI/ARBERT-base-submeter-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "accuracy": 0.9707783783783783, | |
| "macro_f1": 0.5994379802651545, | |
| "weighted_f1": 0.9652989680004611, | |
| "validation_rows": 370000, | |
| "epochs": 3, | |
| "effective_batch_size": 256, | |
| "evaluated_at_utc": "2026-07-30T08:30:01.640117+00:00" | |
| } |