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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

sarakolding
/
daT5-summariser

Summarization
Transformers
PyTorch
Safetensors
Danish
mt5
text2text-generation
Model card Files Files and versions
xet
Community
2

Instructions to use sarakolding/daT5-summariser with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use sarakolding/daT5-summariser 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="sarakolding/daT5-summariser")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("sarakolding/daT5-summariser")
    model = AutoModelForSeq2SeqLM.from_pretrained("sarakolding/daT5-summariser", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
daT5-summariser
3.91 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 7 commits
sarakolding's picture
sarakolding
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#2)
fc01f28 about 3 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#2) about 3 years ago
  • README.md
    4.24 kB
    New text for readme (#1) about 4 years ago
  • config.json
    892 Bytes
    initial commit about 4 years ago
  • model.safetensors
    977 MB
    xet
    Adding `safetensors` variant of this model (#2) about 3 years ago
  • optimizer.pt
    1.95 GB
    xet
    initial commit about 4 years ago
  • pytorch_model.bin
    977 MB
    xet
    initial commit about 4 years ago
  • rng_state.pth
    14.5 kB
    xet
    initial commit about 4 years ago
  • scaler.pt
    559 Bytes
    xet
    initial commit about 4 years ago
  • scheduler.pt
    623 Bytes
    xet
    initial commit about 4 years ago
  • special_tokens_map.json
    65 Bytes
    initial commit about 4 years ago
  • spiece.model
    767 kB
    xet
    initial commit about 4 years ago
  • tokenizer.json
    2.21 MB
    initial commit about 4 years ago
  • tokenizer_config.json
    419 Bytes
    initial commit about 4 years ago
  • trainer_state.json
    11.7 kB
    initial commit about 4 years ago
  • training_args.bin
    3.38 kB
    xet
    initial commit about 4 years ago