fragata commited on
Commit
1565bee
1 Parent(s): 9e16e63

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -0
README.md CHANGED
@@ -63,6 +63,14 @@ For further details, see or [our demo site](https://juniper.nytud.hu/demo/nlp).
63
  | mT5 | 33.30/15.97/24.65 |
64
  | PEGASUS | 30.36/13.11/21.57 |
65
 
 
 
 
 
 
 
 
 
66
  ## Citation
67
  If you use this model, please cite the following paper:
68
 
 
63
  | mT5 | 33.30/15.97/24.65 |
64
  | PEGASUS | 30.36/13.11/21.57 |
65
 
66
+ ```python
67
+ from transformers import pipeline
68
+
69
+ summarization = pipeline(task="summarization", model="NYTK/summarization-hi-mbart-large-50-hungarian")
70
+
71
+ print(summarization(input_text)[0]["summary_text"])
72
+ ```
73
+
74
  ## Citation
75
  If you use this model, please cite the following paper:
76