nafisehNik commited on
Commit
ba5b25f
1 Parent(s): 57531a4

change tokenizer

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("google/mt5-small")
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