Instructions to use dvs/poetry-author-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dvs/poetry-author-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dvs/poetry-author-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dvs/poetry-author-classifier") model = AutoModelForSequenceClassification.from_pretrained("dvs/poetry-author-classifier") - Notebooks
- Google Colab
- Kaggle
Model Trained Using AutoTrain
- Problem type: Text Classification
Validation Metrics
loss: 6.576526641845703
f1_macro: 0.006051911225519596
f1_micro: 0.04395161290322581
f1_weighted: 0.021178625226199167
precision_macro: 0.004909111507595384
precision_micro: 0.04395161290322581
precision_weighted: 0.01643333097832909
recall_macro: 0.012797544111277469
recall_micro: 0.04395161290322581
recall_weighted: 0.04395161290322581
accuracy: 0.04395161290322581
- Downloads last month
- 7