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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

eljandoubi
/
donut-base-encoder

Image Feature Extraction
Transformers
Safetensors
donut-swin
image-classification
Model card Files Files and versions
xet
Community

Instructions to use eljandoubi/donut-base-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use eljandoubi/donut-base-encoder with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-feature-extraction", model="eljandoubi/donut-base-encoder")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageClassification
    
    processor = AutoImageProcessor.from_pretrained("eljandoubi/donut-base-encoder")
    model = AutoModelForImageClassification.from_pretrained("eljandoubi/donut-base-encoder", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
donut-base-encoder
298 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
eljandoubi's picture
eljandoubi
Upload DonutSwinForImageClassification
f4a7247 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    2.1 kB
    Update README.md over 1 year ago
  • config.json
    700 Bytes
    Upload DonutSwinForImageClassification over 1 year ago
  • model.safetensors
    298 MB
    xet
    Upload DonutSwinForImageClassification over 1 year ago
  • preprocessor_config.json
    440 Bytes
    Upload processor over 1 year ago