Summarization
Transformers
Safetensors
Russian
mt5
text2text-generation
summarizer
text-generation-inference
Instructions to use sarahai/ru-sum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sarahai/ru-sum 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="sarahai/ru-sum")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("sarahai/ru-sum") model = AutoModelForSeq2SeqLM.from_pretrained("sarahai/ru-sum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download scheduler.pt from sarahai/ru-sum: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/sarahai/ru-sum/resolve/main/scheduler.pt
- Command line
-
hf download hf://sarahai/ru-sum/scheduler.pt
-
curl -L -o scheduler.pt https://huggingface.co/sarahai/ru-sum/resolve/main/scheduler.pt
1.06 kB
- Xet hash:
- ef4aaad0b7f41d3ee57419ad2cdc8fddb67313bb07150c9a0994a830bdd391b9
- Size of remote file:
- 1.06 kB
- SHA256:
- 78a31e599e11f73da22358795800188f7e68590868f10f5e2a7ffe66ccd347c3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.