Run this model with HF Jobs
Run akashAD/convnext 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/akashAD/convnext. 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/akashAD/convnext 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 akashAD/convnext with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use akashAD/convnext with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="akashAD/convnext") 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("akashAD/convnext") model = AutoModelForImageClassification.from_pretrained("akashAD/convnext", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload ConvNextForImageClassification
Browse filesFiles changed (2)
- config.jsonAdded+67
- pytorch_model.binAdded+3
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ "_name_or_path": "facebook/convnext-tiny-224", "architectures": [ "ConvNextForImageClassification" ], "depths": [ 3, 3, 9, 3 ], "drop_path_rate": 0.0, "hidden_act": "gelu", "hidden_sizes": [ 96, 192, 384, 768 ], "id2label": { "0": "AnnualCrop", "1": "Forest", "2": "HerbaceousVegetation", "3": "Highway", "4": "Industrial", "5": "Pasture", "6": "PermanentCrop", "7": "Residential", "8": "River", "9": "SeaLake" }, "image_size": 224, "initializer_range": 0.02, "label2id": { "AnnualCrop": 0, "Forest": 1, "HerbaceousVegetation": 2, "Highway": 3, "Industrial": 4, "Pasture": 5, "PermanentCrop": 6, "Residential": 7, "River": 8, "SeaLake": 9 }, "layer_norm_eps": 1e-12, "layer_scale_init_value": 1e-06, "model_type": "convnext", "num_channels": 3, "num_stages": 4, "out_features": [ "stage4" ], "out_indices": [ 4 ], "patch_size": 4, "stage_names": [ "stem", "stage1", "stage2", "stage3", "stage4" ], "torch_dtype": "float32", "transformers_version": "4.30.2"}123version https://git-lfs.github.com/spec/v1oid sha256:80f9b3a05d664264e4a308287a4162cd6f814f60a78348e1a19a9f4743b9b269size 111373605config.jsonAdded+67
pytorch_model.binAdded+3