Mizuiro-sakura commited on
Commit
ee8ab93
1 Parent(s): 30cd0bc

Update Mymodel_luke_pn.py

Browse files
Files changed (1) hide show
  1. Mymodel_luke_pn.py +1 -1
Mymodel_luke_pn.py CHANGED
@@ -3,7 +3,7 @@ from transformers import MLukeTokenizer
3
  from torch import nn
4
 
5
  tokenizer = MLukeTokenizer.from_pretrained('studio-ousia/luke-japanese-base-lite')
6
- model = torch.load('C:\\Users\\tomot\\desktop\\Python\\My_luke_model_pn.pth')
7
 
8
  text=input()
9
 
 
3
  from torch import nn
4
 
5
  tokenizer = MLukeTokenizer.from_pretrained('studio-ousia/luke-japanese-base-lite')
6
+ model = torch.load('C:\\[modelのあるディレクトリ]\\My_luke_model_pn.pth')
7
 
8
  text=input()
9