Instructions to use dongbobo/my-demo-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dongbobo/my-demo-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="dongbobo/my-demo-model") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("dongbobo/my-demo-model", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| split,accuracy,precision,recall,f1,loss | |
| validation,0.9142,0.9138,0.9142,0.9134,0.2341 | |
| test,0.8874,0.8869,0.8874,0.8861,0.3102 | |
| ood_test,0.7612,0.7598,0.7612,0.7589,0.5874 | |
| hard_test,0.7023,0.7011,0.7023,0.6994,0.7213 | |