Spaces:
Runtime error
Runtime error
tok
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ 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(
|
8 |
tokenizer.pad_token = tokenizer.eos_token
|
9 |
|
10 |
|
|
|
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(model_name)
|
8 |
tokenizer.pad_token = tokenizer.eos_token
|
9 |
|
10 |
|