Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
|
19 |
|
20 |
DESCRIPTION="""CODE"""
|
21 |
|
22 |
-
model_id = "deepseek-ai/deepseek-coder-
|
23 |
model = AutoModelForCausalLM.from_pretrained(model_id,device_map="auto",quantization_config=nf4_config)
|
24 |
tokenizer=AutoTokenizer.from_pretrained(model_id)
|
25 |
tokenizer.use_defaul_system_prompt=True
|
|
|
19 |
|
20 |
DESCRIPTION="""CODE"""
|
21 |
|
22 |
+
model_id = "deepseek-ai/deepseek-coder-33b-instruct"
|
23 |
model = AutoModelForCausalLM.from_pretrained(model_id,device_map="auto",quantization_config=nf4_config)
|
24 |
tokenizer=AutoTokenizer.from_pretrained(model_id)
|
25 |
tokenizer.use_defaul_system_prompt=True
|