Run this model with HF Jobs
Run ThermalVariations/tv-pv-module-classifier 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/ThermalVariations/tv-pv-module-classifier. 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/ThermalVariations/tv-pv-module-classifier 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 ThermalVariations/tv-pv-module-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ThermalVariations/tv-pv-module-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ThermalVariations/tv-pv-module-classifier") 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("ThermalVariations/tv-pv-module-classifier") model = AutoModelForImageClassification.from_pretrained("ThermalVariations/tv-pv-module-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,161 Bytes
694e223 | 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 | {
"architectures": [
"ViTForImageClassification"
],
"attention_probs_dropout_prob": 0.0,
"dtype": "float32",
"encoder_stride": 16,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 768,
"id2label": {
"0": "Cell",
"1": "Cell-Multi",
"2": "Cracking",
"3": "Diode",
"4": "Diode-Multi",
"5": "Hot-Spot",
"6": "Hot-Spot-Multi",
"7": "No-Anomaly",
"8": "Offline-Module",
"9": "Shadowing",
"10": "Soiling",
"11": "Vegetation"
},
"image_size": 224,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"Cell": 0,
"Cell-Multi": 1,
"Cracking": 2,
"Diode": 3,
"Diode-Multi": 4,
"Hot-Spot": 5,
"Hot-Spot-Multi": 6,
"No-Anomaly": 7,
"Offline-Module": 8,
"Shadowing": 9,
"Soiling": 10,
"Vegetation": 11
},
"layer_norm_eps": 1e-12,
"model_type": "vit",
"num_attention_heads": 12,
"num_channels": 3,
"num_hidden_layers": 12,
"patch_size": 16,
"pooler_act": "tanh",
"pooler_output_size": 768,
"qkv_bias": true,
"transformers_version": "5.12.1"
}
|