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

  • Log In
  • Sign Up

AyoubChLin
/
test-summarizer

Summarization
Transformers
PyTorch
Safetensors
English
bart
text2text-generation
Trained with AutoTrain
Model card Files Files and versions
xet
Community
1

Instructions to use AyoubChLin/test-summarizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use AyoubChLin/test-summarizer 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="AyoubChLin/test-summarizer")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("AyoubChLin/test-summarizer")
    model = AutoModelForSeq2SeqLM.from_pretrained("AyoubChLin/test-summarizer")
  • Notebooks
  • Google Colab
  • Kaggle
test-summarizer
3.25 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
AyoubChLin's picture
AyoubChLin
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
7ae6b66 over 2 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.7 kB
    Commit From AutoTrain about 3 years ago
  • merges.txt
    456 kB
    Commit From AutoTrain about 3 years ago
  • model.safetensors
    1.63 GB
    xet
    Adding `safetensors` variant of this model (#1) over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.63 GB
    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
    375 Bytes
    Commit From AutoTrain about 3 years ago
  • vocab.json
    798 kB
    Commit From AutoTrain about 3 years ago