Spaces:
Runtime error
Runtime error
switch to 1.3B
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
|
3 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
4 |
|
5 |
-
model_name = "flax-community/gpt-code-clippy-
|
6 |
model = AutoModelForCausalLM.from_pretrained(model_name)
|
7 |
tokenizer = AutoTokenizer.from_pretrained("EleutherAI/gpt-neo-125M")
|
8 |
tokenizer.pad_token = tokenizer.eos_token
|
|
|
2 |
|
3 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
4 |
|
5 |
+
model_name = "flax-community/gpt-code-clippy-1.3B-apps-alldata-2"
|
6 |
model = AutoModelForCausalLM.from_pretrained(model_name)
|
7 |
tokenizer = AutoTokenizer.from_pretrained("EleutherAI/gpt-neo-125M")
|
8 |
tokenizer.pad_token = tokenizer.eos_token
|