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

  • Log In
  • Sign Up

fptinters
/
DocClass-classify-model-V2

Image Classification
Transformers
PyTorch
beit
Model card Files Files and versions
xet
Community
1

Instructions to use fptinters/DocClass-classify-model-V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use fptinters/DocClass-classify-model-V2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="fptinters/DocClass-classify-model-V2")
    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("fptinters/DocClass-classify-model-V2")
    model = AutoModelForImageClassification.from_pretrained("fptinters/DocClass-classify-model-V2")
  • Notebooks
  • Google Colab
  • Kaggle
DocClass-classify-model-V2
343 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
dangthinhhung's picture
dangthinhhung
Upload pytorch_model.bin
a341798 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • config.json
    1.85 kB
    Upload 2 files over 2 years ago
  • preprocessor_config.json
    302 Bytes
    Upload 2 files over 2 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
    Upload pytorch_model.bin over 2 years ago