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
107 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
manu02's picture
manu02
Remove unused bundled backbone weights to reduce download size
7f11db1 verified 3 months ago
  • __pycache__
    Remove unused bundled backbone weights to reduce download size 3 months ago
  • __init__.py
    0 Bytes
    Publish arXiv paper checkpoint package 3 months ago
  • complete_model.py
    21.5 kB
    Remove unused bundled backbone weights to reduce download size 3 months ago
  • layer_mask.py
    7.9 kB
    Publish arXiv paper checkpoint package 3 months ago
  • modifiedGPT2.py
    35.9 kB
    Remove unused bundled backbone weights to reduce download size 3 months ago
  • processing.py
    810 Bytes
    Publish arXiv paper checkpoint package 3 months ago