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

swaroopajit
/
git-base-fashion

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

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

  • Libraries
  • Transformers

    How to use swaroopajit/git-base-fashion 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="swaroopajit/git-base-fashion")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoProcessor, AutoModelForMultimodalLM
    
    processor = AutoProcessor.from_pretrained("swaroopajit/git-base-fashion")
    model = AutoModelForMultimodalLM.from_pretrained("swaroopajit/git-base-fashion", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
git-base-fashion
1.41 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 21 commits
swaroopajit's picture
swaroopajit
Update README.md
b6cebb1 about 3 years ago
  • .gitattributes
    1.52 kB
    initial commit about 3 years ago
  • README.md
    1.14 kB
    Update README.md about 3 years ago
  • config.json
    859 Bytes
    End of training about 3 years ago
  • generation_config.json
    136 Bytes
    End of training about 3 years ago
  • model.safetensors
    707 MB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • preprocessor_config.json
    503 Bytes
    updated for 0.0008 loss about 3 years ago
  • pytorch_model.bin
    707 MB
    xet
    End of training about 3 years ago
  • special_tokens_map.json
    125 Bytes
    updated for 0.0008 loss about 3 years ago
  • tokenizer.json
    712 kB
    updated for 0.0008 loss about 3 years ago
  • tokenizer_config.json
    419 Bytes
    updated for 0.0008 loss about 3 years ago
  • training_args.bin
    4.03 kB
    xet
    End of training about 3 years ago
  • vocab.txt
    232 kB
    updated config files for 0.0008 training loss about 3 years ago