Spaces:
Sleeping
Sleeping
app.py
CHANGED
@@ -22,11 +22,16 @@ stop_words = set(stopwords.words("english")).union(extra_stopwords)
|
|
22 |
|
23 |
# Model list
|
24 |
model_choices = {
|
|
|
25 |
"DistilBART CNN (sshleifer/distilbart-cnn-12-6)": "sshleifer/distilbart-cnn-12-6",
|
|
|
26 |
"T5 Small (t5-small)": "t5-small",
|
27 |
-
"T5 Base (t5-base)": "t5-base",
|
28 |
-
"
|
29 |
-
"
|
|
|
|
|
|
|
30 |
}
|
31 |
|
32 |
model_cache = {}
|
|
|
22 |
|
23 |
# Model list
|
24 |
model_choices = {
|
25 |
+
"T5 Base (t5-base)": "t5-base",
|
26 |
"DistilBART CNN (sshleifer/distilbart-cnn-12-6)": "sshleifer/distilbart-cnn-12-6",
|
27 |
+
"DistilBART XSum (sshleifer/distilbart-xsum-12-6)": "sshleifer/distilbart-xsum-12-6",
|
28 |
"T5 Small (t5-small)": "t5-small",
|
29 |
+
"Flan-T5 Base (google/flan-t5-base)": "google/flan-t5-base",
|
30 |
+
"BART Large CNN (facebook/bart-large-cnn)": "facebook/bart-large-cnn",
|
31 |
+
"PEGASUS XSum (google/pegasus-xsum)": "google/pegasus-xsum",
|
32 |
+
"BART Large XSum (facebook/bart-large-xsum)": "facebook/bart-large-xsum",
|
33 |
+
"DistilGPT-2 (distilgpt2)": "distilgpt2",
|
34 |
+
"BART Large SciTLDR (facebook/bart-large-scitldr)": "facebook/bart-large-scitldr"
|
35 |
}
|
36 |
|
37 |
model_cache = {}
|