Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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("
|
42 |
-
model = AutoModelForCausalLM.from_pretrained("
|
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()
|