Instructions to use Nursultan03/model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nursultan03/model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Nursultan03/model") 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("Nursultan03/model") model = AutoModelForImageClassification.from_pretrained("Nursultan03/model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 670 Bytes
0957237 30c9e71 0957237 30c9e71 0957237 30c9e71 0957237 30c9e71 0957237 | 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 | {
"_name_or_path": "facebook/deit-base-distilled-patch16-224",
"architectures": [
"DeiTForImageClassification"
],
"attention_probs_dropout_prob": 0.0,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 768,
"id2label": {
"0": "No Mask",
"1": "Mask"
},
"image_size": 224,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"Mask": "1",
"No Mask": "0"
},
"layer_norm_eps": 1e-12,
"model_type": "deit",
"num_attention_heads": 12,
"num_channels": 3,
"num_hidden_layers": 12,
"patch_size": 16,
"qkv_bias": true,
"torch_dtype": "float32",
"transformers_version": "4.17.0.dev0"
}
|