BigSalmon commited on
Commit
45a19ee
1 Parent(s): 4522a2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,8 +38,8 @@ def get_model():
38
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/Points4")
39
  #tokenizer = AutoTokenizer.from_pretrained("BigSalmon/TextbookInformalFormalEnglish")
40
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/TextbookInformalFormalEnglish")
41
- tokenizer = AutoTokenizer.from_pretrained("sberbank-ai/mGPT")
42
- model = AutoModelForCausalLM.from_pretrained("sberbank-ai/mGPT")
43
  return model, tokenizer
44
 
45
  model, tokenizer = get_model()
 
38
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/Points4")
39
  #tokenizer = AutoTokenizer.from_pretrained("BigSalmon/TextbookInformalFormalEnglish")
40
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/TextbookInformalFormalEnglish")
41
+ tokenizer = AutoTokenizer.from_pretrained("gpt2-xl")
42
+ model = AutoModelForCausalLM.from_pretrained("gpt2-xl")
43
  return model, tokenizer
44
 
45
  model, tokenizer = get_model()