Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

mrSoul7766
/
git-base-instagram-cap

Image-to-Text
Transformers
TensorBoard
Safetensors
English
git
image-text-to-text
Generated from Trainer
image-captioning
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use mrSoul7766/git-base-instagram-cap with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mrSoul7766/git-base-instagram-cap 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="mrSoul7766/git-base-instagram-cap")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForImageTextToText
    
    processor = AutoProcessor.from_pretrained("mrSoul7766/git-base-instagram-cap")
    model = AutoModelForImageTextToText.from_pretrained("mrSoul7766/git-base-instagram-cap")
  • Notebooks
  • Google Colab
  • Kaggle
git-base-instagram-cap
707 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 51 commits
mrSoul7766's picture
mrSoul7766
Update README.md
313fa49 verified over 2 years ago
  • runs
    Training in progress, step 700 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.39 kB
    Update README.md over 2 years ago
  • config.json
    864 Bytes
    Upload GitForCausalLM over 2 years ago
  • generation_config.json
    141 Bytes
    Upload GitForCausalLM over 2 years ago
  • model.safetensors
    707 MB
    xet
    Upload GitForCausalLM over 2 years ago
  • preprocessor_config.json
    503 Bytes
    Upload processor over 2 years ago
  • special_tokens_map.json
    695 Bytes
    Upload processor over 2 years ago
  • tokenizer.json
    712 kB
    Upload processor over 2 years ago
  • tokenizer_config.json
    1.3 kB
    Upload processor over 2 years ago
  • training_args.bin

    Detected Pickle imports (8)

    • "accelerate.state.PartialState",
    • "transformers.trainer_utils.HubStrategy",
    • "transformers.trainer_utils.IntervalStrategy",
    • "torch.device",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.training_args.OptimizerNames",
    • "transformers.training_args.TrainingArguments",
    • "transformers.trainer_utils.SchedulerType"

    How to fix it?

    4.73 kB
    xet
    Training in progress, step 50 over 2 years ago
  • vocab.txt
    232 kB
    Upload processor over 2 years ago