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

wangjin2000
/
git-base-finetune-Aug142023_03

Image-to-Text
Transformers
PyTorch
git
image-text-to-text
Model card Files Files and versions
xet
Community
1

Instructions to use wangjin2000/git-base-finetune-Aug142023_03 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use wangjin2000/git-base-finetune-Aug142023_03 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="wangjin2000/git-base-finetune-Aug142023_03")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForImageTextToText
    
    processor = AutoProcessor.from_pretrained("wangjin2000/git-base-finetune-Aug142023_03")
    model = AutoModelForImageTextToText.from_pretrained("wangjin2000/git-base-finetune-Aug142023_03")
  • Notebooks
  • Google Colab
  • Kaggle
git-base-finetune-Aug142023_03
Ctrl+K
Ctrl+K
  • 1 contributor
History: 56 commits
wangjin2000's picture
wangjin2000
Create README.md
0fe136e almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • .gitignore
    13 Bytes
    Training in progress, epoch 0 almost 3 years ago
  • README.md
    5.22 kB
    Create README.md almost 3 years ago
  • config.json
    2.9 kB
    Training in progress, epoch 0 almost 3 years ago
  • preprocessor_config.json
    503 Bytes
    copy from pretrained model. almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    707 MB
    xet
    Training in progress, epoch 48 almost 3 years ago
  • special_tokens_map.json
    125 Bytes
    copy from pretrained model. almost 3 years ago
  • tokenizer.json
    711 kB
    copy from pretrained model. almost 3 years ago
  • tokenizer_config.json
    453 Bytes
    copy from pretrained model. almost 3 years ago
  • training_args.bin

    Detected Pickle imports (8)

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

    How to fix it?

    4.09 kB
    xet
    Training in progress, epoch 0 almost 3 years ago
  • vocab.txt
    232 kB
    copy from pretrained model. almost 3 years ago