Run this model with HF Jobs
Run SpotLab/MobileNetClassification 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/SpotLab/MobileNetClassification. 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/SpotLab/MobileNetClassification 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 SpotLab/MobileNetClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SpotLab/MobileNetClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="SpotLab/MobileNetClassification") 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("SpotLab/MobileNetClassification") model = AutoModelForImageClassification.from_pretrained("SpotLab/MobileNetClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
b94e397
1
Parent(s): 23dafc9
Update config.json
Browse files2022 unmodified lines2023202420252026202720282022 unmodified lines"output_stride": 32,"semantic_loss_ignore_index": 255,"tf_padding": true,"torch_dtype": "float32","transformers_version": "4.25.0.dev0"}2022 unmodified lines202320242025202620272022 unmodified lines"output_stride": 32,"semantic_loss_ignore_index": 255,"tf_padding": true,"transformers_version": "4.33.3"}
config.json+1-2