Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

hf-internal-testing
/
tiny-random-PvtV2ForImageClassification

Image Classification
Transformers
Safetensors
pvt_v2
Model card Files Files and versions
xet
Community
32

Instructions to use hf-internal-testing/tiny-random-PvtV2ForImageClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use hf-internal-testing/tiny-random-PvtV2ForImageClassification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="hf-internal-testing/tiny-random-PvtV2ForImageClassification")
    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("hf-internal-testing/tiny-random-PvtV2ForImageClassification")
    model = AutoModelForImageClassification.from_pretrained("hf-internal-testing/tiny-random-PvtV2ForImageClassification")
  • Notebooks
  • Google Colab
  • Kaggle
tiny-random-PvtV2ForImageClassification
3.11 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
hf-transformers-bot's picture
hf-transformers-bot
Update tiny models for PvtV2ForImageClassification
5ce17a9 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • config.json
    1.04 kB
    Update tiny models for PvtV2ForImageClassification about 2 years ago
  • model.safetensors
    3.11 MB
    xet
    Update tiny models for PvtV2ForImageClassification about 2 years ago
  • preprocessor_config.json
    625 Bytes
    Upload tiny models for PvtV2ForImageClassification about 2 years ago