3v324v23 commited on
Commit
bd46e3d
1 Parent(s): 4a8710c

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ if __name__ == '__main__':
13
 
14
  device = torch.device('cpu')
15
  config_path = os.path.join('models_file', 'config.pth')
16
- model_path = os.path.join('models_file', 'models_file\microsoft-deberta-base_0.9449373420387531_8_best.pth')
17
  tokenizer = AutoTokenizer.from_pretrained('models_file/tokenizer')
18
  model = CustomModel(CFG, config_path=config_path, pretrained=False)
19
  state = torch.load(model_path,
 
13
 
14
  device = torch.device('cpu')
15
  config_path = os.path.join('models_file', 'config.pth')
16
+ model_path = os.path.join('models_file', 'microsoft-deberta-base_0.9449373420387531_8_best.pth')
17
  tokenizer = AutoTokenizer.from_pretrained('models_file/tokenizer')
18
  model = CustomModel(CFG, config_path=config_path, pretrained=False)
19
  state = torch.load(model_path,