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

  • Log In
  • Sign Up

Cohee
/
bart-factbook-summarization

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

Instructions to use Cohee/bart-factbook-summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Cohee/bart-factbook-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="Cohee/bart-factbook-summarization")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Cohee/bart-factbook-summarization")
    model = AutoModelForSeq2SeqLM.from_pretrained("Cohee/bart-factbook-summarization")
  • Notebooks
  • Google Colab
  • Kaggle
bart-factbook-summarization
3.25 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Cohee's picture
Cohee
Update README.md
65538d4 over 2 years ago
  • .gitattributes
    1.66 kB
    Commit From AutoTrain over 2 years ago
  • README.md
    727 Bytes
    Update README.md over 2 years ago
  • config.json
    1.77 kB
    Commit From AutoTrain over 2 years ago
  • generation_config.json
    274 Bytes
    Commit From AutoTrain over 2 years ago
  • merges.txt
    456 kB
    Commit From AutoTrain over 2 years ago
  • model.safetensors
    1.63 GB
    xet
    Commit From AutoTrain over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.63 GB
    xet
    Commit From AutoTrain over 2 years ago
  • special_tokens_map.json
    280 Bytes
    Commit From AutoTrain over 2 years ago
  • tokenizer.json
    2.11 MB
    xet
    Commit From AutoTrain over 2 years ago
  • tokenizer_config.json
    349 Bytes
    Commit From AutoTrain over 2 years ago
  • vocab.json
    798 kB
    Commit From AutoTrain over 2 years ago