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
| { | |
| "epoch": 3.0, | |
| "total_flos": 7.302829698913882e+16, | |
| "train_loss": 0.0, | |
| "train_runtime": 0.0011, | |
| "train_samples_per_second": 3968183378.26, | |
| "train_steps_per_second": 15502748.175 | |
| } |