Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,8 @@ def get_model():
|
|
| 16 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/MediumInformalToFormalLincoln2")
|
| 17 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/MediumInformalToFormalLincoln3")
|
| 18 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints2")
|
| 19 |
-
model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints3")
|
|
|
|
| 20 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/Points2")
|
| 21 |
return model, tokenizer
|
| 22 |
|
|
|
|
| 16 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/MediumInformalToFormalLincoln2")
|
| 17 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/MediumInformalToFormalLincoln3")
|
| 18 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints2")
|
| 19 |
+
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints3")
|
| 20 |
+
model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln40")
|
| 21 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/Points2")
|
| 22 |
return model, tokenizer
|
| 23 |
|