Image Classification
Transformers
TensorBoard
Safetensors
swin
Generated from Trainer
Eval Results (legacy)
Run this model with HF Jobs
Run djbp/NMM_Classification_base_V10 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/djbp/NMM_Classification_base_V10. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/djbp/NMM_Classification_base_V10 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use djbp/NMM_Classification_base_V10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use djbp/NMM_Classification_base_V10 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="djbp/NMM_Classification_base_V10") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("djbp/NMM_Classification_base_V10") model = AutoModelForImageClassification.from_pretrained("djbp/NMM_Classification_base_V10", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse filesFiles changed (2)
- README.md+7-7
- model.safetensors+1-1
22 unmodified lines23242526262728293 unmodified lines33343536373839404136373839404142434422 unmodified lines metrics: - name: Accuracy type: accuracy value: 0.8677685950413223 value: 0.8600206611570248---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You3 unmodified lines
This model is a fine-tuned version of [microsoft/swin-base-patch4-window7-224-in22k](https://huggingface.co/microsoft/swin-base-patch4-window7-224-in22k) on the imagefolder dataset.It achieves the following results on the evaluation set:- Loss: 0.3441- Accuracy: 0.8678- Auc Overall: 0.9381- Auc Class 0: 0.9631- Auc Class 1: 0.9189- Auc Class 2: 0.9323- Loss: 0.3619- Accuracy: 0.8600- Auc Overall: 0.9320- Auc Class 0: 0.9628- Auc Class 1: 0.9083- Auc Class 2: 0.9249
## Model description
1223version https://git-lfs.github.com/spec/v1oid sha256:45ff090c25988fc0ae482663370514faaf610a95891986e021e4ae2641f3ce98oid sha256:e8da80feaa07dfd9491593acef6daab199caa5bdfffbf0b746a915832a5da89asize 347502916README.md+7-7
model.safetensors+1-1