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