Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ if not torch.cuda.is_available():
|
|
25 |
|
26 |
|
27 |
if torch.cuda.is_available():
|
28 |
-
model_id = "deepseek-ai/deepseek-coder-
|
29 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto")
|
30 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
31 |
tokenizer.use_default_system_prompt = False
|
|
|
25 |
|
26 |
|
27 |
if torch.cuda.is_available():
|
28 |
+
model_id = "deepseek-ai/deepseek-coder-7b-instruct-v1.5"
|
29 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto")
|
30 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
31 |
tokenizer.use_default_system_prompt = False
|