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

dumperize
/
movie-picture-captioning

Image-to-Text
Transformers
PyTorch
Russian
vision-encoder-decoder
image-text-to-text
Model card Files Files and versions
xet
Community
1

Instructions to use dumperize/movie-picture-captioning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use dumperize/movie-picture-captioning 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="dumperize/movie-picture-captioning")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForImageTextToText
    
    tokenizer = AutoTokenizer.from_pretrained("dumperize/movie-picture-captioning")
    model = AutoModelForImageTextToText.from_pretrained("dumperize/movie-picture-captioning")
  • Notebooks
  • Google Colab
  • Kaggle
movie-picture-captioning
1.17 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 15 commits
dumperize's picture
dumperize
Update README.md
5968650 over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    2.92 kB
    Update README.md over 3 years ago
  • config.json
    5.47 kB
    Upload config.json over 3 years ago
  • preprocessor_config.json
    228 Bytes
    Upload preprocessor_config.json over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch.LongStorage",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict"

    What is a pickle import?

    1.17 GB
    xet
    Upload model over 3 years ago
  • special_tokens_map.json
    125 Bytes
    Upload 3 files over 3 years ago
  • tokenizer_config.json
    579 Bytes
    Upload 3 files over 3 years ago
  • vertical_15x.jpeg
    11 kB
    Upload vertical_15x.jpeg over 3 years ago
  • vocab.txt
    1.65 MB
    Upload 3 files over 3 years ago