Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

faisalabidi
/
hotel-image-classifier

Image Classification
Transformers
PyTorch
TensorBoard
vit
huggingpics
Eval Results (legacy)
Model card Files Files and versions
xet
Metrics Training metrics Community
2

Instructions to use faisalabidi/hotel-image-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use faisalabidi/hotel-image-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="faisalabidi/hotel-image-classifier")
    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("faisalabidi/hotel-image-classifier")
    model = AutoModelForImageClassification.from_pretrained("faisalabidi/hotel-image-classifier")
  • Notebooks
  • Google Colab
  • Kaggle
hotel-image-classifier
352 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
faisalabidi's picture
faisalabidi
commit files to HF hub
55cf7c5 over 3 years ago
  • images
    commit files to HF hub over 3 years ago
  • runs
    commit files to HF hub over 3 years ago
  • .gitattributes
    3.03 kB
    commit files to HF hub over 3 years ago
  • README.md
    862 Bytes
    commit files to HF hub over 3 years ago
  • config.json
    1.07 kB
    commit files to HF hub over 3 years ago
  • preprocessor_config.json
    325 Bytes
    commit files to HF hub over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    343 MB
    xet
    commit files to HF hub over 3 years ago