pere commited on
Commit
87a44f6
1 Parent(s): 8080ccc

copied model from Norwegian

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ if 'textbox' not in st.session_state:
8
 
9
  @st.cache(allow_output_mutation=True, suppress_st_warning=True)
10
  def load_model():
11
- model_name = "pere/multi-sentencefix-mt5"
12
  config = T5Config.from_pretrained(model_name)
13
  model = T5ForConditionalGeneration.from_pretrained(model_name,config=config)
14
  tokenizer = T5TokenizerFast.from_pretrained(model_name)
 
8
 
9
  @st.cache(allow_output_mutation=True, suppress_st_warning=True)
10
  def load_model():
11
+ model_name = "pere/multi-sentencefix-mt5-large"
12
  config = T5Config.from_pretrained(model_name)
13
  model = T5ForConditionalGeneration.from_pretrained(model_name,config=config)
14
  tokenizer = T5TokenizerFast.from_pretrained(model_name)