Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,9 +6,10 @@ first = """informal english: corn fields are all across illinois, visible once y
|
|
6 |
|
7 |
@st.cache(allow_output_mutation=True)
|
8 |
def get_model():
|
9 |
-
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln21")
|
10 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln2")
|
11 |
-
model = AutoModelForCausalLM.from_pretrained("BigSalmon/
|
|
|
|
|
12 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/Points2")
|
13 |
return model, tokenizer
|
14 |
|
|
|
6 |
|
7 |
@st.cache(allow_output_mutation=True)
|
8 |
def get_model():
|
|
|
9 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln2")
|
10 |
+
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln21")
|
11 |
+
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/Points3")
|
12 |
+
model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln28")
|
13 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/Points2")
|
14 |
return model, tokenizer
|
15 |
|