Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ if not torch.cuda.is_available():
|
|
33 |
|
34 |
|
35 |
if torch.cuda.is_available():
|
36 |
-
model_id = "deepseek-ai/DeepSeek-Coder-V2-Instruct"
|
37 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", load_in_4bit=True,trust_remote_code=True)
|
38 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
39 |
tokenizer.padding_side = 'right'
|
|
|
33 |
|
34 |
|
35 |
if torch.cuda.is_available():
|
36 |
+
model_id = "deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct"
|
37 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", load_in_4bit=True,trust_remote_code=True)
|
38 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
39 |
tokenizer.padding_side = 'right'
|