minhdang commited on
Commit
56627ea
·
verified ·
1 Parent(s): bcdb6a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,8 +17,8 @@ MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
17
 
18
  DESCROPTION="""CODE"""
19
 
20
- model_id = "deepseek-ai/deepseek-coder-33b-instruct"
21
- model = AutoModelForCausalLM.from_pretrained(model_id,load_in_4bit=True,device_map="auto")
22
  tokenizer=AutoTokenizer.from_pretrained(model_id)
23
  tokenizer.use_defaul_system_prompt=True
24
 
 
17
 
18
  DESCROPTION="""CODE"""
19
 
20
+ model_id = "deepseek-ai/deepseek-coder-7b-instruct-v1.5"
21
+ model = AutoModelForCausalLM.from_pretrained(model_id,device_map="auto")
22
  tokenizer=AutoTokenizer.from_pretrained(model_id)
23
  tokenizer.use_defaul_system_prompt=True
24