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

sambydlo
/
bart-large-scientific-lay-summarisation

Summarization
Transformers
PyTorch
English
bart
text2text-generation
sagemaker
Eval Results (legacy)
Model card Files Files and versions
xet
Community
1

Instructions to use sambydlo/bart-large-scientific-lay-summarisation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use sambydlo/bart-large-scientific-lay-summarisation 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="sambydlo/bart-large-scientific-lay-summarisation")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("sambydlo/bart-large-scientific-lay-summarisation")
    model = AutoModelForSeq2SeqLM.from_pretrained("sambydlo/bart-large-scientific-lay-summarisation")
  • Notebooks
  • Google Colab
  • Kaggle
bart-large-scientific-lay-summarisation
1.63 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
EC2 Default User
updating training dataset in model card
c32a6bc about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    3.8 kB
    updating training dataset in model card about 3 years ago
  • config.json
    1.71 kB
    initial upload about 3 years ago
  • generation_config.json
    292 Bytes
    initial upload about 3 years ago
  • merges.txt
    456 kB
    initial upload about 3 years ago
  • pytorch_model.bin
    1.63 GB
    xet
    initial upload about 3 years ago
  • special_tokens_map.json
    280 Bytes
    initial upload about 3 years ago
  • tokenizer.json
    2.11 MB
    initial upload about 3 years ago
  • tokenizer_config.json
    385 Bytes
    initial upload about 3 years ago
  • training_args.bin
    3.71 kB
    xet
    initial upload about 3 years ago
  • vocab.json
    798 kB
    initial upload about 3 years ago