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

  • Log In
  • Sign Up

IlyaGusev
/
rubert_telegram_headlines

Summarization
Transformers
PyTorch
Russian
encoder-decoder
text2text-generation
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use IlyaGusev/rubert_telegram_headlines 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="IlyaGusev/rubert_telegram_headlines")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("IlyaGusev/rubert_telegram_headlines")
    model = AutoModelForSeq2SeqLM.from_pretrained("IlyaGusev/rubert_telegram_headlines")
  • Notebooks
  • Google Colab
  • Kaggle
rubert_telegram_headlines
1.54 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 15 commits
IlyaGusev's picture
IlyaGusev
Update README.md
606eae9 almost 4 years ago
  • .gitattributes
    790 Bytes
    Model files about 5 years ago
  • README.md
    5.64 kB
    Update README.md almost 4 years ago
  • config.json
    4.01 kB
    Model files about 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    1.54 GB
    xet
    Model files about 5 years ago
  • tokenizer_config.json
    76 Bytes
    Create tokenizer_config.json over 4 years ago
  • vocab.txt
    1.65 MB
    xet
    Model files about 5 years ago