Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Samuela39
/
my-samsum-model

Summarization
Transformers
Safetensors
bart
feature-extraction
Model card Files Files and versions
xet
Community

Instructions to use Samuela39/my-samsum-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Samuela39/my-samsum-model 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="Samuela39/my-samsum-model")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("Samuela39/my-samsum-model")
    model = AutoModel.from_pretrained("Samuela39/my-samsum-model")
  • Notebooks
  • Google Colab
  • Kaggle
my-samsum-model
1.63 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Samuela39's picture
Samuela39
Update README.md
d742a82 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    5.19 kB
    Update README.md about 2 years ago
  • config.json
    1.63 kB
    Upload model about 2 years ago
  • merges.txt
    456 kB
    Upload tokenizer about 2 years ago
  • model.safetensors
    1.63 GB
    xet
    Upload model about 2 years ago
  • special_tokens_map.json
    279 Bytes
    Upload tokenizer about 2 years ago
  • tokenizer.json
    2.11 MB
    Upload tokenizer about 2 years ago
  • tokenizer_config.json
    1.21 kB
    Upload tokenizer about 2 years ago
  • vocab.json
    798 kB
    Upload tokenizer about 2 years ago