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
File size: 1,389 Bytes
26041ab | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | {
"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"
}
|