Spaces:
Runtime error
Runtime error
Commit
Β·
516879c
1
Parent(s):
4811c8f
Update pages/2_π_Extractive_vs_Abstractive.py
Browse files
pages/2_π_Extractive_vs_Abstractive.py
CHANGED
@@ -36,8 +36,8 @@ def load_model():
|
|
36 |
model,tokenizer = load_model()
|
37 |
|
38 |
#run this the first time and use the local model for faster runtime
|
39 |
-
tokenizer.save_pretrained("local_pegasus-billsum_tokenizer")
|
40 |
-
model.save_pretrained("local_pegasus-billsum_tokenizer_model")
|
41 |
|
42 |
|
43 |
en_stopwords = nltk.corpus.stopwords.words('english')
|
|
|
36 |
model,tokenizer = load_model()
|
37 |
|
38 |
#run this the first time and use the local model for faster runtime
|
39 |
+
#tokenizer.save_pretrained("local_pegasus-billsum_tokenizer")
|
40 |
+
#model.save_pretrained("local_pegasus-billsum_tokenizer_model")
|
41 |
|
42 |
|
43 |
en_stopwords = nltk.corpus.stopwords.words('english')
|