Instructions to use KindredKoala/convnext-tiny-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KindredKoala/convnext-tiny-finetuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="KindredKoala/convnext-tiny-finetuned") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("KindredKoala/convnext-tiny-finetuned") model = AutoModelForImageClassification.from_pretrained("KindredKoala/convnext-tiny-finetuned", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "ConvNextForImageClassification" | |
| ], | |
| "depths": [ | |
| 3, | |
| 3, | |
| 9, | |
| 3 | |
| ], | |
| "drop_path_rate": 0.0, | |
| "dtype": "float32", | |
| "hidden_act": "gelu", | |
| "hidden_sizes": [ | |
| 96, | |
| 192, | |
| 384, | |
| 768 | |
| ], | |
| "id2label": { | |
| "0": "2357", | |
| "1": "2412b", | |
| "2": "2420", | |
| "3": "3001", | |
| "4": "3002", | |
| "5": "3003", | |
| "6": "3004", | |
| "7": "3005", | |
| "8": "3010", | |
| "9": "3020", | |
| "10": "3021", | |
| "11": "3022", | |
| "12": "3023", | |
| "13": "3024", | |
| "14": "3039", | |
| "15": "3622", | |
| "16": "3623", | |
| "17": "3710", | |
| "18": "4073", | |
| "19": "54200" | |
| }, | |
| "image_size": 224, | |
| "initializer_range": 0.02, | |
| "label2id": { | |
| "2357": 0, | |
| "2412b": 1, | |
| "2420": 2, | |
| "3001": 3, | |
| "3002": 4, | |
| "3003": 5, | |
| "3004": 6, | |
| "3005": 7, | |
| "3010": 8, | |
| "3020": 9, | |
| "3021": 10, | |
| "3022": 11, | |
| "3023": 12, | |
| "3024": 13, | |
| "3039": 14, | |
| "3622": 15, | |
| "3623": 16, | |
| "3710": 17, | |
| "4073": 18, | |
| "54200": 19 | |
| }, | |
| "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, | |
| "problem_type": "single_label_classification", | |
| "stage_names": [ | |
| "stem", | |
| "stage1", | |
| "stage2", | |
| "stage3", | |
| "stage4" | |
| ], | |
| "transformers_version": "5.12.1" | |
| } | |