Run this model with HF Jobs
Run hf-tiny-model-private/tiny-random-EfficientNetForImageClassification 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/hf-tiny-model-private/tiny-random-EfficientNetForImageClassification. 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/hf-tiny-model-private/tiny-random-EfficientNetForImageClassification 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 hf-tiny-model-private/tiny-random-EfficientNetForImageClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-EfficientNetForImageClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hf-tiny-model-private/tiny-random-EfficientNetForImageClassification") 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("hf-tiny-model-private/tiny-random-EfficientNetForImageClassification") model = AutoModelForImageClassification.from_pretrained("hf-tiny-model-private/tiny-random-EfficientNetForImageClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
29dd13d
1
Parent(s): 5bfc116
Upload tiny models for EfficientNetForImageClassification
Browse filesFiles changed (3)
- config.jsonAdded+78
- preprocessor_config.jsonAdded+29
- pytorch_model.binAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778{ "architectures": [ "EfficientNetForImageClassification" ], "batch_norm_eps": 0.001, "batch_norm_momentum": 0.99, "depth_coefficient": 3.1, "depth_divisor": 8, "depthwise_padding": [], "drop_connect_rate": 0.2, "dropout_rate": 0.5, "expand_ratios": [ 1, 6, 6 ], "hidden_act": "gelu", "hidden_dim": 2560, "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2", "3": "LABEL_3", "4": "LABEL_4", "5": "LABEL_5", "6": "LABEL_6", "7": "LABEL_7", "8": "LABEL_8", "9": "LABEL_9" }, "image_size": 600, "in_channels": [ 32, 16, 24 ], "initializer_range": 0.02, "kernel_sizes": [ 3, 3, 5 ], "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2, "LABEL_3": 3, "LABEL_4": 4, "LABEL_5": 5, "LABEL_6": 6, "LABEL_7": 7, "LABEL_8": 8, "LABEL_9": 9 }, "model_type": "efficientnet", "num_block_repeats": [ 1, 1, 2 ], "num_channels": 3, "num_hidden_layers": 16, "out_channels": [ 16, 24, 40 ], "pooling_type": "mean", "squeeze_expansion_ratio": 0.25, "strides": [ 1, 1, 2 ], "torch_dtype": "float32", "transformers_version": "4.28.0.dev0", "width_coefficient": 2.0}1234567891011121314151617181920212223242526272829{ "crop_size": { "height": 600, "width": 600 }, "do_center_crop": false, "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.5, 0.5, 0.5 ], "image_processor_type": "EfficientNetImageProcessor", "image_std": [ 0.5, 0.5, 0.5 ], "include_top": true, "resample": 0, "rescale_factor": 0.00392156862745098, "rescale_offset": false, "size": { "height": 600, "width": 600 }}123version https://git-lfs.github.com/spec/v1oid sha256:edc54bbbd7520484bbb389c33ef095ddbd00d8e3fb7c98db74b4a3f217875512size 4612365config.jsonAdded+78
preprocessor_config.jsonAdded+29
pytorch_model.binAdded+3