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

Mbilal755
/
Radiology_Bart

Summarization
Transformers
PyTorch
Safetensors
English
bart
text2text-generation
medical
clinical
Radiology
Radiology Reports
Model card Files Files and versions
xet
Community
4

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

  • Libraries
  • Transformers

    How to use Mbilal755/Radiology_Bart with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "summarization" 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("summarization", model="Mbilal755/Radiology_Bart")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Mbilal755/Radiology_Bart")
    model = AutoModelForSeq2SeqLM.from_pretrained("Mbilal755/Radiology_Bart", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Radiology_Bart
3.55 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 18 commits
Mbilal755's picture
Mbilal755
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#3)
a8ee357 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 3 years ago
  • README.md
    4.54 kB
    Update README.md almost 3 years ago
  • config.json
    1.69 kB
    Upload 8 files about 3 years ago
  • merges.txt
    892 kB
    Upload 8 files about 3 years ago
  • model.safetensors
    1.77 GB
    xet
    Adding `safetensors` variant of this model (#2) about 3 years ago
  • pytorch_model.bin
    1.77 GB
    xet
    Upload 8 files about 3 years ago
  • special_tokens_map.json
    957 Bytes
    Upload 8 files about 3 years ago
  • tokenizer.json
    3.81 MB
    Upload 8 files about 3 years ago
  • tokenizer_config.json
    1.41 kB
    Upload 8 files about 3 years ago
  • training_args.bin
    3.64 kB
    xet
    Upload 8 files about 3 years ago
  • vocab.json
    1.42 MB
    Upload 8 files about 3 years ago