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

laicsiifes
/
swin-distilbertimbau

Image-to-Text
Transformers
Safetensors
Portuguese
vision-encoder-decoder
image-text-to-text
Eval Results (legacy)
Model card Files Files and versions
xet
Community
1

Instructions to use laicsiifes/swin-distilbertimbau with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use laicsiifes/swin-distilbertimbau with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("image-to-text", model="laicsiifes/swin-distilbertimbau")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMultimodalLM
    
    tokenizer = AutoTokenizer.from_pretrained("laicsiifes/swin-distilbertimbau")
    model = AutoModelForMultimodalLM.from_pretrained("laicsiifes/swin-distilbertimbau", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
swin-distilbertimbau
674 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 19 commits
gabrielmotablima's picture
gabrielmotablima
Update README.md
855b3ec verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    3.04 kB
    Update README.md about 2 years ago
  • config.json
    78.2 kB
    Upload model about 2 years ago
  • generation_config.json
    117 Bytes
    Upload model about 2 years ago
  • model.safetensors
    673 MB
    xet
    Upload model about 2 years ago
  • preprocessor_config.json
    337 Bytes
    Upload processor about 2 years ago
  • special_tokens_map.json
    125 Bytes
    Upload tokenizer about 2 years ago
  • tokenizer.json
    678 kB
    Upload tokenizer about 2 years ago
  • tokenizer_config.json
    1.27 kB
    Upload tokenizer about 2 years ago
  • vocab.txt
    210 kB
    Upload tokenizer about 2 years ago