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

  • Log In
  • Sign Up

Nehc
/
mT5_ru_XLSum

Summarization
Transformers
Safetensors
Russian
English
t5
text2text-generation
dialogue-summarization
mT5
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use Nehc/mT5_ru_XLSum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Nehc/mT5_ru_XLSum 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="Nehc/mT5_ru_XLSum")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Nehc/mT5_ru_XLSum")
    model = AutoModelForSeq2SeqLM.from_pretrained("Nehc/mT5_ru_XLSum")
  • Notebooks
  • Google Colab
  • Kaggle
mT5_ru_XLSum
998 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
Nehc's picture
Nehc
Update README.md
5b1a657 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    9.79 kB
    Update README.md about 2 years ago
  • config.json
    913 Bytes
    Upload 7 files about 2 years ago
  • generation_config.json
    234 Bytes
    Upload 7 files about 2 years ago
  • model.safetensors
    994 MB
    xet
    Upload 7 files about 2 years ago
  • special_tokens_map.json
    416 Bytes
    Upload 7 files about 2 years ago
  • spiece.model
    876 kB
    xet
    Upload 7 files about 2 years ago
  • tokenizer.json
    2.45 MB
    Upload 7 files about 2 years ago
  • tokenizer_config.json
    833 Bytes
    Upload 7 files about 2 years ago