Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,15 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
-
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
# Model Card for mikemayuare/text-summarizer
|
|
@@ -67,4 +76,4 @@ summary_ids = model.generate(inputs['input_ids'], max_length=150, min_length=40,
|
|
| 67 |
|
| 68 |
# Decode the summary
|
| 69 |
summary = tokenizer.decode(summary_ids[0], skip_special_tokens=True)
|
| 70 |
-
print(summary)
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- text-summarization
|
| 5 |
+
- pegasus
|
| 6 |
+
- SAMSum
|
| 7 |
+
- seq2seq
|
| 8 |
+
license: mit
|
| 9 |
+
language:
|
| 10 |
+
- en
|
| 11 |
+
base_model:
|
| 12 |
+
- google/pegasus-cnn_dailymail
|
| 13 |
---
|
| 14 |
|
| 15 |
# Model Card for mikemayuare/text-summarizer
|
|
|
|
| 76 |
|
| 77 |
# Decode the summary
|
| 78 |
summary = tokenizer.decode(summary_ids[0], skip_special_tokens=True)
|
| 79 |
+
print(summary)
|