Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

yatharth97
/
BART-10K-summarization

Summarization
Transformers
Safetensors
bart
text2text-generation
Generated from Trainer
finance
Model card Files Files and versions
xet
Community

Instructions to use yatharth97/BART-10K-summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use yatharth97/BART-10K-summarization 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="yatharth97/BART-10K-summarization")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("yatharth97/BART-10K-summarization")
    model = AutoModelForSeq2SeqLM.from_pretrained("yatharth97/BART-10K-summarization")
  • Notebooks
  • Google Colab
  • Kaggle
BART-10K-summarization
559 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
yatharth97's picture
yatharth97
Update README.md
e54c66f verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    1.36 kB
    Update README.md almost 2 years ago
  • config.json
    1.78 kB
    Commit message describing the changes made about 2 years ago
  • generation_config.json
    292 Bytes
    Commit message describing the changes made about 2 years ago
  • merges.txt
    456 kB
    Commit message describing the changes made about 2 years ago
  • model.safetensors
    558 MB
    xet
    Commit message describing the changes made about 2 years ago
  • special_tokens_map.json
    957 Bytes
    Commit message describing the changes made about 2 years ago
  • tokenizer_config.json
    1.22 kB
    Commit message describing the changes made about 2 years ago
  • training_args.bin

    Detected Pickle imports (9)

    • "transformers.training_args.TrainingArguments",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.training_args.OptimizerNames",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.trainer_pt_utils.AcceleratorConfig",
    • "transformers.trainer_utils.SchedulerType",
    • "torch.device",
    • "accelerate.state.PartialState",
    • "transformers.trainer_utils.HubStrategy"

    How to fix it?

    5.05 kB
    xet
    Commit message describing the changes made about 2 years ago
  • vocab.json
    999 kB
    Commit message describing the changes made about 2 years ago