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

Molkaatb
/
ChestX

Image-to-Text
Transformers
Safetensors
English
vision-encoder-decoder
image-text-to-text
vision
text-generation
medical
chest-xray
healthcare
multimodal
Model card Files Files and versions
xet
Community

Instructions to use Molkaatb/ChestX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Molkaatb/ChestX 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="Molkaatb/ChestX")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForImageTextToText
    
    tokenizer = AutoTokenizer.from_pretrained("Molkaatb/ChestX")
    model = AutoModelForImageTextToText.from_pretrained("Molkaatb/ChestX")
  • Notebooks
  • Google Colab
  • Kaggle
ChestX
960 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
Molkaatb's picture
Molkaatb
Update README.md
dacc61c verified 9 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    1.93 kB
    Update README.md 9 months ago
  • config.json
    4.86 kB
    Upload model about 2 years ago
  • generation_config.json
    197 Bytes
    Upload model about 2 years ago
  • merges.txt
    456 kB
    Upload tokenizer about 2 years ago
  • model.safetensors
    957 MB
    xet
    Upload model about 2 years ago
  • preprocessor_config.json
    228 Bytes
    Upload preprocessor_config.json about 2 years ago
  • special_tokens_map.json
    131 Bytes
    Upload tokenizer about 2 years ago
  • tokenizer.json
    2.11 MB
    Upload tokenizer about 2 years ago
  • tokenizer_config.json
    476 Bytes
    Upload tokenizer about 2 years ago
  • vocab.json
    798 kB
    Upload tokenizer about 2 years ago