Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

MikaSie
/
Longformer_BART_dependent_V1

Summarization
Transformers
Safetensors
English
bart
text2text-generation
abstractive
hybrid
multistep
Eval Results (legacy)
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use MikaSie/Longformer_BART_dependent_V1 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="MikaSie/Longformer_BART_dependent_V1")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("MikaSie/Longformer_BART_dependent_V1")
    model = AutoModelForSeq2SeqLM.from_pretrained("MikaSie/Longformer_BART_dependent_V1", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Longformer_BART_dependent_V1
1.63 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
MikaSie's picture
MikaSie
Upload README.md with huggingface_hub
2033629 verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    4.64 kB
    Upload README.md with huggingface_hub over 2 years ago
  • config.json
    1.71 kB
    End of training over 2 years ago
  • generation_config.json
    292 Bytes
    End of training over 2 years ago
  • merges.txt
    456 kB
    End of training over 2 years ago
  • model.safetensors
    1.63 GB
    xet
    End of training over 2 years ago
  • special_tokens_map.json
    279 Bytes
    End of training over 2 years ago
  • tokenizer.json
    2.11 MB
    End of training over 2 years ago
  • tokenizer_config.json
    1.21 kB
    End of training over 2 years ago
  • training_args.bin
    5.18 kB
    xet
    End of training over 2 years ago
  • vocab.json
    798 kB
    End of training over 2 years ago