Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,7 @@ number_of_outputs = st.sidebar.slider("Number of Outputs", 50, 350)
|
|
13 |
|
14 |
@st.cache(allow_output_mutation=True)
|
15 |
def get_model():
|
|
|
16 |
#model = #AutoModelWithLMHead.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln6")
|
17 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln5")
|
18 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln4")
|
@@ -34,7 +35,7 @@ def get_model():
|
|
34 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints")
|
35 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/Points4")
|
36 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/GPT2Neo1.3BPoints")
|
37 |
-
model = AutoModelForCausalLM.from_pretrained("BigSalmon/
|
38 |
return model, tokenizer
|
39 |
|
40 |
model, tokenizer = get_model()
|
|
|
13 |
|
14 |
@st.cache(allow_output_mutation=True)
|
15 |
def get_model():
|
16 |
+
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPTNeo1.3BPointsLincolnFormalInformal")
|
17 |
#model = #AutoModelWithLMHead.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln6")
|
18 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln5")
|
19 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln4")
|
|
|
35 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints")
|
36 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/Points4")
|
37 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/GPT2Neo1.3BPoints")
|
38 |
+
model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints3")
|
39 |
return model, tokenizer
|
40 |
|
41 |
model, tokenizer = get_model()
|