Update app.py
Browse files
app.py
CHANGED
@@ -21,9 +21,8 @@ def get_model():
|
|
21 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln26")
|
22 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln27")
|
23 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln28")
|
24 |
-
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln29")
|
25 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln")
|
26 |
-
model = AutoModelWithLMHead.from_pretrained("BigSalmon/
|
27 |
model.to(device)
|
28 |
return model, tokenizer
|
29 |
|
|
|
21 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln26")
|
22 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln27")
|
23 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln28")
|
|
|
24 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln")
|
25 |
+
model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln29")
|
26 |
model.to(device)
|
27 |
return model, tokenizer
|
28 |
|