Run this model with HF Jobs
Run l45k/lenet 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/l45k/lenet. 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/l45k/lenet 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 l45k/lenet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use l45k/lenet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="l45k/lenet", trust_remote_code=True) pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForImageClassification model = AutoModelForImageClassification.from_pretrained("l45k/lenet", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload processor
Browse files12345678{"auto_map": {"AutoImageProcessor": "preprocessor_lenet.LeNetProcessor"},"image_processor_type": "LeNetProcessor","mean": 0.1307,"std": 0.3081}123456789101112131415{"crop_pct": 0.875,"do_normalize": true,"do_rescale": false,"do_resize": false,"image_mean": 0.1307,"image_processor_type": "ConvNextImageProcessor","image_std": 0.3081,"resample": null,"rescale_factor": 0.00392156862745098,"size": {"height": 28,"width": 28}}
preprocessor_config.json+13-6