Cicciokr commited on
Commit
1f69fb9
·
verified ·
1 Parent(s): c2944ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -13,7 +13,8 @@ st.write("Inserisci un testo con il token [MASK] per vedere le previsioni del mo
13
  input_text = st.text_input("Testo:", value="Lorem ipsum dolor sit amet, [MASK] adipiscing elit.")
14
 
15
  #modelname = "./models/latin_bert/"
16
- modelname = "LuisAVasquez/simple-latin-bert-uncased"
 
17
  tokenizer = AutoTokenizer.from_pretrained(modelname)
18
  model = AutoModelForMaskedLM.from_pretrained(modelname)
19
  # Creare un pipeline di riempimento maschere
 
13
  input_text = st.text_input("Testo:", value="Lorem ipsum dolor sit amet, [MASK] adipiscing elit.")
14
 
15
  #modelname = "./models/latin_bert/"
16
+ #modelname = "LuisAVasquez/simple-latin-bert-uncased"
17
+ modelname = "./models/bert-base-latin-uncased"
18
  tokenizer = AutoTokenizer.from_pretrained(modelname)
19
  model = AutoModelForMaskedLM.from_pretrained(modelname)
20
  # Creare un pipeline di riempimento maschere