Summarization
Transformers
PyTorch
Safetensors
Russian
English
mbart
text2text-generation
dialogue-summarization
mbart-50
Instructions to use d0rj/ru-mbart-large-summ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use d0rj/ru-mbart-large-summ 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="d0rj/ru-mbart-large-summ")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("d0rj/ru-mbart-large-summ") model = AutoModelForSeq2SeqLM.from_pretrained("d0rj/ru-mbart-large-summ", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
3c4b430
1
Parent(s): 788fee7
Adding `safetensors` variant of this model (#1)
Browse files- Adding `safetensors` variant of this model (58e8c0086d4bdc7168637622f7e9abfc187cfc2f)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b67b2240e03467218c117bbf72a5302e1b823187b186a667f860d06cc744bf0e
|
| 3 |
+
size 1518827380
|