sapthesh commited on
Commit
d854425
Β·
verified Β·
1 Parent(s): 55b6ce3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
  from custom_model import CustomModel
5
 
6
  # Load the model and tokenizer
7
- model_name = "deepseek-ai/DeepSeek-V3"
8
  tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
9
  config = AutoConfig.from_pretrained(model_name, trust_remote_code=True)
10
  model = CustomModel.from_pretrained(model_name, config=config, trust_remote_code=True)
 
4
  from custom_model import CustomModel
5
 
6
  # Load the model and tokenizer
7
+ model_name = "deepseek-ai/DeepSeek-V3@main" # Pin a specific revision, e.g., "main"
8
  tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
9
  config = AutoConfig.from_pretrained(model_name, trust_remote_code=True)
10
  model = CustomModel.from_pretrained(model_name, config=config, trust_remote_code=True)