Run this model with HF Jobs
Run davanstrien/convnext-small-224-leicester_binary 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/davanstrien/convnext-small-224-leicester_binary. 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/davanstrien/convnext-small-224-leicester_binary 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 davanstrien/convnext-small-224-leicester_binary with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use davanstrien/convnext-small-224-leicester_binary with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="davanstrien/convnext-small-224-leicester_binary") 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("davanstrien/convnext-small-224-leicester_binary") model = AutoModelForImageClassification.from_pretrained("davanstrien/convnext-small-224-leicester_binary", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
769233c
1
Parent(s): ad0225a
Training in progress, epoch 1
Browse filesFiles changed (7)
- .gitignoreAdded+1
- config.jsonAdded+40
- preprocessor_config.jsonAdded+23
- pytorch_model.binAdded+3
- runs/Dec06_17-05-03_ce9085252610/1670346341.4419823/events.out.tfevents.1670346341.ce9085252610.396.1Added+3
- runs/Dec06_17-05-03_ce9085252610/events.out.tfevents.1670346341.ce9085252610.396.0Added+3
- training_args.binAdded+3
1checkpoint-*/12345678910111213141516171819202122232425262728293031323334353637383940{ "_name_or_path": "facebook/convnext-small-224", "architectures": [ "ConvNextForImageClassification" ], "depths": [ 3, 3, 27, 3 ], "drop_path_rate": 0.0, "finetuning_task": "image-classification", "hidden_act": "gelu", "hidden_sizes": [ 96, 192, 384, 768 ], "id2label": { "0": "other", "1": "county_trades" }, "image_size": 224, "initializer_range": 0.02, "label2id": { "county_trades": "1", "other": "0" }, "layer_norm_eps": 1e-12, "layer_scale_init_value": 1e-06, "model_type": "convnext", "num_channels": 3, "num_stages": 4, "patch_size": 4, "problem_type": "single_label_classification", "torch_dtype": "float32", "transformers_version": "4.26.0.dev0"}1234567891011121314151617181920212223{ "crop_pct": 0.875, "do_normalize": true, "do_rescale": true, "do_resize": true, "feature_extractor_type": "ConvNextFeatureExtractor", "image_mean": [ 0.485, 0.456, 0.406 ], "image_processor_type": "ConvNextImageProcessor", "image_std": [ 0.229, 0.224, 0.225 ], "resample": 3, "rescale_factor": 0.00392156862745098, "size": { "shortest_edge": 224 }}123version https://git-lfs.github.com/spec/v1oid sha256:58ed588a8983d15c243594714fe3a5680eb1dee4368f3c0bbc6b421f830103c4size 197940881123version https://git-lfs.github.com/spec/v1oid sha256:fdbcc2231b1c1c23c945760705b421cd5c79e602f9022fe941854ca9b6f33f89size 5634123version https://git-lfs.github.com/spec/v1oid sha256:e25bd0de2a0b0b158c75531f9272c04c50deb5147395766d13998dd85256461csize 4386123version https://git-lfs.github.com/spec/v1oid sha256:aa09923b780297762ee2bccedcf4e04ebce48f39706caeb24e7f6d51507be418size 3567.gitignoreAdded+1
config.jsonAdded+40
preprocessor_config.jsonAdded+23
pytorch_model.binAdded+3
runs/Dec06_17-05-03_ce9085252610/1670346341.4419823/events.out.tfevents.1670346341.ce9085252610.396.1Added+3
runs/Dec06_17-05-03_ce9085252610/events.out.tfevents.1670346341.ce9085252610.396.0Added+3
training_args.binAdded+3