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

  • Log In
  • Sign Up

RoshanAdhithya
/
bart-4-final

Summarization
Transformers
PyTorch
Enawené-Nawé
bart
text2text-generation
Trained with AutoTrain
Model card Files Files and versions
xet
Community
1

Instructions to use RoshanAdhithya/bart-4-final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use RoshanAdhithya/bart-4-final 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="RoshanAdhithya/bart-4-final")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("RoshanAdhithya/bart-4-final")
    model = AutoModelForSeq2SeqLM.from_pretrained("RoshanAdhithya/bart-4-final")
  • Notebooks
  • Google Colab
  • Kaggle
bart-4-final
561 MB
Ctrl+K
Ctrl+K
History: 2 commits
system's picture
system HF Staff
Commit From AutoTrain
06b3fc2 about 3 years ago
  • .gitattributes
    1.62 kB
    Commit From AutoTrain about 3 years ago
  • README.md
    725 Bytes
    Commit From AutoTrain about 3 years ago
  • config.json
    1.73 kB
    Commit From AutoTrain about 3 years ago
  • generation_config.json
    262 Bytes
    Commit From AutoTrain about 3 years ago
  • merges.txt
    456 kB
    Commit From AutoTrain about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    558 MB
    xet
    Commit From AutoTrain about 3 years ago
  • special_tokens_map.json
    280 Bytes
    Commit From AutoTrain about 3 years ago
  • tokenizer.json
    2.11 MB
    xet
    Commit From AutoTrain about 3 years ago
  • tokenizer_config.json
    349 Bytes
    Commit From AutoTrain about 3 years ago
  • vocab.json
    798 kB
    Commit From AutoTrain about 3 years ago