Spaces:
Runtime error
Runtime error
nafisehNik
commited on
Commit
•
ba5b25f
1
Parent(s):
57531a4
change tokenizer
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ st.set_page_config(layout="wide", page_title="MT5 Persian Summary")
|
|
6 |
|
7 |
|
8 |
fine = AutoModelForSeq2SeqLM.from_pretrained('nafisehNik/mt5-persian-summary')
|
9 |
-
tokenizer = MT5Tokenizer.from_pretrained("
|
10 |
|
11 |
|
12 |
# method for summary generation, using the global model and tokenizer
|
|
|
6 |
|
7 |
|
8 |
fine = AutoModelForSeq2SeqLM.from_pretrained('nafisehNik/mt5-persian-summary')
|
9 |
+
tokenizer = MT5Tokenizer.from_pretrained("nafisehNik/mt5-persian-summary")
|
10 |
|
11 |
|
12 |
# method for summary generation, using the global model and tokenizer
|