Instructions to use Nottybro/acra-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nottybro/acra-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Nottybro/acra-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Nottybro/acra-classifier") model = AutoModelForSequenceClassification.from_pretrained("Nottybro/acra-classifier") - Notebooks
- Google Colab
- Kaggle
File size: 364 Bytes
3df79e2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | [
{
"epoch": 1,
"train_loss": 1.0554,
"train_acc": 0.66,
"val_loss": 0.4478,
"val_acc": 0.9683
},
{
"epoch": 2,
"train_loss": 0.2188,
"train_acc": 0.989,
"val_loss": 0.088,
"val_acc": 0.9933
},
{
"epoch": 3,
"train_loss": 0.0711,
"train_acc": 0.9985,
"val_loss": 0.0632,
"val_acc": 0.9933
}
] |