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

moxeeeem
/
dermlip-gpt2-captioner

Image-to-Text
Transformers
English
image-captioning
CLIP
GPT-2
dermatology
dermlip
Model card Files Files and versions
xet
Community

Instructions to use moxeeeem/dermlip-gpt2-captioner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use moxeeeem/dermlip-gpt2-captioner 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="moxeeeem/dermlip-gpt2-captioner")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("moxeeeem/dermlip-gpt2-captioner", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
dermlip-gpt2-captioner
5.08 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
moxeeeem's picture
moxeeeem
Upload loss_dermlip_vitb16.png with huggingface_hub
c29c59a verified 9 months ago
  • .gitattributes
    1.58 kB
    Upload loss_dermlip_vitb16.png with huggingface_hub 9 months ago
  • README.md
    2.64 kB
    Upload README.md with huggingface_hub 9 months ago
  • best_stageA.pt

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.69 GB
    xet
    Upload best_stageA.pt with huggingface_hub 9 months ago
  • best_stageB.pt

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.69 GB
    xet
    Upload best_stageB.pt with huggingface_hub 9 months ago
  • final_captioner_gpt2-medium_VisionTransformer.json
    849 Bytes
    Upload final_captioner_gpt2-medium_VisionTransformer.json with huggingface_hub 9 months ago
  • final_captioner_gpt2-medium_VisionTransformer.pt

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.69 GB
    xet
    Upload final_captioner_gpt2-medium_VisionTransformer.pt with huggingface_hub 9 months ago
  • inference_min.py
    10.7 kB
    Upload inference_min.py with huggingface_hub 9 months ago
  • loss_dermlip_vitb16.png
    113 kB
    xet
    Upload loss_dermlip_vitb16.png with huggingface_hub 9 months ago