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

manu02
/
LAnA-Arxiv

Image-to-Text
Transformers
lana_arxiv
feature-extraction
medical-ai
radiology
chest-xray
report-generation
arxiv
legacy-model
custom_code
Model card Files Files and versions
xet
Community

Instructions to use manu02/LAnA-Arxiv with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use manu02/LAnA-Arxiv 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="manu02/LAnA-Arxiv", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("manu02/LAnA-Arxiv", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
LAnA-Arxiv / utils /__pycache__
41.1 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
manu02's picture
manu02
Remove unused bundled backbone weights to reduce download size
7f11db1 verified 3 months ago
  • __init__.cpython-310.pyc
    280 Bytes
    Remove unused bundled backbone weights to reduce download size 3 months ago
  • complete_model.cpython-310.pyc
    15.8 kB
    Remove unused bundled backbone weights to reduce download size 3 months ago
  • layer_mask.cpython-310.pyc
    5.71 kB
    Remove unused bundled backbone weights to reduce download size 3 months ago
  • modifiedGPT2.cpython-310.pyc
    19.3 kB
    Remove unused bundled backbone weights to reduce download size 3 months ago