Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

Maria-pro
/
my_vqa_model

Visual Question Answering
Transformers
TensorBoard
Safetensors
vilt
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use Maria-pro/my_vqa_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Maria-pro/my_vqa_model with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "visual-question-answering" 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("visual-question-answering", model="Maria-pro/my_vqa_model")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoProcessor, AutoModelForVisualQuestionAnswering
    
    processor = AutoProcessor.from_pretrained("Maria-pro/my_vqa_model")
    model = AutoModelForVisualQuestionAnswering.from_pretrained("Maria-pro/my_vqa_model", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
my_vqa_model
453 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Maria-pro's picture
Maria-pro
End of training
e9735aa verified about 1 year ago
  • runs
    End of training about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    1.15 kB
    End of training about 1 year ago
  • config.json
    7.2 kB
    End of training about 1 year ago
  • model.safetensors
    452 MB
    xet
    End of training about 1 year ago
  • preprocessor_config.json
    393 Bytes
    End of training about 1 year ago
  • special_tokens_map.json
    695 Bytes
    End of training about 1 year ago
  • tokenizer.json
    712 kB
    End of training about 1 year ago
  • tokenizer_config.json
    1.26 kB
    End of training about 1 year ago
  • trainer_state.json
    748 Bytes
    End of training about 1 year ago
  • training_args.bin
    5.78 kB
    xet
    End of training about 1 year ago
  • vocab.txt
    232 kB
    End of training about 1 year ago