Run this model with HF Jobs
Run chris32/living-spaces-classification_scraper 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/chris32/living-spaces-classification_scraper. 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/chris32/living-spaces-classification_scraper 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 chris32/living-spaces-classification_scraper with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chris32/living-spaces-classification_scraper with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="chris32/living-spaces-classification_scraper") 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("chris32/living-spaces-classification_scraper") model = AutoModelForImageClassification.from_pretrained("chris32/living-spaces-classification_scraper", device_map="auto") - Notebooks
- Google Colab
- Kaggle
commit files to HF hub
Browse filesFiles changed (14)
- .gitattributes+9
- README.mdAdded+64
- config.jsonAdded+46
- images/Exterior.JPEGAdded
- images/Interior.JPEGAdded
- images/bathroom.JPEGAdded
- images/bedroom.JPEGAdded
- images/closets.JPEGAdded
- images/dinning_room.jpegAdded
- images/kitchen.JPEGAdded
- images/living_room.JPEGAdded
- images/others.JPEGAdded
- model.safetensorsAdded+3
- preprocessor_config.jsonAdded+22
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines33343536373839404142434432 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textimages/Exterior.JPEG filter=lfs diff=lfs merge=lfs -textimages/Interior.JPEG filter=lfs diff=lfs merge=lfs -textimages/bathroom.JPEG filter=lfs diff=lfs merge=lfs -textimages/bedroom.JPEG filter=lfs diff=lfs merge=lfs -textimages/closets.JPEG filter=lfs diff=lfs merge=lfs -textimages/dinning_room.jpeg filter=lfs diff=lfs merge=lfs -textimages/kitchen.JPEG filter=lfs diff=lfs merge=lfs -textimages/living_room.JPEG filter=lfs diff=lfs merge=lfs -textimages/others.JPEG filter=lfs diff=lfs merge=lfs -text
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364---tags:- image-classification- pytorch- huggingpicsmetrics:- accuracy
model-index:- name: living-spaces-classification_scraper results: - task: name: Image Classification type: image-classification metrics: - name: Accuracy type: accuracy value: 0.9646892547607422---
# living-spaces-classification_scraper
House & Apartaments Classification model🤗🖼️
## Example Images
#### Exterior

#### Interior

#### bathroom

#### bedroom

#### closets

#### dinning_room

#### kitchen

#### living_room

#### others
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ "_name_or_path": "google/vit-base-patch16-224-in21k", "architectures": [ "ViTForImageClassification" ], "attention_probs_dropout_prob": 0.0, "encoder_stride": 16, "hidden_act": "gelu", "hidden_dropout_prob": 0.0, "hidden_size": 768, "id2label": { "0": "Exterior", "1": "Interior", "2": "bathroom", "3": "bedroom", "4": "closets", "5": "dinning_room", "6": "kitchen", "7": "living_room", "8": "others" }, "image_size": 224, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "Exterior": "0", "Interior": "1", "bathroom": "2", "bedroom": "3", "closets": "4", "dinning_room": "5", "kitchen": "6", "living_room": "7", "others": "8" }, "layer_norm_eps": 1e-12, "model_type": "vit", "num_attention_heads": 12, "num_channels": 3, "num_hidden_layers": 12, "patch_size": 16, "problem_type": "single_label_classification", "qkv_bias": true, "torch_dtype": "float32", "transformers_version": "4.35.2"}123version https://git-lfs.github.com/spec/v1oid sha256:ed324097bd289572118c56682b19af51cfd349443b5dfcf28893ab70842a3d39size 34324550812345678910111213141516171819202122{ "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.5, 0.5, 0.5 ], "image_processor_type": "ViTFeatureExtractor", "image_std": [ 0.5, 0.5, 0.5 ], "resample": 2, "rescale_factor": 0.00392156862745098, "size": { "height": 224, "width": 224 }}.gitattributes+9
README.mdAdded+64
config.jsonAdded+46
images/Exterior.JPEGAdded
Large File Pointer Details
- SHA256: ed37a90efef726b27bb15f1df38614cad36fd75779471138f151b064d5a797d6
- Pointer size: 131 Bytes
- Size of remote file: 271 kB
images/Interior.JPEGAdded
Large File Pointer Details
- SHA256: 5fad39511f6c0eba734628b6cbce05f8e076d336f7973cb01f943258667aca8e
- Pointer size: 131 Bytes
- Size of remote file: 118 kB
images/bathroom.JPEGAdded
Large File Pointer Details
- SHA256: dd066b7f6d3d7b6dd58359678eb9c67663ccfe7dd34b061436824b53dcfc1156
- Pointer size: 130 Bytes
- Size of remote file: 36.1 kB
images/bedroom.JPEGAdded
Large File Pointer Details
- SHA256: 9dd2b56c2bca25506899f06a30ae8a218035d66618e23909e757430a3e034dcf
- Pointer size: 130 Bytes
- Size of remote file: 85.2 kB
images/closets.JPEGAdded
Large File Pointer Details
- SHA256: 0247b360492e7dc4a038f54cf13f6d30acf8483651ce0fd9a308b2fa9a64957d
- Pointer size: 130 Bytes
- Size of remote file: 67.5 kB
images/dinning_room.jpegAdded

Large File Pointer Details
- SHA256: 4138671ba6bf12bc5c93e45e2c881e6033c9bae4e8a6e5091140ee92bfa7fd87
- Pointer size: 131 Bytes
- Size of remote file: 238 kB
images/kitchen.JPEGAdded
Large File Pointer Details
- SHA256: ae3f259168e1c3b0930e320a9f5f1db42043f2e6d4c96cacddd29013632d46b1
- Pointer size: 130 Bytes
- Size of remote file: 76.8 kB
images/living_room.JPEGAdded
Large File Pointer Details
- SHA256: 7263d59acdde2fadfe9f958ec82ed03681dbc8327ca871106f0cf0a564b52c92
- Pointer size: 131 Bytes
- Size of remote file: 190 kB
images/others.JPEGAdded
Large File Pointer Details
- SHA256: 0617b83febdc860d2567e04f81c24b96ca33e7da11f4ba997c489503eb8c9fce
- Pointer size: 131 Bytes
- Size of remote file: 173 kB
model.safetensorsAdded+3
preprocessor_config.jsonAdded+22