Spaces:
Sleeping
Sleeping
acecalisto3
commited on
Commit
•
7b52226
1
Parent(s):
3b22078
Update code_generator.py
Browse files- code_generator.py +1 -1
code_generator.py
CHANGED
@@ -2,7 +2,7 @@ import transformers
|
|
2 |
|
3 |
def generate(idea):
|
4 |
# Load the code generation model
|
5 |
-
model_name = "
|
6 |
model = transformers.AutoModelForCausalLM.from_pretrained(model_name)
|
7 |
tokenizer = transformers.AutoTokenizer.from_pretrained(model_name)
|
8 |
|
|
|
2 |
|
3 |
def generate(idea):
|
4 |
# Load the code generation model
|
5 |
+
model_name = "PhiCo-D-Instruk"
|
6 |
model = transformers.AutoModelForCausalLM.from_pretrained(model_name)
|
7 |
tokenizer = transformers.AutoTokenizer.from_pretrained(model_name)
|
8 |
|