Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,8 +22,9 @@ def get_model():
|
|
22 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/MediumInformalToFormalLincoln4")
|
23 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints2")
|
24 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints3")
|
25 |
-
model = AutoModelForCausalLM.from_pretrained("facebook/opt-125m")
|
26 |
-
|
|
|
27 |
return model, tokenizer
|
28 |
|
29 |
model, tokenizer = get_model()
|
|
|
22 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/MediumInformalToFormalLincoln4")
|
23 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints2")
|
24 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints3")
|
25 |
+
#model = AutoModelForCausalLM.from_pretrained("facebook/opt-125m")
|
26 |
+
model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln41")
|
27 |
+
tokenizer = AutoTokenizer.from_pretrained("gpt2")
|
28 |
return model, tokenizer
|
29 |
|
30 |
model, tokenizer = get_model()
|